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

    Squide reverse proxy AND NAT

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 2.3k 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.
    • S
      stanthewizard
      last edited by

      Hello

      I'm in a complicated issue.

      I have created reverse proxy rules.
      Ex:
      192.168.0.100:2000
      From outside my LAN is accessible thrue xxx.mydomain.com
      192.168.0.100:3000
      From outside my LAN is accessible thrue yyy.mydomain.com

      Internal DNS
      192.168.0.100 is xxx.mydomain.com
      192.168.0.100 is yyy.mydomain.com

      BUT
      I have to add the port inside the LAN
      xxx.mydomain.com:2000
      xxx.mydomain.com:3000

      Is there a way to have the equivalent of reverse proxy with prefix name from my domain in order to access services without entering the port inside the LAN

      Many thanks for help

      1 Reply Last reply Reply Quote 0
      • keyserK
        keyser Rebel Alliance
        last edited by

        Hi stan

        You could change your internal dns to point to the external IP that publishes the site through squid.
        That way your internal clients will access the site through squid just as external users do.

        If you NAT forward to the loopback adapter and have squid listening on that, i guess you could enable NAT reflection to allow this to work

        Keyser

        Love the no fuss of using the official appliances :-)

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