Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
OpenVPN servers > instances
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN servers > instances (Read 938 times)
interlope
Newbie
Posts: 7
Karma: 0
OpenVPN servers > instances
«
on:
February 20, 2024, 01:09:58 pm »
Hello,
Now that i migrated from the 23.x to 24.1, i can see all of my openvpn servers are "legacy".
I tryed to switch to the instance, but it seems like i can't set it up the way i set up my servers.
Any help or guide to migrate ?
Thanks,
Logged
tiermutter
Hero Member
Posts: 1091
Karma: 61
Re: OpenVPN servers > instances
«
Reply #1 on:
February 20, 2024, 02:17:09 pm »
Where are you stuck?
Logged
i am not an expert... just trying to help...
interlope
Newbie
Posts: 7
Karma: 0
Re: OpenVPN servers > instances
«
Reply #2 on:
February 20, 2024, 04:42:51 pm »
I kinda try to recreate my 3 openvpn servers as 3 differents instances, but it kinda doesn't work the same way, i'm stuck because :
- can't recreate my /28 networks for my vpn, it kinda works in a weird way.
- can't select the "Redirect Gateway" or not, which is for me, kinda important.
Logged
interlope
Newbie
Posts: 7
Karma: 0
Re: OpenVPN servers > instances
«
Reply #3 on:
February 20, 2024, 04:47:52 pm »
for the redirect gateway, on the server legacy, i only had to tick it or not.
Now i've to select between 15 differents one, where i don't know what to select to get the same behavior.
Logged
coolmint
Newbie
Posts: 13
Karma: 0
Re: OpenVPN servers > instances
«
Reply #4 on:
February 20, 2024, 05:55:26 pm »
Under 'General Settings' in the 'Server (IPv4)' I entered the VPN-Subnet (e.g. 192.168.150.0/27) and it's working for me.
In the misc section for the redirect gateway I only checked 'default'. I also had to manually create a outbond NAT rule for the 'OpenVPN net'.
Logged
interlope
Newbie
Posts: 7
Karma: 0
Re: OpenVPN servers > instances
«
Reply #5 on:
February 20, 2024, 06:36:18 pm »
for the "redirect gateway list", i kinda chose the default one, exported my configuration.
i selected my dns servers as the 10.100.20.52 one on the configuration.
Connection-specific DNS Suffix . : vpn.xxx.xxx
Description . . . . . . . . . . . : OpenVPN Data Channel Offload
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.100.100.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.240
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 10.100.20.52
NetBIOS over Tcpip. . . . . . . . : Enabled
but if i do a nslookup, it's the currently LAN dns who is chosen.
so it looks like default isnt the right choice
whats the equivalent choice to the simple tick on the box that was "redirect gateway" ?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
OpenVPN servers > instances