[mythtv-commits] Ticket #7272: Firewall settings: iptables entry to HDHomerun has -dport and not -sport

MythTV mythtv at cvs.mythtv.org
Thu Oct 8 02:23:04 UTC 2009


#7272: Firewall settings: iptables entry to HDHomerun has -dport and not -sport
--------------------------------------+-------------------------------------
 Reporter:  gordon at houstonhostel.com  |       Owner:  ijr    
     Type:  defect                    |      Status:  new    
 Priority:  blocker                   |   Milestone:  unknown
Component:  MythTV - Mythtv-setup     |     Version:  unknown
 Severity:  high                      |     Mlocked:  0      
--------------------------------------+-------------------------------------
 These lines in the firewall needs to be changed to allow HDHomerun tuner
 to feed video stream and IR control.

 file:
 /etc/sysconfig/iptables

 -A INPUT -m state --state NEW -m udp -p udp -dport 5000 -j ACCEPT
 -A INPUT -m state --state NEW -m udp -p udp -dport 5002 -j ACCEPT
 -A INPUT -m state --state NEW -m udp -p udp -dport 5004 -j ACCEPT

 to

 -A INPUT -m state --state NEW -m udp -p udp -sport 5000 -j ACCEPT
 -A INPUT -m state --state NEW -m udp -p udp -sport 5002 -j ACCEPT
 -A INPUT -m state --state NEW -m udp -p udp -sport 5004 -j ACCEPT

 note; the only change is the -dport to -sport because the stream is
 comming FROM the HDHomerun to a random input port on MythTV.

 This change needs to be in the setup scripts? The clean install I did was
 not working at all until I turned off the firewall. No firewall is not an
 option for some networks. So I had to find the problems.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7272>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list