WireGuard as a “Switch”



Not really a switch, but similar. If you want to exchange data from two network using a host on Internet, this post helps.

In this case, Router 1 want to use Router 2 as gateway for some destinations. All 3 Nodes here have Internet public IP address.

I set-up a network, 192.168.20.0/24, using WireGuard. Our work are all on the Server in the middle.

If I put such config to /etc/wireguard/wg0.conf and run wg-quick up wg0, then I may lost connection to the server, because of the default route.

Now, add a route table to your system and change wg0.conf, let’s name it wgswitch and table id 201.

Then modify wg0.conf.

Now when you establish connections, you’ll be able to ping from router1 to router2 using 192.168.20.0/24 network.

But if you want to try a custom network, that’s not enough, you need extra route and ip rule for your network



WireGuard as a “Switch” by @sskaje: https://sskaje.me/2019/11/wireguard-as-a-switch/

List of macOS Installer Download Links



10.15 Catalina

AppStore only, you need a macOS < 10.15 to download this installer

https://itunes.apple.com/cn/app/macos-catalina/id1466841314?ls=1&mt=12

10.14 Mojave

AppStore only, you need a macOS < 10.14 to download this installer

https://apps.apple.com/cn/app/macos-mojave/id1398502828?mt=12

10.13 High Sierra

AppStore only, you need a macOS < 10.13 to download this installer

https://apps.apple.com/cn/app/macos-high-sierra/id1246284741?ls=1&mt=12

10.12 Sierra

http://updates-http.cdn-apple.com/2019/cert/061-39476-20191023-48f365f4-0015-4c41-9f44-39d3d2aca067/InstallOS.dmg

10.11 El Captain

http://updates-http.cdn-apple.com/2019/cert/061-41424-20191024-218af9ec-cf50-4516-9011-228c78eda3d2/InstallMacOSX.dmg

10.10 Yosemite

http://updates-http.cdn-apple.com/2019/cert/061-41343-20191023-02465f92-3ab5-4c92-bfe2-b725447a070d/InstallMacOSX.dmg

10.9 Mavericks or earlier

Idk



List of macOS Installer Download Links by @sskaje: https://sskaje.me/2019/11/list-of-macos-installer-download-links/

Incoming search terms: