Bambero 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
> ===
> 
> When i try to connect (using telnet) to port 8888 connection hangs. Nmap 
> shows:
> 
> 8888/tcp filtered sun-answerbook
> 
> Otherway when I try to forward port 8888 to machine with public IP
> evething works fine:
> 
> rdr pass proto tcp from any to any port 8888 -> 129.128.5.191 port 80
> 
> 8888/tcp open sun-answerbook
> 
> 
> Port 80 on 192.168.0.2 is open.
> 
> What may be wrong ?

do you allow traffic to this port?
add somethink like that:

pass in on $ext_if proto tcp from any to any port 8888

Reply via email to