Hopefully someone with experience in PF can help as well, but my question is this:

I have a webrick (via script/server) running on port 80 on 10.0.0.17. Now, I have that forwarded outside via OpenBSD pf port 8080. I'm trying to access it from anywhere outside, and constantly swapping ports (both for script/server and the pf rdr rule), and wondering why I can't access the server.

Is there somethign that webrick and/or the script/server wrapper does that checks the Host: header and makes sure it can answer it? Something isn't adding up here.

Any help would be greatly appreciated. Here is my rdr rule and the command I'm using to start script/server:

script/server -d -p 80
rdr on $ext_if proto tcp from any to any port 8080 -> 10.0.0.17 port 80

Yes, rdr rules work for other things (like ssh) and port 80 isn't occupied, and script/server is working on the internal network.

Thanks for any help.

-Erik
_______________________________________________
PDXRuby mailing list
[email protected]
IRC: #pdx.rb on irc.freenode.net
http://lists.pdxruby.org/mailman/listinfo/pdxruby

Reply via email to