Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN Client to Instance migartion
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN Client to Instance migartion (Read 618 times)
wewall
Newbie
Posts: 8
Karma: 0
OpenVPN Client to Instance migartion
«
on:
April 01, 2024, 12:22:12 pm »
I want to migrate my
OpenVPN Client
configuration from legacy to the to the
new Instances
. But some Settings in the New Configuration are not clear, and I hope someone can point me in the right direction.
I have two WAN interfaces: wan1 and wan2.
I have two OpenVPN instances: opt1, opt2.
I would like to route opt1 only via wan1 and opt2 only via wan2.
Wan1 has a static IP and wan2 has a dynamic IP.
With the legacy
OpenVPN Client
configuration I can easily set up everything because I can select a specific interface in the Client settings.
In contrast, in the new
OpenVPN Insatnces
settings it is possible to assign only a
Bind address
.
In case of opt1 (routed via only wan1) should I set the static public IP address of wan1 as
Bind address
? And that's all?
In case of opt2 (routed via only wan2 with dynamic IP) what address should I set as
Bind address
?
(If I set the current IP address of wan2 as
Bind address
it seems to work, but what if the IP changes?!? Should I manually set a new address each time?!?)
«
Last Edit: April 01, 2024, 12:28:49 pm by wewall
»
Logged
AlexS
Newbie
Posts: 14
Karma: 1
online since 1999
Re: OpenVPN Client to Instance migartion
«
Reply #1 on:
April 10, 2024, 05:40:58 pm »
Note 1: Leave empty to bind to all addresses assigned to this machine or
use a loopback address combined with a port forward when the external address is not static
. (found here:
https://docs.opnsense.org/manual/how-tos/sslvpn_instance_roadwarrior.html
)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN Client to Instance migartion