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

    Need help on openvpn client routing

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 554 Views
    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.
    • A
      ahmedNY
      last edited by ahmedNY

      Hello everyone

      last month the government on my country blocked all social media sites due to protests against them,

      I want to setup pfsense router with a VPN so we can access internet easily without restrictions, and without using some crappy VPN apps,

      I had a dedicated OpenVPN server hosted on digitalocean.
      I had OpenVpn client is up and running on pfsense
      I configured firewall NAT and rules to use openvpn,

      the problem is checking my ip on google stills get my real ip

      0_1548172259746_83383dd5-a9be-4ae6-888e-e3f29a433ecb-image.png
      0_1548172331457_561ad236-efd8-4ae9-af05-d6a2299a21b2-image.png
      0_1548172451855_507a52cd-800e-428a-9426-915bbaee87ab-image.png
      0_1548172594458_dd380940-969e-4db0-8304-6d813dbdcc25-image.png

      K 1 Reply Last reply Reply Quote 0
      • K
        Konstanti @ahmedNY
        last edited by Konstanti

        @ahmedny

        Hey
        You only need to keep the second rule.
        in this case, all traffic will go through the openvpn tunnel
        The first rule can (must) be removed

        0_1548183300690_8820e7b7-2392-4ada-b8a8-3deb0268e8f4-image.png

        A 1 Reply Last reply Reply Quote 0
        • RicoR
          Rico LAYER 8 Rebel Alliance
          last edited by

          Here is a great video tutorial: https://www.netgate.com/resources/videos/openvpn-as-a-wan-on-pfsense.html

          -Rico

          1 Reply Last reply Reply Quote 0
          • A
            ahmedNY @Konstanti
            last edited by

            @konstanti I disabled the first rule still not working

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.