OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: sites on December 06, 2021, 04:56:18 PM

Title: Global config, OpenVPN and Local Network
Post by: sites on December 06, 2021, 04:56:18 PM
A while back I changed my local subnet from the default one-dot to ten-dot, and adjusted my vpn settings accordingly. Recently decided to poke around the vpn log file and found this.

foo/216.14.78.144:55280 SENT CONTROL [foo]: 'PUSH_REPLY,route 192.168.1.0 255.255.255.0

So I opened up /conf/config.xml and saw this.

<tunnel_network>10.10.10.0/24</tunnel_network>
<remote_network>192.168.10.0/24</remote_network>
<local_network>192.168.1.0/24</local_network>


I originally pushed my local network in the Advanced Configuration section on my vpn server, but have long since removed that. But even if I add new statements pushing ten-dot I still see the same old one-dot in my global config and in my vpn log. So, do I need to edit the config from the cli, or am I missing something in the GUI that will write my current settings to the config?

EDIT: Solved by editing config file in console.