<html><head></head><body>Hi, <br>
<br>
That's not critical. I don't reboot often. Just thought that someone here could have already using similar settings. I have tried inetd and xinetd, but I got broken pipe while sending commands to frontend. Iptables works fine for me. Will do some further reading when I got time. <br>
<br>
Thanks. <br><br><div class="gmail_quote">Le 19 septembre 2016 20:16:15 HAE, Hika van den Hoven <hikavdh@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hoi Hika,<br /><br />Tuesday, September 20, 2016, 2:07:51 AM, you wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hoi Stephen,<br /></blockquote><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Tuesday, September 20, 2016, 1:50:48 AM, you wrote:<br /></blockquote><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> On Mon, 2016-09-19 at 19:30 -0400, Mario Bertrand wrote:<br /> Hi, <br /> <br /> To make Mythmote connect to frontend, I have followed instructions on mythtv wiki :<br /> <a href="https://www.mythtv.org/wiki/Frontend_control_socket">https://www.mythtv.org/wiki/Frontend_control_socket</a><br /> <br />
sysctl -w net.ipv4.conf.all.route_localnet=1 <br /> <br /> iptables -t nat -I PREROUTING 1 -p tcp -d 192.168.1.xxx --dport<br /> 6546 -j DNAT --to-destination <a href="127.0.0.1:6546">127.0.0.1:6546</a> <br /> <br /> It works, but since I loose everything at reboot, I would like to<br /> get this done automatically at boot. I'm on latest mythbuntu. Any ideas?<br /> <br /></blockquote></blockquote><br /><br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Mario,<br /></blockquote></blockquote><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> This is an operating system problem. I am
unsure which operating<br /> system you are using for your frontend. I have found that Fedora 24<br /> (Server) utilizes a different management tool for iptables. The<br /> legacy method of adding to the iptablse configuration works until<br /> the next reboot. I found that firewall-config (X11) will change<br /> both the boot config and the run config.<br /></blockquote></blockquote><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Steve <br /></blockquote></blockquote><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Very probably your distribution has a service for iptables called<br /> something like that. If you start it and make it automatically start<br /> on boot before applying the new rule, the rule
very probably gets<br /> stored with the other rules on close-down and will get loaded on<br /> start-up automatically.<br /></blockquote><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Tot mails,<br /> Hika mailto:hikavdh@gmail.com<br /></blockquote><br />To explain further. What such a service basically does is to load a<br />set of rules from a text file. iptables itself is part of the kernel,<br />so no program needs to be loaded. Most such services will also save<br />the current rules on shut-down. But that depends on your distribution.<br />Such automatic saving could be seen as a security risk.<br /><br /><br />Tot mails,<br /> Hika mailto:hikavdh@gmail.com<br /><br />"Zonder hoop kun je niet leven<br />Zonder leven is er geen hoop<br />Het eeuwige dilemma<br />Zeker als je hoop moet vernietigen om te kunnen overleven!"<br /><br />De lerende
Mens<br /><br /><hr /><br />mythtv-users mailing list<br />mythtv-users@mythtv.org<br /><a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br /><a href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a><br />MythTV Forums: <a href="https://forum.mythtv.org">https://forum.mythtv.org</a><br /></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.</body></html>