my Linux box has a default gateway that is a Cisco router over which I
have no control at all. The eth0 of my Linux box is connected to the
same Ethernet where the Cisco is (and my Linux box only has one
Ethernet interface). Of course, there's a static route in my Linux box
that makes it forward anything that is not in the local subnet to the
Cisco router.
What I want is to control what gets forwarded in the Linux box. This
is: since I can't control the Cisco router, I want to set in all
machines of the local network the default router to be the Linux box
instead of the Cisco router, and then control there what gets
forwarded or blocked.
I am trying to acomplish this with ipfwadm but I don't really
understand this command (very complex, IMHO).
Can this be done? Can anyone send me an example on how to block,
for example, all connections from machines in the local LAN trying to
connect to TCP port 23 of a machine on another subnet?
Thanks in advance.
E.-
--Eloy A. Paris Information Technology Department Rockwell Automation Venezuela Telephone: +58-2-9432311 Fax: +58-2-9431645 - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu