Dear ALL,

I want to do ssh to a internel webserver from the outside world.  ssh port
22 is running in that web server.

SSH port 22 is also ruuning my Openbsd 5.4 ( 32 bit ) firewall to which I
do ssh from the outside world.

So I want to add a rule to access  internel webserver

So I decided to forward port 2222 of pf box to port 22 of  internel
webserver

So, I added a rules like these. I Still can't access.


pass in log on $wan_if inet proto tcp from any to $wan_if port 2222 \
   rdr-to $webserver port 22

pass out log on $int_if inet proto tcp from any to $webserver port 22
modulate state



But, I can't access

Why?






-- 
Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts

Reply via email to