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

    Redirect to FQDN without port

    Scheduled Pinned Locked Moved NAT
    3 Posts 3 Posters 580 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
      rafnizp
      last edited by

      Hi All,

      I need help configuring redirection to server
      Lets say web server runs on 10.10.10.10:8000
      I'm able to reach this server by FQDN example.com:8000
      Question is:
      How to configure pfsense so I can access server by entering only example.com without port number?
      Thanks for help
      Raf

      L 1 Reply Last reply Reply Quote 0
      • L
        lburr @rafnizp
        last edited by lburr

        @rafnizp Port forwarding doesn't work with FQDNs, but you should be able to do this using reverse proxy (included in the squid package). Hopefully this helps.

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          If it is only that one FQDN, just set port 80 on the outside of the port forward and 8000 on the inside.

          0_1527631920572_Screen Shot 2018-05-29 at 3.11.32 PM.png

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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