Ip Tables (linux)

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters

Locked
unr
Posts: 7
Joined: Tue Mar 08, 2005 2:28 am
Location: OnTheDarkSideOfTheMoon

Ip Tables (linux)

Post by unr »

how to make i Close the PING to my PC?
i don't work with IpTables and sorry for a fool question..


(p.s. sorry for my english)
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

I suggest posting in your own language in the International forum section.

Because what you wrote doesn't make much sense ;).
unr
Posts: 7
Joined: Tue Mar 08, 2005 2:28 am
Location: OnTheDarkSideOfTheMoon

Post by unr »

sorry dude but "my english" had not very good....whatever...i want to Close\Restrict the command PING on my IP Adress ... example - root console - ping ip ...do you know what i mean? and do you want to help me? :]
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Oh.. I forgot you were talking about iptables, ehm...

Code: Select all

iptables -I INPUT -s 0/0 -d 0/0 -p icmp --icmp-type echo-request -j REJECT
but actually I suggest using the "block everything except related traffic, and allow certain ports" aproach... that's much more secure and it's a neat iptables feature (ipchains didn't have it).
But I'm not going to help you with that, just google.. I'm sure there are plenty of easy firewall scripts ;)
unr
Posts: 7
Joined: Tue Mar 08, 2005 2:28 am
Location: OnTheDarkSideOfTheMoon

Post by unr »

oo dude....thank's a lot..now i Invisible :P ...close all open ports and close the ping... thank's again! now delete the Topic...


p.s. sorry for my english....
I Respect Unrealircd Team!
Shelluser
Posts: 38
Joined: Tue Feb 01, 2005 8:30 pm
Location: The Netherlands
Contact:

Post by Shelluser »

unr wrote:oo dude....thank's a lot..now i Invisible :P ...close all open ports and close the ping... thank's again! now delete the Topic...
Yeah. There is one thing I can't help wonder about....

How can you trust this firewall setup if you have absolutely no idea what it actually does ?

Is it really closed or just telling you that it is? Linux, but also netfilter, is more extensive than you may realize.
With kind regards, Peter

NekoNet IRC
www.neko-net.org / [url=irc://irc.neko-net.org:6667]irc.neko-net.org[/url]
Locked