[Solved] OpenVPN on Opt1 problem
I'm trying to create a VPN network on Opt1 using OpenVPN.
I've almost got it working but not quite. Still missing something.
Goal: Set up 3 internal subnets. One for LAN (normal), one for my VoIP SIP device, and one for VPN access.
What's working: The normal LAN and VoIP subnets are up and routing through the ISP. The OpenVPN connection is up and (as far as I can tell) connect correctly.
What's not working: Ping and traceroute not working on a client machine on the VPN subnet.
I'll attach screenshots of my setup for inspection. Hopefully someone can spot what I've got mis-configured.
Any help is appreciated!
So you're attempting to direct all upstream traffic from VPN over the VPN connection.
How to you think this will happen?
You have to do policy routing.
To do so, edit the last rule on the VPN interface, which allows any IPv4 to anywhere, display the advanced options, go down to gateway and select the OPVPN GW.
Besides you should erase the allow any rule on OPVPN and OpenVPN. There is no need to allow anything there as long as the VPN should only handle upstream traffic and you're not running an OpenVPN server.
Ah, got it. I knew I was missing something simple. Thanks!