Hi,
I am trying to setup my TrueNAS as an OpenVPN Server via "Services -> OpenVPN Server".
After creating the internal CA and all certificates I may need the service is starting sucessfully and I am able to connect to it from a remote network with the slightly modified configuration exported through the UI.
By default the OpenVPN Server does not push any routes needed to access the remote network or internet over the VPN to my client PC (running Windows 10 with OpenVPN GUI v11.20.0.0).
So I added them as Additional Parameters in the OpenVPN Server configuration:
After adding this all the routes are getting successfully pushed to my Windows 10 pc and show up in
But no matter what I am trying I am not able to connect to anything other than the TrueNAS Server itself.
My local Network is 192.168.1.0/24 and is therfore not coliding with either the transfer nor the remote subnet.
I have already tried to (without success):
- omit the last two rows of my Additional Parameters and try to ping any other resource on the remote network (which I can ping from the TrueNAS directly)
- enable ip forward as a sysctl variable
Are there additional configurations I need to do for this to work or will I need to do the manual Setup inside a Jail to access the remote subnet the TrueNAS server is in?
Thanks for your help and kind regards
Luca
I am trying to setup my TrueNAS as an OpenVPN Server via "Services -> OpenVPN Server".
After creating the internal CA and all certificates I may need the service is starting sucessfully and I am able to connect to it from a remote network with the slightly modified configuration exported through the UI.
By default the OpenVPN Server does not push any routes needed to access the remote network or internet over the VPN to my client PC (running Windows 10 with OpenVPN GUI v11.20.0.0).
So I added them as Additional Parameters in the OpenVPN Server configuration:
Code:
push "route 0.0.0.0 0.0.0.0" push "route 10.99.0.0 255.255.0.0" # My OpenVPN transfer net push "route 192.168.10.0 255.255.255.0" # My remote network I want to connect to push "redirect-gateway def1" push "dhcp-option DNS 192.168.10.1" # The DNS Server on my remote network
After adding this all the routes are getting successfully pushed to my Windows 10 pc and show up in
route print
.But no matter what I am trying I am not able to connect to anything other than the TrueNAS Server itself.
My local Network is 192.168.1.0/24 and is therfore not coliding with either the transfer nor the remote subnet.
I have already tried to (without success):
- omit the last two rows of my Additional Parameters and try to ping any other resource on the remote network (which I can ping from the TrueNAS directly)
- enable ip forward as a sysctl variable
Are there additional configurations I need to do for this to work or will I need to do the manual Setup inside a Jail to access the remote subnet the TrueNAS server is in?
Thanks for your help and kind regards
Luca