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

    Adding https connection

    OpenVPN
    2
    3
    558
    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.
    • JKnottJ
      JKnott
      last edited by

      I'm thinking about adding an OpenVPN connection that uses https on port 443. Other than changing the endpoint protocol and port, is there anything else to worry about? I know it will use different subnets from my existing UDP 1194 connection.

      tnx jk

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

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

        @jknott I run a instance on tcp 443..

        I even do port sharing on it via ha proxy, so I can still leverage 443 for service on device behind pfsense.

        Yeah just use a different tunnel network..

        When traffic hits my wan IP on 443, and its not openvpn traffic - openvpn hands it off and haproxy forwards it to service behind pfsense.

        custom option

        port-share 127.0.0.1 9443
        

        Running on tcp 443 comes in handy when your at a location that blocks UDP 1194.. If they have any sort of internet at all 443 is going to be open.. You can even get through a work proxy with tcp on 443.

        While its not the best optimal choice for overall openvpn performance - it works, and allows for access from places that otherwise not able to connect to your vpn from.

        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.7.2, 24.11

        JKnottJ 1 Reply Last reply Reply Quote 1
        • JKnottJ
          JKnott @johnpoz
          last edited by

          @johnpoz said in Adding https connection:

          Running on tcp 443 comes in handy when your at a location that blocks UDP 1194

          That's exactly why I'm doing it. Some places, such as the local library, block anything other than browsers. I'm aware of the issues of running TCP on top of TCP. I don't run anything else on 443. The pfSense GUI is plain HTTP on port 80.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

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