Modify default iptables rules OpenVPN AS

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
nicolasfo
OpenVpn Newbie
Posts: 5
Joined: Wed Mar 04, 2015 8:19 am

Modify default iptables rules OpenVPN AS

Post by nicolasfo » Mon Mar 09, 2015 10:25 am

Hello,

I Have to modify the default iptables rules created by OpenVPN AS.
I installed Webmin wich imports existing iptables rules. I added my specific rule and my problem was resolved.
But after a server reboot, it seems OpenVPN AS rewrite my iptables config to write it's own. This "problem" don't appears after a simple "service openvpnas restart".

So I would like to know where is the file wich contains OpenVPN iptables rules or what is loaded at the server reboot to rewrite my iptable rule.

I looked at /usr/local/openvpn_as but didn't find any file needed.

Thanks

Nicolas

Post Reply