And it also requires that you access mythweb via port 5080 which may or
may not be an option for some people depending on where they plan to be
connecting to mythweb from (i.e. behind a firewall at work that only
allows port 80 outbound).  Using apache as a proxy allows you to
still access mythweb on the standard port 80 which should pretty much
always be accessible.<br><br><div><span class="gmail_quote">On 9/2/05, <b class="gmail_sendername">Brady</b> &lt;<a href="mailto:liquidgecka@gmail.com">liquidgecka@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Wow! Everybody loves complicated solutions!<br><br>Try this one out:<br><br>As root run this command on the firewall,<br><br>iptables -A PREROUTING -t nat -p tcp -i &lt;inf&gt; --dport 5080 -j DNAT<br>--to &lt;ip address:port&gt;
<br><br>Replacing &lt;inf&gt; with the interface, like eth0 or eth1, of the Internet<br>card, and ipaddress:port with the ip address and port of the mythweb<br>server.<br><br>Then to get really secure you can setup a .htpassword and .htoptions
<br>file in the mythweb's /var/www/html directory in order to require a<br>password to use mythweb. This helps prevent random modification of<br>your settings.<br><br>I use this extensively and it works great =)<br><br>It also requires much, much less overhead than running apache as a proxy.
<br><br><br><br><br><br>On 9/1/05, Brett Grice &lt;<a href="mailto:badluck_boy@yahoo.com.au">badluck_boy@yahoo.com.au</a>&gt; wrote:<br>&gt; I would also seriously consider using something like<br>&gt; mod_security with apache you can find it here
<br>&gt; <a href="http://www.modsecurity.org">http://www.modsecurity.org</a>.<br>&gt;<br>&gt; Also lots of info on locking down apache correctly.<br>&gt;<br>&gt; just my 2 cents worth<br>&gt;<br>&gt; Brett.<br>&gt;<br>&gt;
<br>&gt; --- Marty Ravell &lt;<a href="mailto:mythtv@rave-tech.com.au">mythtv@rave-tech.com.au</a>&gt; wrote:<br>&gt;<br>&gt; &gt; This maybe a little O.T. but I'd like to open up<br>&gt; &gt; MythWeb to the net as well.<br>
&gt; &gt; The issue for me however is that my Myth box sits<br>&gt; &gt; inside my Home LAN with<br>&gt; &gt; another Linux box being my Firewall. Now I do run my<br>&gt; &gt; personal website on the<br>&gt; &gt; firewall and am wondering how to go about letting
<br>&gt; &gt; Myth through when there is<br>&gt; &gt; already a webserver on the machine that is the<br>&gt; &gt; gateway to the internet.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Would it be possible perhaps to use the firewall's
<br>&gt; &gt; Apache to talk to the<br>&gt; &gt; Myth box for MythWeb? Does the MythWeb web server<br>&gt; &gt; need to be on the same<br>&gt; &gt; machine as the MythTV installation?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Regards<br>&gt; &gt;<br>&gt; &gt; Marty<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; mythtv-users mailing list<br>&gt; &gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; &gt;
<br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; Send instant messages to your online friends <a href="http://au.messenger.yahoo.com">
http://au.messenger.yahoo.com</a><br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>