Configuring Peer to Peer using OpenVPN Access Server
Posted: Sat Dec 31, 2022 3:09 am
Hello,
I'm trying to create a peer-to-peer VPN connection between my two TrueNAS servers. Since TrueNAS requires you to create your own certificates and CAs for each user with a lot of confusing manual programming if you use their built-in OpenVPN server, I opted to install OpenVPN Access Server in a VM running Ubuntu Server on my home TrueNAS system. I want to configure this OpenVPN server to only pass through my home TrueNAS server.
To do this I started by following this guide for setting up a site-to-site VPN: [URL] https://openvpn.net/vpn-server-resource ... way-client [URL]
Therefore, on the VPN Settings tab, I set the "Specify the private subnets to which all clients should be given access" to my home IP range. Then, I opened my user and added my VPN's IP range to the access control under the user permissions with all set to routing. However, this doesn't seem to have worked.
What am I missing? Does some sort of static routes need to be set up between the VPN's subnet and the home subnet? And, does that need to be done in Ubuntu or in Access Server?
Thanks!
I'm trying to create a peer-to-peer VPN connection between my two TrueNAS servers. Since TrueNAS requires you to create your own certificates and CAs for each user with a lot of confusing manual programming if you use their built-in OpenVPN server, I opted to install OpenVPN Access Server in a VM running Ubuntu Server on my home TrueNAS system. I want to configure this OpenVPN server to only pass through my home TrueNAS server.
To do this I started by following this guide for setting up a site-to-site VPN: [URL] https://openvpn.net/vpn-server-resource ... way-client [URL]
Therefore, on the VPN Settings tab, I set the "Specify the private subnets to which all clients should be given access" to my home IP range. Then, I opened my user and added my VPN's IP range to the access control under the user permissions with all set to routing. However, this doesn't seem to have worked.
What am I missing? Does some sort of static routes need to be set up between the VPN's subnet and the home subnet? And, does that need to be done in Ubuntu or in Access Server?
Thanks!