Opened 10 years ago

Closed 10 years ago

#7272 closed defect (invalid)

Firewall settings: iptables entry to HDHomerun has -dport and not -sport

Reported by: gordon@… Owned by: Isaac Richards
Priority: blocker Milestone: unknown
Component: MythTV - Mythtv-setup Version: unknown
Severity: high Keywords: firewall iptables ports hdhomerun
Cc: Ticket locked: no

Description

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.

Change History (1)

comment:1 Changed 10 years ago by robertm

Resolution: invalid
Status: newclosed

This does not appear to have anything to do with Myth code.

Note: See TracTickets for help on using tickets.