このhttp(s)だけDS-Liteそれ以外のポートをPPPoE IPv4にしてポート開放できるようにしたいんだけどうまくいかない
http://qiita.com/knok/items/f6a4c2cf3f6293acb01d
Firewall Custom Rulesに
iptables -A PREROUTING -i eth1 -t mangle -p tcp --dport 80 -j MARK --set-mark 2
iptables -A PREROUTING -i eth1 -t mangle -p tcp --dport 443 -j MARK --set-mark 2
sshから試しに
ip rule add fwmark 2 table dsliteroute
ip route add default dev *** table dsliteroute
*** には物理デバイス名(eth0)しか指定できないよね?
この場合dslite-wanだけを指定できないと解決できない気がするんだけどどうしたらいいんだろう
--
LEDE 17.01.2
interfaces: eth0 = lan、eth1=gw
LAN br-lan (eth0)
WAN dslite-wan (eth1)
WAN2 pppoe-wan2 (eth1) ※WAN2がポート開放できてるのは確認済み
WAN6 eth1 (eth1) ※IPv6 IPoE