Monah Baki wrote:
Hi all,

I have a soekris box and I configured sis0 with 2 public IP addresses (one
of them an alias)
I have 2 squid servers internally with private IP's (192.168.3.105 &
192.168.3.106).

My pf.conf is

ext_if="sis0"

rdr pass on $ext_if proto tcp to port 8080 -> 192.168.3.105 port 8080
rdr pass on x.x.x.x proto tcp to port 8080 -> 192.168.3.106 port 8080

From outside my network if I enter in my browser "proxy setting" x.x.x.x
8080 which is the alias, I get redirected to the proxy 192.168.3.105 not
the 106.
If I comment "rdr pass on $ext_if proto tcp to port 8080 -> 192.168.3.105
port 8080" then it works fine, my rdr rule works.


Thanks

BSD Networking, Microsoft Notworking

With the rdr rules the first matching rule wins - try changing the order of your rdr.

HTH
Fred
--
http://www.crowsons.com/puters/systems.htm

Reply via email to