Pinging EC2 instances [closed] - amazon-ec2

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm new to managing EC2 instances. I have created one, and I can run it and remotely login with Windows Remote Desktop. I can ping external servers from inside my instance, but I cannot ping the instance from my machine using its DNS public name.
I guess I'm doing something wrong with security groups.
Any thoughts anybody?

To ping an EC2 instance, you need to allow ICMP traffic in the instance's security group.

As far as I am aware, Amazon is blocking ICMP (ping) requests. If you want to perform some sort of "is it up" request you may want to implement some other routine like a web based "ping" page; just have it display the time when you hit it.

Related

How do I have my lambda functions make outbound requests from a static IP? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I've seen plenty saying I need to setup a VPC and NAT but there's no guide I can find that covers exactly how to do that.
I have no experience with VPC, so it's all pretty confusing. I tried following http://techblog.financialengines.com/2016/09/26/aws-lambdas-with-a-static-outgoing-ip/ but it didn't work...
NB: the service we have to send data to requires IP whitelisting, that's why we're going through this process.
Edit: the issue with the NAT gateway I setup is that my lambda function can no longer make any outbound connections
Following this guide worked after some debugging.
The mistake I had made was pointing the lambda at the public subnet not the private subnet.

Windows Routing table of disconnected Interfaces? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I need to get the routing table for disconnected interfaces on Windows.
To give you a little background why:
Im using OpenVPN. OpenVPN will setup several routes after the TAP adapter is online.
If the OpenVPN crashes or the User just kills OpenVPN, these routes won't be deleted by OpenVPN.
And because the TAP adapter will be disconnected after this, route print wont show any route for the adapter. But the next time the TAP adapter comes up the old routes are active again. For several reasons like multiple tap adapters, IP ranges and so on its hard to build heuristics to detect old routes, so it would be great i there was some way to see and delete routes for a disconnected Interface.
You may try this command:
netsh interface ipv4 show route
There might be some information that you needed.

Block IP/Domain using powershell [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to block a ip address and website using powershell in windows 7 ?
Hosts file is not an option for me as I want to block IP address so that windows cant connect to that website.
Thanks.
I do not think that is possible, but I know you can use the firewall in Windows 7 to block outgoing connections to an IP address. Create an outgoing rule (I think the Port type will work) and once completed go to properties and on the Scope tab enter the remove IP address that you want blocked. The Action must be set to "Block the connection".
You can block for all ports or selected list of ports. For eample, you can block port 80 for HTTP traffic while still allowing other traffic to pass.

Ping and remote commands not working between two windows computers [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have two computers. One is a old windows vista named orla-pc and the other is a new windows 7 named homelaptop-hp If i run command prompt on orla-pc and type
ping homelaptop-hp
The ping sends out four packets, but does not receive any from homelaptop-hp. The same thing happens when pinging from homelaptop-hp to orla-pc, it sends packets but doesn't receive them. I tried the command tracert (to trace my ping's route) and the result is:
* * * Request timed out
What should i do to get remote commands working?
are you sure that the pc has the IP 10.0.0.4?
do you have a DHCP Server running?
are both in the same subnet mask?
try to look with the cmd command "arp -a" if the pc has a entry in the ARP-Table
Maybe your router or a firewall blocks ICMP packets?
can you ping your router?
greetings

How to use proxy from my computer in oder to ping a website? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have a non-static ip in my computer. But i want to use C# to write a program which ping a website through a proxy.
I collected 11 000 proxy in the world and i made a loop from 1 to 11 000. But:
When I ping a website, it uses my ip in computer instead of a proxy with its port.
I tried to make a tracert from a proxy to the website. It's ok. The problem is: Tracert is difference from ping.
Total, I mean that I want to make a loop from 1 to 11 000 with proxies and its port. then with a proxy, it will ping to the website.
It's like DoS.
hmm well you will need to connect to the proxy servers but the question is why do you want to connect to 11000 servers and ping?
My guess is nothing thats legal

Resources