summaryrefslogtreecommitdiffstats
path: root/Ignore iproutes.md
diff options
context:
space:
mode:
Diffstat (limited to 'Ignore iproutes.md')
-rw-r--r--Ignore iproutes.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/Ignore iproutes.md b/Ignore iproutes.md
new file mode 100644
index 0000000..54568ef
--- /dev/null
+++ b/Ignore iproutes.md
@@ -0,0 +1,9 @@
+# Add default route for WireGuard
+/ip route add dst-address=0.0.0.0/0 gateway=10.8.0.1 scope=30 comment="Route all traffic through WireGuard"
+
+# Update NAT for WireGuard traffic
+/ip firewall nat add chain=srcnat out-interface=wg1 action=masquerade comment="Masquerade WireGuard traffic"
+
+# Block direct WAN traffic (optional)
+/ip firewall filter add chain=forward out-interface=ether1 action=drop comment="Block direct WAN traffic"
+