Помогите пожалуйста,не могу разобратся.
Из локальной сети eth1 не пингуется внешний ip 79.172.61.134. Из вне и со шлюза пингуется а из локальной сети не хочет. Что ни так? auto lo iface lo inet loopback
# The primary network interface auto eth0 #iface eth0 inet dhcp iface eth0 inet static address 79.172.61.134 netmask 255.255.255.240 network 79.172.61.128 broadcast 79.172.61.143 gateway 79.172.61.129 # dns-nameservers 192.168.1.1
auto eth1 iface eth1 inet static address 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255
pre-up iptables-restore < /etc/iptables.up.rules
# Generated by iptables-save v1.4.10 on Mon Oct 17 08:52:59 2011 *nat :PREROUTING ACCEPT [2:458] :INPUT ACCEPT [1:229] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -A POSTROUTING -j MASQUERADE -A POSTROUTING -s 192.168.0.0/255.255.255.0 -j MASQUERADE -A POSTROUTING -s 192.168.1.119 -o eth2 -j MASQUERADE -A POSTROUTING -s 192.168.1.41 -o eth2 -j MASQUERADE -A POSTROUTING -s 192.168.1.42 -o eth2 -j MASQUERADE -A POSTROUTING -s 192.168.1.43 -o eth2 -j MASQUERADE -A POSTROUTING -s 192.168.1.44 -o eth2 -j MASQUERADE -A POSTROUTING -s 192.168.1.45 -o eth2 -j MASQUERADE
COMMIT # Completed on Mon Oct 17 08:52:59 2011 # Generated by iptables-save v1.4.10 on Mon Oct 17 08:52:59 2011 *filter :INPUT ACCEPT [27:1693] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [37:3564] -A FORWARD -s 192.168.1.0/24 -i eth0 -o eth1 -m conntrack --ctstate NEW -j ACCEPT -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT COMMIT # Completed on Mon Oct 17 08:52:59 2011