I wanted to configure a OpenVPN Connection to our Nethserver. When I select Routed Mode I have to enter a network and a netmask. Should this be the intern network at the location or a own network which is used just by the VPN? The goal is to setup the server as a file-server and allow extern users to access just the file server with their account.
Also is there anything else I should configure besides port forwarding on the router? I guess there shouldn’t be any static routes on the server itself?
Please keep in mind that when you setup Routed VPN you should input VPN network that would not cover any internal network of your clients.
So it can be 10.255.0.1 255.255.255.0
Ok, thanks it worked fine - the vpn tunnel is up. Now I have the problem that I can’t ping the server and/or add a network drive from roadwarrior client. The server tunnel ip is 10.255.0.1. The Client is 10.255.0.6. I guess I have to open other ports on the router which would allow me to do these things. If yes which ports do I need for adding the samba shares as network drives on the Client?
You can try to reach samba resources, maybe somth was changed.
But when i try, it did not work.
Sambas known bug with tun devices , but on tap device i cannot reach samba resources too , maybe my Win7 cause the issue.
So make VPN bridged and try it
Do I have to create the Bridge Interface myself, because when trying to configure there is no Bridge to select from the Dropdown menu. Also the IP range could be 10.255.0.1-10.255.0.10 right?
In Bridge mode ip Range should be the same as on Server local interface, and before creating Bridged VPN you should create bridge interface on the Network page.