openvpnAS and multiple public ip

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
spagno
OpenVpn Newbie
Posts: 1
Joined: Fri Oct 16, 2020 11:44 pm

openvpnAS and multiple public ip

Post by spagno » Fri Oct 16, 2020 11:49 pm

Hi all,
I run a openvpnas instance in my apu2 which is also my home router. 2 vpn connections are enough for me and I really like openvpnas because i can manage users and download configuration directly using the web so it's the solution i want to run.

In my setup I have multiple public IP which are used to nat resources inside my network. To do that I have to create different routing table, adding ip rules and mark the packets. Here the problem: it seems that the default openvpnas iptables rule match something about other interfaces and can't mark the packets from the other public ip interfaces and it breaks the NATs. Is there a way to run specific iptables rules BEFORE the openvpnas ones?

regards

Post Reply