KonstantinK
Occasional Visitor
Hi,
I have been struggling to configure an OpenVPN server for some days.
Basically what I am trying to achieve is the following - I want to set up a VPN server using OpenVPN and EasyRSA 3.0 on a Windows Server 2016 computer. I would like to access the server remotely i.e. access the server from another network in another city.
Let me explain a bit more in detail what I need the VPN Server for - we have a Network Attached Storage (NAS) at work (it is the Windows Server computer), I would like to be able to access it through the VPN Server. I am planning to install a License Server on our Windows Server computer at work and I would like to connect to the VPN Server from home and still be able to use the license. And off course, I should be able to access the shared folders of the computers at work remotely.
The local network has a default gateway with IP 192.168.88.1 and a subnet mask 255.255.255.0.
Some information about the server and what I have done so far:
I can successfully ping the server from the client and vice versa. I can also access the shared folders by typing the local IP or the VPN IP in the Windows 10 Network application, the access is successful from server and client side.
But now let us get to the problem, I cannot neither ping another computer (I am trying to access a NAS) in the local network nor access its shared folder using its local IP in the Windows 10 Network application.
Based on the wiki description I added this push route rule to the server configuration
which should allow the clients to access LAN devices behind the VPN Server.
Here is the wiki page I am talking about: GettingStartedwithOVPN
I am attaching my server and client configurations.
Best Regards
I have been struggling to configure an OpenVPN server for some days.
Basically what I am trying to achieve is the following - I want to set up a VPN server using OpenVPN and EasyRSA 3.0 on a Windows Server 2016 computer. I would like to access the server remotely i.e. access the server from another network in another city.
Let me explain a bit more in detail what I need the VPN Server for - we have a Network Attached Storage (NAS) at work (it is the Windows Server computer), I would like to be able to access it through the VPN Server. I am planning to install a License Server on our Windows Server computer at work and I would like to connect to the VPN Server from home and still be able to use the license. And off course, I should be able to access the shared folders of the computers at work remotely.
The local network has a default gateway with IP 192.168.88.1 and a subnet mask 255.255.255.0.
Some information about the server and what I have done so far:
- The server is behind NAT i.e. it is connect via LAN cable after the router.
- Server port is 1175 and I opened the Inbound Traffic in the firewall on this port
- I port forwarded port 1175 in my router to the local IP of the server (192.168.88.88)
- The VPN Server IP is 10.8.0.1
I can successfully ping the server from the client and vice versa. I can also access the shared folders by typing the local IP or the VPN IP in the Windows 10 Network application, the access is successful from server and client side.
But now let us get to the problem, I cannot neither ping another computer (I am trying to access a NAS) in the local network nor access its shared folder using its local IP in the Windows 10 Network application.
Based on the wiki description I added this push route rule to the server configuration
Code:
push "route 192.168.1.0 255.255.255.0"
which should allow the clients to access LAN devices behind the VPN Server.
Here is the wiki page I am talking about: GettingStartedwithOVPN
I am attaching my server and client configurations.
Best Regards