Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    How to connect to OpenVPN, but disable internet access going to there?

    OpenVPN
    2
    2
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dims last edited by

      I have connected my pfSesne box to my brother's LAN via OpenVPN.

      In order machines from his LAN respond to my pings, I was to configure NAT. By default, Windows machines do not respond for packets, came from networks, other than LAN.

      After that I found, that my internet traffig goes through VPN and through my brother's ISP.

      We both has ISP connections and I want my internet traffic go through my ISP, not his.

      How to do this?

      1 Reply Last reply Reply Quote 0
      • V
        viragomann last edited by

        @dims:

        In order machines from his LAN respond to my pings, I was to configure NAT. By default, Windows machines do not respond for packets, came from networks, other than LAN.

        Allowing such access can be set in the Windows firewall.

        If all your traffic goes through the vpn there will be set the "Redirect gateway" option in the server settings. If your brother doesn't need this for other purposes, he should remove the check and enter his LAN network in the "Local Network/s" box.

        If he need that option, you can prevent that by adding the no-pull option and a route to the remote LAN to your client config.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post