[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PF Firewall Problem



Do you have a "block-all" policy in your rule file? If that's the case you 
have to add a "pass in" rule for that connection with the internal adress as 
target:

pass in quick on $ext_if proto tcp from any to 192.168.0.2 port 3389

Hope that helps,

Jens


> Hello,
>   I needed to redirect external conection to port 3389 on a pc of the
> internal
> network (192.168.0.2).
> 
> (Internet)
>    \
>     \
>      (BSD Firewall + NAT + WebServer)
>       \
>        \
>         (Win PC, Remote desktop Enabled in port 3389)
> 
> I attach all the pf rules, i probe this 2 lines, and nothing...
> Please, if something can help me.
> 
> #rdr on $ext_if proto tcp from any to $ext_if/32 port 3389 -> 192.168.0.2
> port 3389
> 
> #rdr on $ext_if proto tcp from any to any port 3380 -> 192.168.0.2 port
> 3389
> 
> 
> Thanks in advance,
> Javier
> 
> [demime 0.98d removed an attachment of type application/octet-stream]
> 
> 
> 
> To: misc@openbsd.org