Hi guys,
I'm using EdgerouterX in my LAN as an OpenVPN server like follows:
I actually want to configure the networks in a way only computers connected to OpenVPN can go through Internet.
So far I generated the keys and certificate for ROOT, SERVER and CLIENT for my computer. But when connected, I can't go through the second router gateway and I can't event ping the 192.168.1.0/24 network (Assuming my computer is o the 192.168.2.0/24 network). I'm new to EdgeOS technology.
Here is my OpenVPN configuration
set mode server set description OpenVPN set encryption aes256 set hash sha256 set server subnet 172.16.0.0/24 set server push-route 192.168.1.0/24 set server push-route 192.168.2.0/24 set server topology subnet set server name-server 8.8.8.8 set tls ca-cert-file /config/auth/cacert.pem set tls cert-file /config/auth/SERVER.pem set tls key-file /config/auth/SERVER-NOPASS.key set tls dh-file /config/auth/DH.pem set openvpn-option "--comp-lzo no"
The Eth1 interface on EdgerouterX is configured and connected to the internet so far. I didn't change anything on the Firewall configuration since I assumed it allows any traffic by default. Is there something I'm missing ?
Thank you very much.