diff options
| author | Paul Buetow <paul@buetow.org> | 2025-05-03 22:20:31 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-05-03 22:20:31 +0300 |
| commit | 6012813eb9f79fa9c5cc2d445d364814649e4a45 (patch) | |
| tree | 14eb1f510076419465db0e9e9fa4908ceeec83b2 | |
| parent | cc92b6d7ab12b8e0eee9fdb2a49687aeffd5716b (diff) | |
more on this
| -rw-r--r-- | README.md | 17 | ||||
| -rw-r--r-- | wireguardmeshgenerator.yaml | 5 |
2 files changed, 17 insertions, 5 deletions
@@ -33,6 +33,9 @@ paul@f0:~ % cat <<END | doas tee -a /etc/hosts 192.168.2.120 r0.wg0 r0.wg0.wan.buetow.org 192.168.2.121 r1.wg0 r1.wg0.wan.buetow.org 192.168.2.122 r2.wg0 r2.wg0.wan.buetow.org + +192.168.2.110 blowfish.wg0 blowfish.wg0.wan.buetow.org +192.168.2.111 fishfinger.wg0 fishfinger.wg0.wan.buetow.org END ``` @@ -88,6 +91,20 @@ inet 192.168.2.110 255.255.255.0 NONE up !/usr/local/bin/wg setconf wg0 /etc/wireguard/wg0.conf END +blowfish$ +cat <<END | doas tee -a /etc/hosts + +192.168.2.130 f0.wg0 f0.wg0.wan.buetow.org +192.168.2.131 f1.wg0 f1.wg0.wan.buetow.org +192.168.2.132 f2.wg0 f2.wg0.wan.buetow.org + +192.168.2.120 r0.wg0 r0.wg0.wan.buetow.org +192.168.2.121 r1.wg0 r1.wg0.wan.buetow.org +192.168.2.122 r2.wg0 r2.wg0.wan.buetow.org + +192.168.2.110 blowfish.wg0 blowfish.wg0.wan.buetow.org +192.168.2.111 fishfinger.wg0 fishfinger.wg0.wan.buetow.org +END ``` ### Install the config diff --git a/wireguardmeshgenerator.yaml b/wireguardmeshgenerator.yaml index ea9956b..0581086 100644 --- a/wireguardmeshgenerator.yaml +++ b/wireguardmeshgenerator.yaml @@ -13,7 +13,6 @@ hosts: wg0: domain: 'wg0.wan.buetow.org' ip: '192.168.2.130' - exclude_peers: [fishfinger, blowfish] f1: os: FreeBSD ssh: @@ -27,7 +26,6 @@ hosts: wg0: domain: 'wg0.wan.buetow.org' ip: '192.168.2.131' - exclude_peers: [fishfinger, blowfish] f2: os: FreeBSD ssh: @@ -41,7 +39,6 @@ hosts: wg0: domain: 'wg0.wan.buetow.org' ip: '192.168.2.132' - exclude_peers: [fishfinger, blowfish] r0: os: Linux ssh: @@ -94,7 +91,6 @@ hosts: wg0: domain: 'wg0.wan.buetow.org' ip: '192.168.2.110' - exclude_peers: [f0, f1, f2] fishfinger: os: OpenBSD ssh: @@ -108,4 +104,3 @@ hosts: wg0: domain: 'wg0.wan.buetow.org' ip: '192.168.2.111' - exclude_peers: [f0, f1, f2] |
