As discussed in another thread I have an OpenVPN server running on a Linux Server 20.04.3 using version OpenVPN 2.4.7 x86_64-pc-linux-gnu. It was originally installed many years ago on Ubuntu 16.04 and has been migrated twice to 18 and then 20.
I need to rework the OpenVPN system to enable site-to-site connectivity and when I dig down I find the old way of operations is still in use here. So now I would like to change it to the way OpenVPN operates today so I am in line with documentation etc. The current installation runs 2 instances, one with only local LAN access and no external Internet access and the next is a full server where the client has access to the server side LAN plus Internet through the server gateway. They are defined by two conf files located in /etc/openvpn/: server.conf and serverlocal.conf The server(s) to run on startup is defined in the file /etc/default/openvpn where there is a line like this: AUTOSTART="server serverlocal" Now I would like to get rid of this and have the server run as is normal today using the two dirs /etc/openvpn/client /etc/openvpn/server How should I go about doing this transfer? My Ubuntu Server 20.04.3 is fully updated. I have just checked the current situation: $ sudo systemctl | grep openvpn openvpn-server@serverlocal.service loaded activating auto-restart OpenVPN service for serverlocal openvpn.service loaded active exited OpenVPN service openvpn@server.service loaded active running OpenVPN connection to server openvpn@serverlocal.service loaded active running OpenVPN connection to serverlocal system-openvpn.slice loaded active active system-openvpn.slice system-openvpn\x2dserver.slice loaded active active system-openvpn\x2dserver.slice And: $ ps aux | grep openvpn root 952 0.0 0.0 16084 6704 ? Ss Jan13 0:05 /usr/sbin/openvpn --daemon ovpn-serverlocal --status /run/openvpn/serverlocal.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/serverlocal.conf --writepid /run/openvpn/serverlocal.pid root 954 0.2 0.0 17048 7468 ? Ss Jan13 13:00 /usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/server.conf --writepid /run/openvpn/server.pid What can I do to chnage this system to the current ways? -- Bo Berglund Developer in Sweden _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users