Wow! Everybody loves complicated solutions! Try this one out:
As root run this command on the firewall, iptables -A PREROUTING -t nat -p tcp -i <inf> --dport 5080 -j DNAT --to <ip address:port> Replacing <inf> with the interface, like eth0 or eth1, of the Internet card, and ipaddress:port with the ip address and port of the mythweb server. Then to get really secure you can setup a .htpassword and .htoptions file in the mythweb's /var/www/html directory in order to require a password to use mythweb. This helps prevent random modification of your settings. I use this extensively and it works great =) It also requires much, much less overhead than running apache as a proxy. On 9/1/05, Brett Grice <[EMAIL PROTECTED]> wrote: > I would also seriously consider using something like > mod_security with apache you can find it here > http://www.modsecurity.org. > > Also lots of info on locking down apache correctly. > > just my 2 cents worth > > Brett. > > > --- Marty Ravell <[EMAIL PROTECTED]> wrote: > > > This maybe a little O.T. but I'd like to open up > > MythWeb to the net as well. > > The issue for me however is that my Myth box sits > > inside my Home LAN with > > another Linux box being my Firewall. Now I do run my > > personal website on the > > firewall and am wondering how to go about letting > > Myth through when there is > > already a webserver on the machine that is the > > gateway to the internet. > > > > > > > > Would it be possible perhaps to use the firewall's > > Apache to talk to the > > Myth box for MythWeb? Does the MythWeb web server > > need to be on the same > > machine as the MythTV installation? > > > > > > > > > > > > > > > > Regards > > > > Marty > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > mythtv-users mailing list > > [email protected] > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > > > > Send instant messages to your online friends http://au.messenger.yahoo.com > _______________________________________________ > mythtv-users mailing list > [email protected] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
