IfState: Difference between revisions
ifstate: add netns examples |
m ifstate: remove "advertisement" |
||
Line 86: | Line 86: | ||
==== to separate provider network from grt with igp ==== | ==== to separate provider network from grt with igp ==== | ||
Another practical application could involve setting up a VPN gateway on a virtual server hosted by a provider | Another practical application could involve setting up a VPN gateway on a virtual server hosted by a provider. Imagine you’re using a WireGuard tunnel (<code>wg0</code>) to connect to a network that provides internet access, alongside a client peer WireGuard endpoint (<code>wg1</code>) that allows your personal devices to connect. | ||
In this setup, you’d need to configure a default route through <code>wg0</code> to forward internet traffic via the first WireGuard tunnel. At the same time, you’d also require a default route to your provider’s network to ensure your server remains accessible from the internet—essential for your devices to connect to <code>wg1</code> and for <code>wg0</code> to maintain its peer connection. | In this setup, you’d need to configure a default route through <code>wg0</code> to forward internet traffic via the first WireGuard tunnel. At the same time, you’d also require a default route to your provider’s network to ensure your server remains accessible from the internet—essential for your devices to connect to <code>wg1</code> and for <code>wg0</code> to maintain its peer connection. |