From 44a6bc36240e638fb6f5054321bdd21c2c5e97cc Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Thu, 25 May 2023 21:47:04 +0200 Subject: Stop hardcoding Wireguard address --- tw/system/lud.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tw/system/lud.scm') 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::*")) -- cgit v1.2.3