Changed wireguard proxy client configurations and added user and system configuration elements.

This commit is contained in:
2022-03-26 11:32:48 +00:00
parent 79f086ad23
commit babbc67a66
4 changed files with 9 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
{"HTTP": ""},
{"EXEC": "/ready.sh"}
],
"ENV_FILES": [ "/etc/user/config/wireguard-proxy.json" ],
"ENV_FILES": [ "/etc/system/config/proxy.json" ],
"EXTRA": "--privileged",
"DEPEND": "null",
"START_ON_BOOT": "false",

View File

@@ -43,7 +43,7 @@
{"HTTP": ""},
{"EXEC": "/ready.sh"}
],
"ENV_FILES": [ "/etc/user/config/wireguard-proxy.json" ],
"ENV_FILES": [ "/etc/user/config/user.json", "/etc/system/config/proxy.json" ],
"EXTRA": "--privileged",
"DEPEND": "null",
"START_ON_BOOT": "false",

View File

@@ -2,7 +2,6 @@
"firewall_loadbalancer_wireguard_prerouting": {
"NAME": "wireguard_proxy_client",
"PREROUTING": "true",
"SOURCE_IP": "10.0.1.1",
"TARGET_IP": "172.18.100.2",
"TYPE": "tcp",
"SOURCE_PORT_1": "80",
@@ -17,6 +16,7 @@
"TARGET_IP": "172.18.100.0",
"TARGET_PORT_1": "80",
"TARGET_PORT_2": "443",
"TYPE": "tcp",
"COMMENT": "edeg3e98"
}
}

6
user.json Normal file
View File

@@ -0,0 +1,6 @@
{
},
"firewall_loadbalancer_wireguard_prerouting": {
"SOURCE_IP": "10.0.1.1"
}
}