Re: Firewall protects, so what directs?
Thomas Cook wrote:
How do I tell my firewall to
direct that www request to 1.2.3.4 into a request to 10.10.0.10 port 80 (my
apache server)?
The solution with portfw is spiffy, but the REDIRECT function included
in xinetd is easier to use for those in a hurry.
My DB host is hidden behind a 486/66 using this trick. Here is a
suggestion about xinetd.conf:
Take caution about persistent http connections, these might eat a lot of
resources.
Might be a bit off topic. Please flame me if you like.
Best regards
Martin Berg
defaults
{
instances = 25
log_on_success = HOST PID DURATION EXIT
log_on_failure = HOST
disabled = tftp
log_type = SYSLOG local5
}
service apache
{
flags = REUSE
type = UNLISTED
port = 80
interface = 1.2.3.4
protocol = tcp
redirect = 10.10.0.10 80
user = nobody
group = nobody
socket_type = stream
wait = no
instances = 250
}
Reply to: