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

    Open VPN with WAN NAT

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 853 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
      azizth
      last edited by

      Hello,

      I have dedicated internet fiber from isp. I communicate with ISP with private IP and I NAT my network on public address provided.
      below screenshoot.

      Here my client configuration :

      dev tun
      persist-tun
      persist-key
      cipher AES-128-CBC
      auth SHA1
      tls-client
      client
      resolv-retry infinite
      remote 196.XXX.110.105 1194 udp
      lport 0
      verify-x509-name "XXXXXX" name
      auth-user-pass
      pkcs12 pfsense-udp-1194-aziz.p12
      tls-auth pfsense-udp-1194-aziz-tls.key 1
      ns-cert-type serv
      

      Ping is working from outside, the UDP 1194 is open from outside, but client OpenVpn not see the server (connection timout)… what's wrong please?

      dahboard.jpg
      dahboard.jpg_thumb
      FWrules.jpg
      FWrules.jpg_thumb
      NAT.jpg
      NAT.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • R
        Ryu945
        last edited by

        I'm not exactly an expert on this but when should't you use NAT: Outbound instead of NAT: 1:1

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