Thank you, it worked

> Hi,
>
> Monah Baki schrieb:
>> 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.
>
> Since x.x.x.x also belongs to $ext_if only the first RDR rule is
> taken... maybe change it like this:
>
>
> rdr pass on $ext_if proto tcp to ($ext_if:0) port 8080 \
>        -> 192.168.3.105 port 8080
> rdr pass on $ext_if proto tcp to x.x.x.x port 8080 \
>        -> 192.168.3.106 port 8080
>
>
> ($ext_if:0) is the main IP of the interface
>
>
> Michael
>
>


BSD Networking, Microsoft Notworking

Reply via email to