Quote:
Originally Posted by petter
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.10 80
none of them worked cant visit my web server from local net any suggestions? thanks
|
The proxy is redirecting to 192.168.1.
10 while in your case the webserver is at 192.168.1.
12
Also make sure you restarted
inetd. Does
$ netstat -an -f inet
confirm that the proxy is listening on port 5000?