i tried first this one:
Code:
pass in on $int_if proto tcp from $int_net to $ext_if port { http, https } flags S/SA \
rdr-to $wwwserver
pass out on $int_if proto tcp to $wwwserver port { http, https } flags S/SA \
received-on $int_if nat-to $int_if
and so this one:
pf.conf
Code:
pass in on $int_if proto tcp from $int_net to $ext_if port 80 \
rdr-to 127.0.0.1 port 5000
inetd.conf:
Code:
127.0.0.1:5000 stream tcp nowait proxy /usr/bin/nc nc -w \
20 192.168.1.12 80
none of them worked
cant visit my web server from local net any suggestions? thanks