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