cernekee / ocproxy

OpenConnect proxy
Other
366 stars 39 forks source link

script is run up , but socks5 proxy is not ok #20

Open dawei101 opened 2 years ago

dawei101 commented 2 years ago
echo xxxxxxx | openconnect --user=xxxxxxxxxx --script-tun --script "ocproxy  -D 11080" host

After start openconnect, ocproxy is runing, sock5 proxy could telnet, but could not connect to internet.

The /tmp/tcpdump is like below:

10.3.180.233.49153 > 8.8.8.8.53: U  52
10.3.180.233.49153 > 8.8.8.8.53: U  44
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  35
10.3.180.233.49153 > 8.8.8.8.53: U  44
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  39
10.3.180.233.49153 > 8.8.8.8.53: U  52
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  44
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  46
10.3.180.233.49153 > 8.8.8.8.53: U  46
cmccoy98 commented 2 years ago

I too am trying to run a browser through the socks5 proxy connection and can't seem to get it to work.