# delete all existing rules.
iptables -t nat -F
iptables -t mangle -F
# Always accept loopback traffic
iptables -A INPUT -i lo -j ACCEPT
# Allow outgoing connections from the LAN side.
iptables -A FORWARD -i eth1 -o eth2 -j ACCEPT
# Enable routing.
echo 1 > /proc/sys/net/ipv4/ip_forward
Now I think we could share the internet!!! So I think now you shouldn't install squid guard in my laptop.