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

    Unbound URL forwarding question

    Scheduled Pinned Locked Moved DHCP and DNS
    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.
    • C
      cjbujold
      last edited by

      Currently thinking of using squid3 as a HTTP / HTTPS reverse proxy, but was looking at Unbound and wondering if I can achieve the same result by using advanced directives such as:

      local-data: "click01.example.com A 10.10.10.1"
      local-data: "www.example.com A 10.10.10.5"
      local-data: "static.example.com A 10.10.10.15"

      The question is will unbound redirect external traffic to these IP's or is this only for internal users?

      What is the best way to redirect HTTP/HTTPS traffic to the correct server with PFsense?

      Thanks

      cjb

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

        If you want traffic from public to talk to devices inside your network, this is normally done with a port forward.  You would simply port forward 80 and 443 to the private IP address you want to send that traffic too.  If you need to do it based on fqdn or url then you would use a reverse proxy yes.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.