Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 22185

Beginner Basics • Re: Routing specific host via WireGuard to Internet through MT VPS

$
0
0
Since the local MT would need to access the internet through WG, I would put allowed-addresses=0.0.0.0/0 on the peer for starters. After that, I would add the following routing rule before the one you created:
Code:
/routing ruleadd action=lookup-only-in-table dst-address=10.0.0.0/24 table=main
Since the VPS MT should access the 10.0.0.158 host only, you could add it as an allowed address to the VPS peer instead of the whole subnet

Statistics: Posted by TheCat12 — Mon Jan 27, 2025 9:01 pm



Viewing all articles
Browse latest Browse all 22185

Trending Articles