diff options
author | Arianit Kukaj <arianit@hax.al> | 2025-05-26 20:43:31 +0000 |
---|---|---|
committer | Arianit Kukaj <arianit@hax.al> | 2025-05-26 20:43:31 +0000 |
commit | 2041ea36be5e346e923f7aadcbf48375ea70e725 (patch) | |
tree | 307093cdd2471a97f99b111663cc851b159069f3 /Ignore iproutes.md | |
download | Mikrotik Bulk-2041ea36be5e346e923f7aadcbf48375ea70e725.tar.gz Mikrotik Bulk-2041ea36be5e346e923f7aadcbf48375ea70e725.zip |
.
Diffstat (limited to '')
-rw-r--r-- | Ignore iproutes.md | 9 |
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" + |