viandeli
I am struggling a little bit with the routing between the networks of the OpenVPN setup.
This is the logical layout, which doesn' t seem too difficult .... in theory....
OVPN Linux client -----fw/gateway (no modif so far)----> OVPN Server on Linux VPS <-------vpn over proxy---- OVPN Linux Client S2S
192.168.1.x-------------------------------192.168.1.x----------------x.x.x.x public-------------------------------------------------------10.x.x.x
172.16.0.2----------------------------------------------------------------172.16.0.1----------------------------------------------------------172.16.0.3
Current situation: connectivity between all clients and servers and between clients is ok. Using redirect-gateway def1 push provides properly an internet connection using the VPN server (but this is not the most important goal)
With a lot of the configurations, I arrive in a situation where the routes created on connection setup, break the connection. On the remote client (S2S) I used a no-push config to solve that problem temporary....
Goal:
* I want to access the remote 10.x subnet from the local linux ovpn client and the ovpn server.
* Nice to have: internet traffic from local linux ovpn client using the VPS server
DNS resolution is necessary for the 10.x range from the 192.168.1.x range, that I will try to solve by installing a DNS server on the OVPN server + forwarding
Do I need ccd?
Thx a lot for any advice!
viandeli
Hi,
Current setup is working fine with ccd indeed.
Also name resolution is working fine for internal domains and www.
Now I only have to create some more firewall rules on the OpenVPN clients to protect everything correctly.
Thx