Skip to end of metadata
Go to start of metadata

NAT Settings

To get remote IP addresses to pass though to proxy:

  • Navigate to Advanced → Firewall and set NAT settings to:

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:

  • Navigate to Administration → Scripts
  • select the Firewall tab and add the following rule:

iptables -t nat -A PREROUTING -i br0 -s -d -j DNAT --to
iptables -t nat -A POSTROUTING -o br0 -j SNAT

  • No labels