I have 2 sites I need to connect. I use openVPN tunnel on one side the Server, on the other side the Client.
should everyone on the server side also see everything on the client side or do I need to configure on both sides a openVPN tunnel Server and Client?
on my local site I use 192.168.178.0/24 network,remote is 192.168.0.0/24
on the local Nethserver:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.3 0.0.0.0 UG 0 0 0 ens34
10.150.206.0 0.0.0.0 255.255.255.0 U 0 0 0 tunschwimu
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 ens34
169.254.0.0 0.0.0.0 255.255.0.0 U 1006 0 0 br0
192.168.0.0 10.150.206.2 255.255.255.0 UG 0 0 0 tunschwimu
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 ens34
192.168.177.0 192.168.177.2 255.255.255.0 UG 0 0 0 tunrw
192.168.177.2 0.0.0.0 255.255.255.255 UH 0 0 0 tunrw
192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
the Network 192.168.177.0/24 is used for openVPN Roadwarrior
on the OpenVPN tunnel page under Server the State is green
I cant ping any host, not even the Nethserver on the remote site.
on the Remote Site: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eno1 10.150.206.0 0.0.0.0 255.255.255.0 U 0 0 0 tuncschwimu 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eno1 169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eno2 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eno1 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eno2 192.168.2.0 192.168.2.2 255.255.255.0 UG 0 0 0 tunrw 192.168.2.2 0.0.0.0 255.255.255.255 UH 0 0 0 tunrw 192.168.178.0 10.150.206.1 255.255.255.0 UG 0 0 0 tuncschwimu
When I connect to the Remote Site with roadwarrior then I cann “see” the hosts on my local net.
EDIT: I can see only from the Nethserver everything on my local net, with my Laptop connected via Roadwarrior I can’t.
Look in /etc/openvpn/ccd/<vpn_name>. If you find route <lan> <netmask> change route to iroute (add an i at the beginning).
Then restart the vpn and let us know if it fixes.
Thank you for the feedback.
Please, could you post your vpn configuration?
Either a screenshot of the web UI or the output of the command db vpn show (erase your psk).
You’re client is using a revoked certificate.
It could happen if the other end point is a NethServer and you changed the certificate values.
In this case, download again the certificate and copy it to the client.
after I deleted the tunnel and made a new one,opend the port on the router it seems like the tunnel is now working from one net to the other.
what NOT is working right now:
If I am connected to either of the nethserver via roadworrier, I see only the net behind the nethserver I’m connected to. What do I have to do to see the other net?