Lines Matching refs:UPLINK
66 UPLINK=$4
67 # enable NAT/masquarade $GIFNAME -> $UPLINK
69 iptables -t nat -A POSTROUTING -o $UPLINK -j MASQUERADE
70 iptables -A FORWARD -i $UPLINK -o $GIFNAME -m state --state RELATED,ESTABLISHED -j ACCEPT
71 iptables -A FORWARD -i $GIFNAME -o $UPLINK -j ACCEPT
77 UPLINK=$4
78 # disable NAT/masquarade $GIFNAME -> $UPLINK
80 iptables -t nat -D POSTROUTING -o $UPLINK -j MASQUERADE
81 iptables -D FORWARD -i $UPLINK -o $GIFNAME -m state --state RELATED,ESTABLISHED -j ACCEPT
82 iptables -D FORWARD -i $GIFNAME -o $UPLINK -j ACCEPT