NAT Settings

To get remote IP addresses to pass though to proxy:



NAT loopbackAll
NAT targetSNAT


Firewall Rules 

To have internal clients redirected to internal ip when they request the public ip, you can add the following rules to the firewall script by following these steps:


iptables -t nat -A PREROUTING -i br0 -s 192.168.1.0/24 -d 206.80.251.217 -j DNAT --to 192.168.1.50
iptables -t nat -A POSTROUTING -o br0 -j SNAT