feat: wireguard test

This commit is contained in:
Nick 2025-07-01 16:37:21 -05:00
parent d7360e2e63
commit f9e0ffb400
2 changed files with 3 additions and 2 deletions

View file

@ -47,7 +47,7 @@ in
"${configHelpers.host}" = {
extraConfig = ''
@allowed_ips {
remote_ip ${mars.wireguard.ip0} 192.168.50.1
remote_ip ${mars.wireguard.ip0}
}
handle @allowed_ips {
@ -56,7 +56,7 @@ in
reverse_proxy ${ceres.wireguard.ip0}:${toString configHelpers.service.ports.port0}
}
handle {
respond "Your IP: {remote_host}" 200
respond "Access Denied" 403
}
tls ${configHelpers.service.ssl.cert} ${configHelpers.service.ssl.key}
'';