Iptables bridge

From: Marcelo Valenzuela (marcelovalenzuela_at_mail.com)
Date: 02/01/04


Date: 1 Feb 2004 12:04:35 -0800

Hi, at home I have a PC that has 3 NICs:

eth0: 192.168.0.0/255.255.255.0 (example: 192.168.0.6)
eth1: dynamic ip to the internet
eth2: 192.168.0.0/255.255.255.128 (example: 192.168.0.200)

My iptables script does the trick, and I share the internet conn
without trouble at all.

But what I need is to play games from pcs from 1 subnet to the other.
For example to be able from 192.168.0.200: ping 192.168.0.6 and that
it works.

Can I achieve that with an iptables or route command?

sorry for my english.
thanks for the knowledge.
I use 2.4.19 and iptables v1.2.6a



Relevant Pages

  • Re: Preventing abuse of CGI & PHP by spammers
    ... In fact, BTDT, wrote the tarpit:) ... Best trick I found - use iptables -j REDIRECT to divert incoming packets ...
    (comp.os.linux.security)
  • Re: VLAN et iptables
    ... I have a Debian system that I am trying to configure as a router for a MPLS ... I'm having trouble setting up the iptables rules to forward ... The following is the iptables script I have tried however it doesn't work: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: VPN solutions with Free S/Wan and windoze
    ... Mairhtin O'Feannag wrote: ... > IPTables and Free S/Wan. ... The only trouble we have is finding a client ...
    (comp.os.linux.networking)
  • Re: VPN solutions with Free S/Wan and windoze
    ... Mairhtin O'Feannag wrote: ... > IPTables and Free S/Wan. ... The only trouble we have is finding a client ...
    (comp.os.linux.security)
  • Re: Running ssh on unreserved ports
    ... rattling that occurs with ssh running on a public server. ... block port 22 in iptables ... Ah, great trick. ...
    (Fedora)