Using ASL V5.012 - I understand that making changes to the Astaro scripts or OS are not supported, but I can't find any other way of doing this. Basically I need to configure a "no nat" rule.
My network looks like this:
Internal - E0 (168.182.202.32/29) -- ASTARO FW -- (168.182.202.40/27) E1 - dmz
|
|
(206.9.139.239) External - ppp0
I only want to NAT traffic going from the Internal network (e0) to the Internet (ppp0). Traffic from the Internal network to the dmz must not be nat'd. I can't find a way to do this from Webadmin (as you can't specify the outbound interface - ppp0). The only way I could resolve this, was by adding the following command on the cli:
/usr/sbin/iptables -t nat -A POSTROUTING -s 168.182.202.32/29 -o ppp0 -j SNAT --to 206.9.139.239
Is there a startup script where I could add this line, so it is retained after a reboot and doesn't get deleted by Middleware ?
Thanks for your help
This thread was automatically locked due to age.