Ping mezi sitema

Dalibor Straka dast na panelnet.cz
Středa Srpen 24 10:12:21 CEST 2005


On Wed, Aug 24, 2005 at 09:57:59AM +0200, Zahálka Martin Ing. wrote:
> LAN4(192.168.0.0/24) jsem zastavil.
> 
> [root na linux etc]# cat /proc/sys/net/ipv4/ip_forward
> 1
> [root na linux etc]#
> 
> 
> Vyuzivam iptables:
> 
> Chain PREROUTING (policy ACCEPT)
> target     prot opt source               destination
> 
> Chain POSTROUTING (policy ACCEPT)
> target     prot opt source               destination
> MASQUERADE  all  --  192.168.1.0/24       anywhere
> MASQUERADE  all  --  192.168.2.0/24       anywhere
> MASQUERADE  all  --  192.168.3.0/24       anywhere
> 
Maskaraduje se to s volbou "-o eth0"? Napiste _presne_ pravidla.

-- Dalibor Straka


Další informace o konferenci Linux