From 2041ea36be5e346e923f7aadcbf48375ea70e725 Mon Sep 17 00:00:00 2001 From: Arianit Kukaj Date: Mon, 26 May 2025 20:43:31 +0000 Subject: . --- Ignore iproutes.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Ignore iproutes.md (limited to 'Ignore iproutes.md') 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" + -- cgit v1.2.3