diff --git a/gateway.wg0.conf b/gateway.wg0.conf new file mode 100644 index 0000000..77be676 --- /dev/null +++ b/gateway.wg0.conf @@ -0,0 +1,10 @@ +[Interface] +Address = 10.1.0.1/24 +SaveConfig = true +ListenPort = 51820 +PrivateKey = ... + +[Peer] +PublicKey = ... +AllowedIPs = 10.1.0.2/32 +Endpoint = 46.148.105.76:64424 diff --git a/iota.wg0.conf b/iota.wg0.conf new file mode 100644 index 0000000..325aef9 --- /dev/null +++ b/iota.wg0.conf @@ -0,0 +1,11 @@ +[Interface] +PrivateKey = ... +Table = off +PostUp = route delete default; route add 45.89.228.240 192.168.88.1; route add default 10.1.0.1 +PreDown = route delete default; route delete 45.89.228.240; route add default 192.168.88.1 +Address = 10.1.0.2/24 + +[Peer] +PublicKey = ... +AllowedIPs = 0.0.0.0/0 +Endpoint = 45.89.228.240:51820