Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Problems with multiple openvpn tunnels
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problems with multiple openvpn tunnels (Read 3396 times)
crt333
Jr. Member
Posts: 56
Karma: 0
Problems with multiple openvpn tunnels
«
on:
December 07, 2017, 02:27:35 pm »
I thought this would be easy, but I'm having problems that I don't understand. I have a Qotom q355g4 with 4 ethernet ports. My goal is to have one port for wan, and each of the 3 remaining ports dedicated to an openvpn connection (different locations of a popular vpn service). I have the 3 lan ports working, and I have 3 openvpn cients that work individually, but they don't all run at the same time (errors appear in the route add command).
I'd also like to make each of the vpn connections act like a kill switch, so if the tunnel goes down no traffic passes.
I've read articles on various aspects of this, but can't seem to put it all together.
Advice would be appreciated...
I'm using version 17.7.8
Thanks
Logged
robvh
Newbie
Posts: 10
Karma: 2
Re: Problems with multiple openvpn tunnels
«
Reply #1 on:
December 08, 2017, 07:21:01 pm »
Each ovpn client creates a gateway with address 10.8.8.1. So when the 2nd client starts, it cannot create this route for itself. I got around this by mapping each gateway to a unique address with the dnat command.
https://forum.opnsense.org/index.php?topic=5921
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Problems with multiple openvpn tunnels