Re: simple connection bridging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 13, 2008 at 2:30 AM, whiplash <whiplash@xxxxxxxxxxxx> wrote:
>  You don't need iptables at all.
>  Just enable packet forwarding on the linux box:
>
>  echo "1">/proc/sys/net/ipv4/ip_forward
>
>  and add appropriate routing rules on both Xp machines:
>
>  on 192.168.1.2
>  route add 192.168.0.0 mask 255.255.255.0 192.168.1.1
>
>  on 192.168.0.3
>  route add 192.168.1.0 mask 255.255.255.0 192.168.0.1
>
>  (I'm assuming both networks are /24)
>

Thanks! :)
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux