Displaying 1 result from an estimated 1 matches for "setando".
Did you mean:
estando
2007 May 08
0
Squid + iproute2
...th1 PROXY eth0
192.168.1.245 192.168.2.245
The default gw of the PROXY is 192.168.1.7 and the link2 is a
Secondary link that i need to go out to internet!!!! My internal IP of
the network is 192.168.2.0/24
Im using this
#!/bin/bash
#
# Legenda:
# eth0 Link2
# eth1 link1
#
#
# Resetando o Firewall:
echo -n "Resetando regras existentes"
iptables -F
iptables -Z
iptables -X
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
echo "[OK]"
# OBS: essa regra eh mutuamente excludente com a proxima, a do NAT
# ou sej...