From 62a07eb4f31b9d9aaa4e517f943b605068621b78 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 8 Jul 2021 12:03:57 +0200 Subject: [PATCH] fix --- conf/config.default.toml | 4 ++-- conf/systemd.service | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/config.default.toml b/conf/config.default.toml index 513a775..0f34137 100644 --- a/conf/config.default.toml +++ b/conf/config.default.toml @@ -83,10 +83,10 @@ delete_after = "30m" [proxy] # Dispatch will make all outgoing connections through the specified proxy when enabled -enabled = false +enabled = true protocol = "socks5" host = "127.0.0.1" -port = 1080 +port = __PORT__ username = "" password = "" diff --git a/conf/systemd.service b/conf/systemd.service index 2247ddd..b254212 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ After=network-online.target Type=simple User=__APP__ Group=__APP__ -ExecStart=__FINALPATH__/dispatch -a 0.0.0.0 -p __PORT__ +ExecStart=__FINALPATH__/dispatch -a 127.0.0.1 -p __PORT__ Restart=on-failure RestartSec=5 StartLimitInterval=60s