Routing from one Virtual IP to OpenVPN

  • Hello,

    I've setup a VPN connection to a 3rd party VPN provider. What I would like to do is have some hosts on my network be sent to a different default gateway (controlled by static DHCP entries) and be routed across my OpenVPN connection.

    As mentioned, i have successfully created a VPN connection, but currently it routes all LAN traffic across it. Ideally, I want a firewall rule that says anything going to my virtual IP as the default gateway needs to be routed across the virtual interface I have assigned to OpenVPN. Unfortunately it seems I can only create rules with a static source IP.

    Can what I'm asking be achieved?

Log in to reply