Reply To: limit WAN traffic from IP?

#51005
ppalias
Member

You will have to enter the command manually as this type of rule cannot be added with ZS.
Go to System -> Setup -> Startup/Cron and select “Nat and Virtual Servers” from the drop down list.

/usr/local/sbin/iptables -t nat -I PREROUTING -i ppp0 -p tcp --dport 25 -s PUBLIC_IP -j MASQUERADE --to-destination 192.168.1.5