Open zhengqwe opened 1 month ago
Used these in turn: nft 'add rule ip nat output ip protocol tcp ip daddr 6.0.0.0/8 counter redirect to :6'
,nft 'add rule ip nat prerouting ip protocol tcp ip daddr 6.0.0.0/8 counter redirect to :6'
and nft 'add rule ip nat forward ip protocol tcp ip daddr 6.0.0.0/8 counter redirect to :6'
, not work at all.
OpenWrt has no
iptables
now,iptables -t nat -A OUTPUT -d 6.0.0.0/8 -p tcp -j REDIRECT --to-port 6
can not be executed.