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

HAproxy with domain vs DDNS

Scheduled Pinned Locked Moved General pfSense Questions
domainddnshaproxy
2 Posts 2 Posters 1.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.
  • P
    pintu1228
    last edited by Feb 7, 2019, 1:30 PM

    Hi, new to pfsense and wanted to ask a question. What is the benefit of using HAproxy with domain (and subdomain names) for my server such as plex.abcd.com, nextcloud.abcd.com, etc instead of using ddns name and having port forwarded to each of the different IP addresses for sonarr, radarr, nextcloud, plex, etc?

    Is one better than the other in terms of security?

    I current have a static IP from my ISP because my applications were not working with their dhcp IP, but I like using HAproxy with a domain name. Do I still have to do port forwarding when using domains under NAT?

    Thanks

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Feb 9, 2019, 4:52 PM

      The benefit is that you don't need to use port forwarding at all and you only need to have one port open. You can have HAproxy listen on the WAN on port 443 and send requests to the appropriate backend server based on the requested URL.
      You don't have to remember what port the services are running on externally just the FQDN.
      It isn't necessarily any more secure though. You only have one firewall rule on WAN so you can't apply different rules to each service at the firewall level. Connection limiting, traffic shaping etc.
      You still can have HAprxy listen on different ports though if you found you needed that.

      Steve

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received