93b8
![]() |
|
|
|
|
|||||||
| Firewalls IPFW, PF, IPF (but not limited) related discussion |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello. I have am working on getting a router setup using pf, and I am having some trouble using binat-to. I have two servers that both need to be on port 80, so I am using binat-to to redirect everything from one ip address to one server with a rule like this:
Code:
pass quick on $ext_if from $web_serv to any binat-to $web_ip Code:
pass in on $ext_if proto tcp from any to $ext_if port $web_port \ rdr-to $wiki port $web_port I am just learning about this stuff, and I think there is probably a conflict the rules, but I can't figure out how to correctly pass traffic out from the $web_serv using the binat-to rule. Could anyone point me in the right direction? |
|
#2
|
||||
|
||||
|
You can't redirect both servers from port 80 this way. It's simply not going to work.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
![]() |
| Tags |
| binat, firewall problem, pf |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing arguments to pxeboot.0 | harm | Networking | 1 | April 23rd, 2013 12:52 |
| [PF] Problem passing Kerberos (UDP port 88) | muzinim | Firewalls | 1 | March 21st, 2012 20:21 |
| Passing an address from a browser to a program | shuxuef | Off-Topic | 12 | January 1st, 2012 14:42 |
| [Solved] Passing arguments to thread in C | Business_Woman | Userland Programming & Scripting | 7 | July 29th, 2011 20:35 |
| [Solved] Passing in options to make? | feralape | Installation and Maintenance of FreeBSD Ports or Packages | 5 | March 24th, 2010 20:33 |