We use the FRITZ!Box 6591 Cable modem equipped with DVB-C functionality, providing up to 4 IPTV streams that can be accessed via any compatible IPTV client. Additionally, an OPNsense firewall is implemented between the FRITZ!Box and our internal network. This firewall segregates the network into different segments for IoT devices and other equipment while managing both inbound and outbound access rules.
The specific challenge is the lack of documentation on how to access the FRITZ!Box 6591 Cable IPTV streams through the OPNsense firewall, especially when it involves RTP (Real-time Transport Protocol) streams.
- Enable the RTP streams from the FRITZ!Box to flow to the end devices through the OPNsense firewall.
- Document the procedure for this particular scenario.
Network Diagram: Maintain a detailed network diagram outlining device interconnections.
-
Login: Access the OPNsense admin console.
-
Port 554 Rule:
- Navigate to
Firewall > Rules
. - Add a new rule:
- Action: Pass
- Interface: LAN
- Protocol: TCP/UDP
- Source: LAN network
- Destination: WAN address
- Destination Ports: 554
- Save and apply the configuration.
- Navigate to
-
General Rules:
- Navigate to
Firewall > Rules
. - Add a new rule:
- Action: Pass
- Interface: Interface connecting to the FRITZ!Box
- Protocol: UDP
- Source: FRITZ!Box IP address
- Source Port Range: 5000-5010
- Destination: Your LAN Net
- Save and apply the configuration.
- Navigate to
-
One-to-One NAT:
- Navigate to
Firewall > NAT > One-to-One
. - Add a new rule:
- Interface: WAN
- External subnet IP: 192.168.180.0
- Internal IP: Network 192.168.178.0
- Save and apply the configuration.
- Navigate to
- IPv4 Routes:
- Access the FRITZ!Box admin console.
- Navigate to
Internet > Permit Access > IPv4 Routes
. - Add a new route:
- Network: 192.168.180.0
- Subnet Mask: Appropriate subnet mask
- Gateway: WAN IP address of the firewall
- Save and apply the changes.
- Test Streams: Validate the setup with an IPTV client to ensure the streams pass through the firewall successfully.
- Monitoring and Logging: Activate OPNsense logs specifically for these new rules to monitor the traffic and troubleshoot any issues.
Upon successful configuration, IPTV clients in the internal network should be able to access the FRITZ!Box 6591 Cable's IPTV streams. Ongoing monitoring and logging are recommended to ensure continuous and smooth operation.