No more masquerading after "ifdown wan; ifup wan"
Username: suedwestlicht
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2420
hw: TP-Link TL-WDR3600 v1
arch: Atheros AR9344 rev 2
sw: OpenWrt 18.06.4 r7808-ef686b72 / LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc)
Network:
lan
pppoe-wan ipv4 plus dhcpv6 client
Issue:
After “ifdown wan; ifup wan” there is no more masquerading done to outgoing packets. Source address of those packets from lan to pppoe-wan are unchanged.
Solution (works for me):
In /etc/hotplug.d/iface/20-firewall change the last line
fw3 -q reload
to
fw3 -q restart