iptables and apache virtual hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux