<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 31 October 2014 11:17, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Thu, 30 Oct 2014 15:06:29 +0000, you wrote:<br>
<br>
>Morning,<br>
>I am a new user to the is group. And ran into a brick wall trying to understand an use MythTV the way its intended in my network. Which I will admit is a bit complex.<br>
><br>
</span>>I am running a MythBuntu server (ver 14.04.1) running MythTV 0.27. This server has 2 network cards on 2 different networks with static IPs set...<br>
<span class="">><a href="http://192.168.2.0/26" target="_blank">192.168.2.0/26</a> (Parents Network)<br>
><a href="http://192.168.3.0/26" target="_blank">192.168.3.0/26</a> (Kids Network)<br>
><br>
>What I am trying to find out is if it's possible for the MythTV backend service to listen on more than 1 port. Depending on which network I have it configured to listen too, will depend on which clients can connect. Not just the SQL DB. But the service which uses ports 6544 & 6543 that the clients connect to.<br>
><br>
>After using grep to look thru the entire file structure to locate where the backend setting was, I decided to install MySQL Workbench an found the backend setting in the SETTING Table in Mythconverg DB. And it appears that since there is no Primary Key, MySQL Workbench can only open the DB in Read-Only. Meaning I cannot make changes to it.<br>
><br>
>I am really frustrated by all this.<br>
>John Moore<br>
>OSG VM Solutions Team<br>
<br>
</span>I am not sure if there is any udp traffic between mythfrontend and<br>
mythbackend, but if not, then you should be able to run a redir daemon<br>
for each of the ports and redirect the traffic from the port on the<br>
192.168.3.x address to the same port on the 192.168.2.x address. The<br>
same effect is probably able to be done using iptables too somehow.<br></blockquote></div><br><br></div><div class="gmail_extra">Yes you could do this with iptables NAT to perform this. Something like<br><br>iptables -A PREROUTING -i eth0 -p tcp --dport 6544 -j DNAT --to <a href="http://192.168.1.2:6544">192.168.1.2:6544</a><br><br></div><div class="gmail_extra">cheers,<br><br></div><div class="gmail_extra">Anthony<br></div></div>