I had internet outage yesterday. Upon service restored, I was not able to dial-in remotely and noticed some iptables rules are missing. I have to restart wg server to get it working again. Is this expected?
This is the rules after WAN disconnect/reconnect:
This is the rules after manually restart wg22:
This is the rules after WAN disconnect/reconnect:
Code:
admin@RT-AC86U-DBA8:/jffs/addons/wireguard/Scripts# iptables -vnL FORWARD | grep wg
0 0 WGM_ACL_F all -- wg+ * 0.0.0.0/0 0.0.0.0/0 /* Wireguard ACL */
This is the rules after manually restart wg22:
Code:
admin@RT-AC86U-DBA8:/jffs/addons/wireguard/Scripts# iptables -vnL FORWARD | grep wg
0 0 ACCEPT all -- wg22 * 0.0.0.0/0 0.0.0.0/0 /* WireGuard 'server clients' to LAN */
0 0 WGM_ACL_F all -- wg+ * 0.0.0.0/0 0.0.0.0/0 /* Wireguard ACL */
0 0 ACCEPT all -- br0 wg22 0.0.0.0/0 0.0.0.0/0 /* LAN to WireGuard 'server clients' */
0 0 ACCEPT all -- wg22 * 0.0.0.0/0 0.0.0.0/0 /* WireGuard 'server' */