View Single Post
  #3   (View Single Post)  
Old 22nd March 2013
petter petter is offline
Port Guard
 
Join Date: Feb 2013
Posts: 12
Default

pass in quick on $int_if proto tcp from any to any port 80 \
rdr-to 192.168.1.11 port 8080

it did not work, i lost my web connection, but i have also a webserver on my lan. does this cause troubles?

##web server##
pass in quick on $ext_if proto { tcp } from any to any port { http, https } flags S/SA rdr-to $wwwserver

pass in on $int_if proto tcp from $int_net to $ext_if port { http, https } \
rdr-to $wwwserver
pass out on $int_if proto tcp to $wwwserver port { http, https } \
received-on $int_if nat-to $int_if
Reply With Quote