OPNsense Forum

English Forums => Virtual private networks => Topic started by: jojothehumanmonkey on May 12, 2021, 08:05:25 pm

Title: openvpn - need help to change IPv4 Tunnel Network
Post by: jojothehumanmonkey on May 12, 2021, 08:05:25 pm
hello and thanks,

i have to connect to another openvpn server that uses.

Code: [Select]
IPv4 Address. . . . . . . . . . . : 10.10.0.21(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 10.10.0.1

my opnsense router for the openvpn connection uses
Code: [Select]
IPv4 Tunnel Network 10.10.0.0/24

so i need to change the setting for opnsense but not sure what to change it without locking myself out of the router.
would this work?
Code: [Select]
10.11.0.0/24
and if i make that change, do i need to re-export all the client config files?

thanks so much,
Title: Re: openvpn - need help to change IPv4 Tunnel Network
Post by: jojothehumanmonkey on May 13, 2021, 03:42:20 pm
i got it working.
1. changed the IPv4 Tunnel Network to 10.11.0.0/24
2. changed the openvpn firewall to pass that ip range.

thanks