[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Apache on RH 7.2 Firewall.
- Subject: [ale] Apache on RH 7.2 Firewall.
- From: johncole at mindspring.com (johncole at mindspring.com)
- Date: Sun, 15 Dec 2002 20:03:28 -0500
Howdy all!
I'm just wandering what I need to do in order to run an Apache WWW server
on a RH7.2 firewall running IPTables.
(I don't have money in the budget to have a seperate dedicated PC/Server at
this point in time.)
(the following IP's are simulated)
I have 1.2.3.9 is my external router. 1.2.3.10 is the firewall that
currently only allows ssh to itself.
1.2.3.11 is the IP I have Apache listening on (port 80/443).
I can get to it only locally.
In my IPTables is the following line:
$IPT -t nat -A PREROUTING -p tcp -m tcp -d 1.2.3.11 \
--dport 80 -j DNAT --to-destination 192.168.1.1:80
what else do I need to do?
I've also IP Aliased 1.2.3.11 as ETH1:1 and 1.2.3.10 is ETH1
192.168.1.1 is ETH0
Any ideas?
Thanks,
John
Paypal membership: free
Donation to Freenet: $20
Never having to answer the question "Daddy, where were you when they took
freedom of the press away from the Internet?": Priceless.
http://www.freenetproject.org/index.php?page=donations
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale