aboutsummaryrefslogtreecommitdiff
path: root/tw/system/lud.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-05-25 21:47:04 +0200
committerTimo Wilken2023-05-25 23:25:19 +0200
commit44a6bc36240e638fb6f5054321bdd21c2c5e97cc (patch)
tree9dc0d227e9e8fd4b3a199847d52c5f60f2d0a51f /tw/system/lud.scm
parent58ccf1c810c6eed4280455ff76906e435005e912 (diff)
Stop hardcoding Wireguard address
Diffstat (limited to 'tw/system/lud.scm')
-rw-r--r--tw/system/lud.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tw/system/lud.scm b/tw/system/lud.scm
index 2dbb512e..846f29d0 100644
--- a/tw/system/lud.scm
+++ b/tw/system/lud.scm
@@ -99,7 +99,7 @@ SSLSessionCacheTimeout 1200
;; Don't try to configure port forwarding automatically.
(port-forwarding-enabled? #f)
;; Make RPC interface only accessible via WireGuard.
- (rpc-bind-address "10.0.0.2")
+ (rpc-bind-address (server-wireguard-address host-name))
(rpc-whitelist-enabled? #t)
(rpc-whitelist '("127.0.0.1" "::1"
"10.0.0.*" "fc00::*"))