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

    OpenVPN as a last resort

    Scheduled Pinned Locked Moved OpenVPN
    7 Posts 6 Posters 3.2k 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.
    • M
      mayhem
      last edited by

      Hi,

      I'm travelling abroad soon to the Middle East (Iran) and need to be able to connect back to my home network. My understanding is that they are extremely restrictive of Internet access and apparently at times block even SSL access. So even OpenVPN might not be guaranteed.

      I'm guessing for sure they have blocked 1194 and other VPN types and respective ports. My best hope is to configure OpenVPN to run on an "unlikely to be blocked" port like 80, 8080, 25, etc.

      So configuring OpenVPN on port other than default 1194 involves creating a new profile? So I can just copy past everything into the new profile but have under "listening port" port 80, 25, etc.?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • B
        Bern
        last edited by

        You can definitely change the port but remember that OpenVPN uses UDP by default, not TCP.

        It'd probably be sensible to use a well-known UDP port such as 53 (DNS) or 123 (time) - make sure they're not in use on your WAN port and try it extensively before you go!

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          I used an OpenVPN setup in the past to get through very restrictive networks by running the server on TCP/443  (https).
          Like this you can even get through most setups with a squid as filter.

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • Cry HavokC
            Cry Havok
            last edited by

            I've run OpenVPN on 443/TCP and 53/UDP without problems, even from restrictive networks.

            1 Reply Last reply Reply Quote 0
            • P
              pakjebakmeel
              last edited by

              Im running 443/TCP as we speak. Just make sure you run the WebConfigurator on a different port!

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                @Cry:

                I've run OpenVPN on 443/TCP and 53/UDP without problems, even from restrictive networks.

                Ports have to be open?

                1 Reply Last reply Reply Quote 0
                • Cry HavokC
                  Cry Havok
                  last edited by

                  Yes, you have to be able to connect to your server - if the network is blocking ports then you can't connect.

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