打開80端口肺魁,詳見 ip6tables
ip6tables -I INPUT -p TCP --dport 80 -j ACCEPT
ip6tables -I FORWARD -p TCP --dport 80 -j ACCEPT
轉發(fā)ipv6 -> ipv4添瓷,詳見 socat,效率低痢士,mt7621a上100Mbs占用cpu40%彪薛?
socat TCP6-LISTEN:80,reuseaddr,fork TCP4:192.168.1.2:443 &
ip6tables -I INPUT -p TCP --dport 80 -j ACCEPT
ip6tables -I FORWARD -p TCP --dport 80 -j ACCEPT
socat TCP6-LISTEN:80,reuseaddr,fork TCP4:192.168.1.2:443 &