Stefan Kell wrote:
Hello,
On Sat, 23 Feb 2008, elaconta.com Webmaster wrote:
Greetings
...snip...
rdr on $ext_if proto tcp from any to 192.168.1.121 port 80 ->
127.0.0.1 port 5000
...snip
I'm running OpenBSD 3.9 (i386) on both machines.
why not rdr directly to your internal webserver instead of 127.0.0.1?
OpenBSD
3.9 is quite old but rdr should work quite well. I use this since
OpenBSD 3.4
Regards
Stefan Kell
Hi
I've tried the following configuration but it yields no effect, i.e.
when someone tries to view a web page from the outside the web page
isn't served. Maybe something is wrong with the config:
#-------------------------------------------------------------------------------------------
ext_if="rl1"
rdr on $ext_if proto tcp from any to 192.168.1.121 port 80 ->
192.168.1.126 port 80
pass out on $ext_if inet all keep state
pass in on $ext_if inet all keep state
#-------------------------------------------------------------------------------------------