Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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


NAT loopbackForwarded OnlyAll
NAT targetSNTSNAT

Image RemovedImage Added


Firewall Rules 

→ DOESN'T WORK WITH SNAT ← 

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:

...

Code Block
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 MASQUERADESNAT


Image RemovedImage Added