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

    OpenVPN other than UDP 1194 (i.e. TCP 21)

    Scheduled Pinned Locked Moved OpenVPN
    19 Posts 6 Posters 7.0k 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.
    • R
      robi
      last edited by

      In most big places where they block outgoing ports, they have deep packet inspection too, so even if 443 is open, they'll notice that ovpn is not https-type data flow there, and they'll block it. Moreover, they'll know that somebody's trying something prohibited in their area…

      1 Reply Last reply Reply Quote 0
      • M
        m4f1050
        last edited by

        Well, had to keep it UDP 1194.  When I tried it after a while it did the same thing as port tcp 21..  I have a feeling These setup don't work in my network infrastructure, gotta check what's going on..

        I'm using a Watchguard Firebox X700 with a 2gb cf card..

        1 Reply Last reply Reply Quote 0
        • M
          m4f1050
          last edited by

          Any ideas anybody?  Do I need to setup a Rule for TCP 443 under the firewall tab? or do I leave it with the 2 default rules?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            When you setup the openvpn server it should setup the rule automatically for you.  You should have a rule in your wan tab to your wan interface on the port openvpn is listening on.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • M
              m4f1050
              last edited by

              I had to manually add the Rule before I could go to canyouseeme(dot)org and check for the port being opened.  ???

              1 Reply Last reply Reply Quote 0
              • M
                m4f1050
                last edited by

                BUMP - OpenVPN crashes my pfSense firewall when using port 443.  Any advise?  I can only use it UDP 1194 for the moment.  When I try to use TCP 443 it crashes the firewall completely where it won't do anything and I have to hard reset it.  Using a Watchguard Firebox X700

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

                  Move your GUI to another port first. The GUI and OpenVPN can't both be on 443 or you'll lose access to the GUI.

                  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
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Though you could share using this mechanism:
                    https://doc.pfsense.org/index.php/Sharing_a_Port_with_OpenVPN_and_a_Web_Server

                    I would not recommend using that for the GUI since you don't want your GUI open to the world.

                    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
                    • M
                      m4f1050
                      last edited by

                      @jimp:

                      Move your GUI to another port first. The GUI and OpenVPN can't both be on 443 or you'll lose access to the GUI.

                      Its not just the gui crashing, its the whole firewall.  I am not using https for the gui either… but will try again moving the gui out of port 80....

                      1 Reply Last reply Reply Quote 0
                      • M
                        m4f1050
                        last edited by

                        Simple stuff works great on port tcp 443.  I just tried to copy a 200+ MB file and hard crashed my pfsense…

                        EDIT:  Got to the firewall, here is what I found out...

                        No WAN ip address...  So OpenVPN is crashing WAN's ip address somehow....

                        openvpn.jpg
                        openvpn.jpg_thumb

                        1 Reply Last reply Reply Quote 0
                        • M
                          m4f1050
                          last edited by

                          Bump…

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