iptables and apache virtual hosts
Scott Howell
n3byy at adelphia.net
Sun Mar 13 08:41:45 EST 2005
Janina,
I've got a wrt54G so not sure how it compares to the router yo have. I
know in the router setup you can configure it to forward connections to
a particular server as opposed to having iptables do this for you. Now I
imagine to accomplish what your doing you probably need to use iptables
for the virtual domains, but not sure. I was wondering if you have setup
the router to handle the http reuqests or if you have the server setup
as a dmz.
Scott
>On Sat, 12 Mar 2005, Janina Sajka wrote:
>
>> $IPT -t nat -A PREROUTING -i $WAN -p tcp --dport 80 -j DNAT --to
>> 192.168.1.1:80
>
>What is $wan?
>
>Put in a way that will provide better info: what are these addresses?
>
>* The internal address of your router
>* The address of the server's NIC, to which the router is connected
>* Any aliased addresses on that NIC
>* The apache "namevirtualhost" lines, and a few vhost blocks
>* The apache "bindaddress" and "listen" lines
>
>Is iptables permitting established and related connections through?
>Are any other services having problems?
>
>Luke
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list