Divert port 80 to internal server
chip at wiegand.org
Sun Nov 2 19:30:17 PST 2003
Chris Hill wrote:
> Any idea of a useable ipfw rule that will work for this application?
Best let natd.conf handle the redirect, like this (I have an old fbsd4.0
redirect_port tcp 192.168.1.10:80 80
192.168.1.10 is the inside web server ip address. Change it to whatever
yours is. Alias is the nic facing the internet on the firewall box.
Change it accordingly.
Your rc.firewall (whatever you called the rules file) should have the
lines in it to read the natd.conf file before loading the firewall rules.
Hope that helps,
> Thanks in advance.
> Chris Hill chris at monochrome.org
> ** [ Busy Expunging <|> ]
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions