Start socks server right before running the blocking runFilter()

pull/19/head
David Stainton 9 years ago
parent 5ea1977322
commit 28e89eb149

@ -168,5 +168,14 @@ func main() {
}()
*/
socksConfig := SocksChainConfig{
TargetSocksNet: "tcp",
TargetSocksAddr: "127.0.0.1:9050",
ListenSocksNet: "tcp",
ListenSocksAddr: "127.0.0.1:8850",
}
wg := sync.WaitGroup{}
InitSocksListener(&socksConfig, &wg)
fw.runFilter()
}

Loading…
Cancel
Save