Access server and iptables rules
Posted: Sat Aug 11, 2012 10:55 am
I need the following iptables rule for an IPsec tunnel on the same machine as OpenVPNAS however AS removes all rules from iptables when it starts. How can I have AS add this rule when it adds it's rules?
iptables -t nat -I POSTROUTING -d 10.125.0.0/16 -j SNAT --to-source 192.168.23.101
iptables -t nat -I POSTROUTING -d 10.125.0.0/16 -j SNAT --to-source 192.168.23.101