iptables and apache virtual hosts

Janina Sajka janina at rednote.net
Sun Mar 13 09:47:34 EST 2005


Hi, Again:

$WAN is an internal variable in the Linksys which can be mapped via a
typical Cisco nvram statement. It points to the external address.

The hardest thing was figuring out the rather unfamiliar device
designations. I'm still struggling with the wifi section, but that's a
different issue.
 

Luke Davis writes:
> 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

-- 

Janina Sajka				Phone: +1.202.494.7040
Partner, Capital Accessibility LLC	http://www.CapitalAccessibility.Com

Chair, Accessibility Workgroup		Free Standards Group (FSG)
janina at freestandards.org		http://a11y.org

If Linux can't solve your computing problem, you need a different problem.





More information about the Speakup mailing list