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

    Routing dynamic URL to correct internal IP address.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 162 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.
    • G
      gregorywest501
      last edited by

      I have my ISP and DNS registrar sending "*.dbwsys.mb.ca" to my static internet IP. The question for me is, Is there anyway for me to get PFScense to detect what the prefix of the URL used to get to my router and thus be able to forward that to the correct internal IP?

      example if the user enters something like the following URL';s I would like them forwarded to the assigned internal IP:
      phone.dbwsys.mb.ca ==> 192.168.0.101
      email.dbwsys.mb.ca ==> 192.168.0.102
      email2.dbwsys.mb.ca ==> 192.168.0.103 (A different eMail server)

      Is something like this possible in PFScense?

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

        Sure with the HA proxy you can do that. I do it now for a couple different fqdn.

        But that is going to work with http protocols, not going to be able to work with say smtp.

        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.