On 12/4/06, Bambero <[EMAIL PROTECTED]> wrote:
Hello

I have a problem with port forwarding. My "network" looks like this:

INERNET   <=>  [ne3] router (OpenBSD-3.9) [ne4] (192.168.0.1)  <=>
client (192.168.0.2)

I want to forward port 8888 of my router [ne3] to port 80 on client machine.
I have the following rules in my /etc/pf.conf:

===
ext_if="ne3"
int_if="ne4"

nat on $ext_if from !($ext_if) -> ($ext_if)

rdr pass proto tcp from any to any port 8888 ->  port 80
===

What may be wrong ?

You want to forward to the "client machine", but your last rule does
not say so.

Eric.

Reply via email to