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

    Is it possibl to NAT redirect UDP 53 > UDP 1194 to get around Public AP Security

    NAT
    2
    2
    1.0k
    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.
    • N
      ndboost
      last edited by

      I have OpenVPN running on UDP/1194 and that works great.

      Problem is sometimes ill be at a hospital waiting room, or starbucks and they obviously block everything unless you sign in. I don't always want to do this. Is it possible to create a NAT Rule on my WAN int to redirect UDP/53 to UDP/1194?

      If so, what would the rule look like? Whats my destination IP?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Sure that works fine.

        In that case it's best to bind OpenVPN to Localhost or your LAN IP, and setup port forwards for udp/1194 and udp/53 both on WAN to point to the actual IP where OpenVPN is listening (e.g. 127.0.0.1 for localhost, or your actual LAN IP)

        The newer versions of the OpenVPN Client Export package have a choice for automatically building a config that includes all port forwards targeting a VPN server, so it could create a client configuration for you to use that would try both ports.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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