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

    Need OpenVPN on a pfSense behind NAT Router

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 4 Posters 887 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.
    • S
      sianand
      last edited by

      Hi all,

      I need a help in configuring OpenVPN in pfsense behind a NAT device.

      The network is as below.

      ISP ---- Load Balance Router ----- pfSense (HA) ---- LAN

      WAN IP of pfSense is in 10.10.10.0/28 range and in HA.
      I also have port forwarded UDP 1194 in router to WAN VIP of pfSense.

      But, I'm unable to connect via OpenVPN.

      Please help

      Thanks,
      Sakthi

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

        Make sure you have unchecked Block private networks and loopback addresses in Interfaces > WAN

        -Rico

        S 1 Reply Last reply Reply Quote 0
        • randombitsR
          randombits
          last edited by

          If your double NAT'd you'll have to open the OVPN port on your Load Balance Router - Just an uneducated guess.

          1 Reply Last reply Reply Quote 0
          • S
            sianand @Rico
            last edited by sianand

            @Rico This is done, without this pfSense didn't allow internet connectivity.

            @randombits pfSense isn't doing NAT, sorry I didn't mentioned this.

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @sianand
              last edited by Gertjan

              @sianand said in Need OpenVPN on a pfSense behind NAT Router:

              pfSense isn't doing NAT

              That's probably a dont care.
              The destination isn't NATted by pfSense, because the end destination is pfSense itself.
              A
              870c2b81-2e35-48c9-80d1-0d07f9b12c35-image.png
              on your WAN interface will do (if you use UDP on port 1193 - this rule will be created by the OpenVPN wizard if you used that wizard).

              The upstream router - if any - has to have a 'real' NAT rule of course.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

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