how to hide my open ports
hi! is there a way to hide my open ports if someone try to port scan my server??? and how do i stop my computer in replying to ping and traceroute??? thks in adv:)
|
Do a search for "close ports" and you'll find about 10-15 threads in the past week on this very subject, on just about every distro. Hey, I think I had a thread about it myself two weeks back.
http://www.linuxquestions.org/questi...threadid=66796 |
Poetics... thks! a lot;) but how do i stop my computer in replying to ping and traceroute???
|
to top it from replying from anything just do this:
iptables -P INPUT REJECT iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT you wont be able to run a server with that configuration but you cant be pinged that way. if you want to run a server (like apache) then you would want a port scan to reveal port 80 being open....otherwise no one would know u were running a web server and whats the point of running one that you cant connect to...(unless u didnt want anyone to be able to connect to it of course...like for dev. purposes i guess). |
use a firewall (iptables) to filter your trafic :)
some nice options of iptables like -j REJECT --reject-with tcp-reset will show your port as closed even for a good port scanner. |
All times are GMT -5. The time now is 03:56 PM. |