OpenWrt Forum Archive

Topic: smcroute: is there an OpenWRT port?

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Yes, there is and it WORKS, though tedious, and is bi-directional, 2x TP-Link WR1043ND:


# GRE tunnel
iptunnel add tun4 mode gre local 220.101.54.26 remote 203.219.161.230 ttl 225
ifconfig tun4 10.0.201.2/24
ifconfig tun4 up
ifconfig tun4 pointopoint 10.0.201.1
ifconfig tun4 multicast
route add -net 10.0.201.0 tun4

# send outgoing multicasts via the VPN
route add -net 224.0.0.0/4 tun4

# Join the multicast groups, direct them to their right destination
smcroute -d
smcroute -j br-lan 224.1.1.1
smcroute -a br-lan 192.168.3.42 224.1.1.1 tun4
smcroute -j tun4 224.1.1.1
smcroute -a tun4 10.0.201.1 224.1.1.1 br-lan
smcroute -a tun4 192.168.7.163 224.1.1.1 br-lan

Developers, please port "smcroute" v2 from the Debian website.

The discussion might have continued from here.