OpenVPN as a default gateway

  • Hi,

    I have OpenVPN server as a tun behind NAT.

    LAN/WAN interface (router is gateway -
    IPv4 Tunnel Network

    I checked "Force all client generated traffic through the tunnel"

    Client route table has second default gateway

    Network Dest.  Netmask      Gateway            Interface            Metric      20

    But trafic doesn't get to the Internet via OpenVPN…

    tracert - this is last hop

    Do you have any idea what is wrong?

  • well, pfSense probably hasn't created NAT rules for the vpn subnet.

    you could manually add them

    you could assign an interface to your openvpn: i believe pfSense will add NAT automagically then (don't shoot me if i'm mistaken)

Log in to reply