Code:
pass in quick on $int_if proto tcp from any to any port 80 \
rdr-to 192.168.1.11 port 8080
this is comment out because it was not working, even if i comment out the rules for the wwwserver.
Code:
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
without this rules i cant visit my web server from my local lan.
so you say that all my web traffic from local network goes to the web server and from the web server to the internet? then i could just use system proxy on the web server to 192.168.1.11:8080 if it works?