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

Outside to Inside dynamic redirection - reverse proxy?

Scheduled Pinned Locked Moved NAT
2 Posts 2 Posters 1.1k 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
    rkelleyrtp
    last edited by Dec 3, 2013, 8:11 PM

    Greetings all,

    I am trying to get something like reverse proxy setup on my pfSense 2.1 box and need some assistance.  We have a bunch of wordpress servers behind our firewall using a single external IP Address.  The servers behind the firewall have their own DNS names (as in: the internal DNS server can resolve each of the wordpress sites via internal IP address).  I just want pfSense to forward inbound port:80 requests to the appropriate internal server based on the corresponding DNS hostname.  For example:

    URL http://www-test1.com:80 –>  <wan-ip><--> www-test1.com (Internal IP 172.16.150.11)
    URL http://www-test2.com:80 -->  <wan-ip><--> www-test2.com (Internal IP 172.16.150.12)
    URL http://www-test3.com:80 -->  <wan-ip><--> www-test3.com (Internal IP 172.16.150.13)

    I believe this is simply known as transparent reverse proxy, and I have spent days getting nginx setup as the reverse proxy.  However, while the initial web page works, some of the CSS elements are not pushed to the back end server.  Thus, I was hoping there is something very simple on the pfSense firewall to just perform outside-to-inside NAT based upon an internal DNS server.

    I don't need any sort of caching, I just need the external requests to map into the internal DNS hostname.

    Any help?</wan-ip></wan-ip></wan-ip>

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Dec 3, 2013, 9:35 PM

      Look on the packages listing. Squid3 can do reverse proxy, there is modsecurity package for reverse proxy.  I believe HAProxy can do it as well.  Varnish maybe, etc.

      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.7.2, 24.11

      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