No firewall setup needed for Shadowsocks

This commit is contained in:
Quentin McGaw
2020-10-26 02:52:10 +00:00
parent 53fe08ea26
commit 0c81154f36
2 changed files with 2 additions and 19 deletions

View File

@@ -235,7 +235,7 @@ func _main(background context.Context, args []string) int { //nolint:gocognit,go
wg.Add(1)
go tinyproxyLooper.Run(ctx, wg)
shadowsocksLooper := shadowsocks.NewLooper(firewallConf, allSettings.ShadowSocks, logger, defaultInterface)
shadowsocksLooper := shadowsocks.NewLooper(allSettings.ShadowSocks, logger, defaultInterface)
restartShadowsocks := shadowsocksLooper.Restart
wg.Add(1)
go shadowsocksLooper.Run(ctx, wg)