[mythtv-users] Frontend control socket for Mythmote (solved)

Stephen Worthington stephen_agent at jsw.gen.nz
Fri Sep 23 07:20:25 UTC 2016


On Tue, 20 Sep 2016 09:32:28 -0400, you wrote:

>Solved!
>
>For those interested.
>
>Found this tutorial: https://help.ubuntu.com/community/IptablesHowTo

[snip]
> I adapted the script to add "/sbin/sysctl -w 
> net.ipv4.conf.all.route_localnet=1" because it wont works with iptables 
> rules only.
[snip]

There is usually a better way to handle permanent sysctl changes,
depending on the operating system.  In Ubuntu, the right way to do it
is to add a new file to /etc/sysctl.d, such as:

60-mythmote-sysctl.conf:

# Required for Mythmote.
net.ipv4.conf.all.route_localnet=1

Ensure the file has the same ownership and permissions as the other
files in that directory.

You can also just edit /etc/sysctl.conf and add that line.


More information about the mythtv-users mailing list