OpenVPN servers > instances

Started by interlope, February 20, 2024, 01:09:58 PM

Previous topic - Next topic
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,

Where are you stuck?
i am not an expert... just trying to help...

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.

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.

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'.

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" ?