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

Adding https connection

Scheduled Pinned Locked Moved OpenVPN
3 Posts 2 Posters 564 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.
  • J
    JKnott
    last edited by May 17, 2022, 6:55 PM

    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...

    J 1 Reply Last reply May 18, 2022, 8:07 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @JKnott
      last edited by May 18, 2022, 8:07 PM

      @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.8, 24.11

      J 1 Reply Last reply May 19, 2022, 1:08 AM Reply Quote 1
      • J
        JKnott @johnpoz
        last edited by May 19, 2022, 1:08 AM

        @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
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received