Hello,
I'm trying to connect 2 remote LAN with the following addressing
192.168.2.0/24 --> LAN A
192.168.1.0/24 --> LAN B
I have 2 virtual machine with Ubuntu Server, the server is on LAN A with this ip 192.168.2.2, I open NAT to 992 TCP port from the router and I configured the server with this script:
curl -L
https://install.pivpn.io | bash
I created one user, and able to connect from client side on 192.168.1.2
What I need is to setup the openvpn client to connect when ubuntu server on client side starts and also permit traffic from other clients from LANB
At the moment I'm using the following
openvpn /etc/openvpn/client.conf
I tired to use the following route on other Windows clients on LANB
add route 192.168.2.0 mask 255.255.255.0 192.168.1.2
Do you recommend me any tutorial or anyone can help me to this?
Thanks
Best regards