Block IP/Domain using powershell [closed] - windows

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.

Related

Cant Port forward in Dlink DIR 600M [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have a dlink router..Dlink DIR 600M...I am trying to port forward 1337 and 1334 through my router and opened listener but after enable i checked canyouseeme.org but theres no port opened..i have a cable net connection...my wan ip and public ip is different.
If your WAN IP address and your Public IP addresses are different, you will need to be sure that you first port forward from the public-facing router to your D-Link router. If you do not have access to your public facing router (as is the case with my current network setup), then this port forwarding is not possible.
I have a DIR-651, and there are check boxes next to all the Port Forwarding rules. Make sure those are checked. I've wasted hours of troubleshooting because one of the boxes wasn't checked and saved.
Finally, make sure that you have a server running on the correct IP address and port that you specified on your router. Also, make sure that your firewall is disabled on those ports. If your server isn't configured to respond on those ports, then canyouseeme.org will not respond that those ports are open.

FTP Connect Error remote host did not respond [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
I keep on getting this message while trying to move files from one server to another.
ftp: connect: A remote host did not respond within the timeout period.
What could be the cause and how could I fix it?
Thank you!!!
Check the server firewall
Check open ports
Check if the server or network is busy
Check the timeout specified at the server

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

Pinging EC2 instances [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'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.

Resources