Netgate SG-1000 microFirewall

Author Topic: NAT with httpd  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

Offline roadrash96

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
NAT with httpd
« on: June 23, 2006, 12:21:15 am »
I am wondering if pfSense will parse httpd packets so i can forward port 80 to multiple internal ip's depending on what website has been asked for. (extra info)  I am currently running FreeBsd 6.1 Stable.  I have 4 websites i'm running.  Due to security risks in the code for one of the websites i would like to run it in a Jail while keeping all the other sites on the host server.  I'm trying to find out if this can be done useing pfSense.  Currently using m0n0wall.

Offline hoba

  • Hero Member
  • *****
  • Posts: 5837
  • Karma: +8/-0
  • What was the problem to this solution again?
    • View Profile
    • pfSense
Re: NAT with httpd
« Reply #1 on: June 23, 2006, 02:50:05 am »
No, to do so pfSense would need to do inspection inside the packet and analyaze the payload to see which url was requested. It only does look at the layer3 level when doing forwards, thus not seeing this information.

Offline roadrash96

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: NAT with httpd
« Reply #2 on: June 23, 2006, 09:28:39 am »
Thanks for the info.  Any suggestions on what i can do to make this work?

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
  • Karma: +7/-2348
    • View Profile
    • pfSense
Re: NAT with httpd
« Reply #3 on: June 23, 2006, 10:41:40 am »
You need to use a webserver to do this.   Maybe some tmie of apache proxy or something.

Offline timb0311

  • Jr. Member
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: NAT with httpd
« Reply #4 on: August 01, 2006, 04:53:18 pm »
Just posted this in package wishlist before running across this thread.


Pound Revers Proxy
http://forum.pfsense.org/index.php/topic,6.msg10126.html#msg10126