I have an OpenVPN server that has 2 NICs. One NIC is configured with the primary public IP and the other NIC is configured with a private IP that is part of our internal network.
I would like OpenVPN to provide access to clients to be able to connect to the internal network on the 2nd NIC. I thought it would happen automatically and I also tried to add "push" routes.
Pretend we have public IP of 123.123.123.123 on the server, OpenVPN is setup using 10.8.0.0/24, and 2nd NIC configured with private network IP of 10.123.0.2 and able to talk to 10.123.0.0/16
What do I need to add to my configuration to allow access?
Currently, if I connect as a client to the VPN, I can actually ping the 2nd NIC's assigned IP of 10.123.0.2 but cannot ping any other hosts in 10.123.0.0/16. We do have a router at 10.123.0.1 that can be used as a gateway to other private networks as well and hope to be able to connect to all of them. I can ping all of the internal IPs via SSH session with the OpenVPN server host, just not when connected as an OpenVPN client.
Any advice on how to set this up properly?
I would like OpenVPN to provide access to clients to be able to connect to the internal network on the 2nd NIC. I thought it would happen automatically and I also tried to add "push" routes.
Pretend we have public IP of 123.123.123.123 on the server, OpenVPN is setup using 10.8.0.0/24, and 2nd NIC configured with private network IP of 10.123.0.2 and able to talk to 10.123.0.0/16
What do I need to add to my configuration to allow access?
Currently, if I connect as a client to the VPN, I can actually ping the 2nd NIC's assigned IP of 10.123.0.2 but cannot ping any other hosts in 10.123.0.0/16. We do have a router at 10.123.0.1 that can be used as a gateway to other private networks as well and hope to be able to connect to all of them. I can ping all of the internal IPs via SSH session with the OpenVPN server host, just not when connected as an OpenVPN client.
Any advice on how to set this up properly?
Comment