[mythtv-users] Frontend control socket for Mythmote

Hika van den Hoven hikavdh at gmail.com
Tue Sep 20 00:07:51 UTC 2016


Hoi Stephen,

Tuesday, September 20, 2016, 1:50:48 AM, you wrote:

> On Mon, 2016-09-19 at 19:30 -0400, Mario Bertrand wrote:
> Hi, 
>  
>  To make Mythmote connect to frontend, I have followed instructions on mythtv wiki :
>  https://www.mythtv.org/wiki/Frontend_control_socket
>  
>  sysctl -w net.ipv4.conf.all.route_localnet=1 
>  
>  iptables -t nat -I PREROUTING 1 -p tcp -d 192.168.1.xxx --dport
> 6546 -j DNAT --to-destination 127.0.0.1:6546 
>  
>  It works, but since I loose everything at reboot, I would like to
> get this done automatically at boot. I'm on latest mythbuntu. Any ideas?
>  




> Mario,


> This is an operating system problem.  I am unsure which operating
> system you are using for your frontend.  I have found that Fedora 24
> (Server) utilizes a different management tool for iptables.  The
> legacy method of adding to the iptablse configuration works until
> the next reboot.  I found that firewall-config (X11) will change
> both the boot config and the run config.


> Steve 

Very probably your distribution has a service for iptables called
something like that. If you start it and make it automatically start
on boot before applying the new rule, the rule very probably gets
stored with the other rules on close-down and will get loaded on
start-up automatically.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list