Dileep M. Kumar wrote:
There are various ways you could do this. (eth1 - global, eth0 - LAN)Thanks Saurabh, But my question was not that exactly. I dont want any one from outside world access my LAN.
1. Drop all incoming packets from the "outside world"
$/sbin/iptables -A INPUT -i eth1 -j REJECT
2. Specify "no forwarding" from "outside world" to LAN
$/sbin/iptables -A FORWARD -i eth1 -o eth0 -j REJECT
Read up iptables tutorial - http://www.jollycom.ca/iptables-tutorial/iptables-tutorial.html for more info.
Saurabh.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help
