翠星石 on Nostr: nprofile1q…tlwzr This is why you just use IPv6 iptables -t nat -F iptables -A ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq4x7fjslrldws4en9k5c3ke9xxz9hsx5hlptmzhd43wvsu5kkh3xqgtlwzr (nprofile…lwzr) This is why you just use IPv6
iptables -t nat -F
iptables -A FORWARD -i $lan -s $lan_range -j ACCEPT
iptables -A FORWARD -i $wan -d $lan_range -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -A POSTROUTING -o $wan -j MASQUERADE
iptables -t nat -F
iptables -A FORWARD -i $lan -s $lan_range -j ACCEPT
iptables -A FORWARD -i $wan -d $lan_range -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -t nat -A POSTROUTING -o $wan -j MASQUERADE