Displaying 2 results from an estimated 2 matches for "spoof_eth2".
2004 May 08
1
Dual Multipath DSL Script Problem!
...uot;
iptables -t mangle -A eth2 -j MARK --set-mark 2
echo "NAT"
iptables -t nat -N SPOOF_ETH1
iptables -t nat -F SPOOF_ETH1
iptables -t nat -A SPOOF_ETH1 -j LOG --log-prefix " SPOOF_ETH1 "
iptables -t nat -A SPOOF_ETH1 -j SNAT --to-source $NET_EXT_IP1
iptables -t nat -N SPOOF_ETH2
iptables -t nat -F SPOOF_ETH2
iptables -t nat -A SPOOF_ETH2 -j LOG --log-prefix " SPOOF_ETH2 "
iptables -t nat -A SPOOF_ETH2 -j SNAT --to-source $NET_EXT_IP2
echo "Setting some local network rules..."
iptables -A INPUT -p icmp -s $NET_INT_NET/$NET_INT_SUB -d $NET_INT_IP -j...
2005 Jan 18
2
failover works - but balancing does not
...ABLES -t mangle -A ETH0 -j MARK --set-mark 1
$IPTABLES -t mangle -N ETH2
$IPTABLES -t mangle -F ETH2
$IPTABLES -t mangle -A ETH2 -j MARK --set-mark 2
$IPTABLES -t nat -N SPOOF_ETH0
$IPTABLES -t nat -F SPOOF_ETH0"
$IPTABLES -t nat -A SPOOF_ETH0 -j SNAT --to ${NET_EXT_IP1}
$IPTABLES -t nat -N SPOOF_ETH2
$IPTABLES -t nat -F SPOOF_ETH2H2 "
$IPTABLES -t nat -A SPOOF_ETH2 -j SNAT --to ${NET_EXT_IP2}
echo "Setting some local network rules..."
$IPTABLES -A INPUT -p icmp -s ${NET_INT_NET}/24 -d ${NET_INT_IP} -j ACCEPT
echo "Setting Mangle rules for eth0..."
$IPTABLES -t mangle...