mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: wireguard test
This commit is contained in:
parent
d7360e2e63
commit
f9e0ffb400
2 changed files with 3 additions and 2 deletions
|
@ -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}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue