NethServer Version: 7.4.1708
Dear NS Community,
First of all english is not my native language.
As I have mentioned earlier in the “So, What are you working on?” welcome thread I’m building a NS based VPN solution that will allow me to connect to my office.
The main reason is that my office’s router is hidden behind T-Mobile NAT so there’s no possibility to use Openvpn + DynDNS.
I’d decided to buy a VPS server to act as the central ‚meeting’ point.
The VPS is equipped with a single NIC (DHCP) which turned out to be problematic.
So far I have done the following:
Installed a NS in my office on a small dell PC (running 24/7) equipped with single NIC (not a default GW for the office network).
Installed the NS on VPS, configured it as an OpenVPN net2net Master (tunnel IP 10.235.160.0/24) + OpenVPN host2net (tunnel IP 10.10.10.0/24).
Configured OpenVPN net2net Client on Dell but with no success (no connection between both servers).
I figured out that most probably 1 NIC in the VPS server is the reason for the net2net tunnel not working. So I added a virtual interface as a VLAN on ETH0. Then I set the ‚new’ interface as Green and then switched the main ETH0 to Red. This fixed the tunnel and now it’s up and running.
Configured the VPS OpenVPN for Road Warriors (tunnel IP 10.10.10.0/24) and installed a client on my notebook. I can connect to VPS through the OpenVPN but cannot reach my office nor it’s tunnel IP adresses.
I thought adding some additional routings would help but it didn’t.
What am I missing or what have I done wrong?
I didn’t touch the firewall settings yet.
I have attached a picture made in Dia that should explain my situation.
Please note that all IP addresses are for reference and therefore different from real ones. I assumed that it would be easier to talk using specific addresses.
Any help appreciated.