Giter VIP home page Giter VIP logo

Comments (10)

comp500 avatar comp500 commented on June 15, 2024

You could try changing the port to something else, like 10001. Just change accept = 10000 to accept = 10001 in the config.

from sslsocks.

FxMath123 avatar FxMath123 commented on June 15, 2024

Thanks.
I tried different ports, 10001,1002,... or 8000,.... but same error.

from sslsocks.

comp500 avatar comp500 commented on June 15, 2024

What is the output of netstat -at in a terminal emulator (like this one) when SSLSocks isn't running? If you are rooted, run the command with sudo.

from sslsocks.

FxMath123 avatar FxMath123 commented on June 15, 2024

SSLSocks is off. Results are:
hero2lte:/ $ netstat -at
Active Internet connections (established and servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 Samsung-Galaxy-S7:60995 ec2-52-58-22-25.eu:5223 TIME_WAIT
tcp 0 0 Samsung-Galaxy-S7:33452 ec2-35-176-97-12.e:5228 TIME_WAIT
tcp6 0 0 ::ffff:192.168.1.:57969 ::ffff:172.217.22:https ESTABLISHED
tcp6 0 0 ::ffff:192.168.1.:56594 ::ffff:74.125.71.1:5228 ESTABLISHED
tcp6 0 0 ::ffff:192.168.1.:57970 ::ffff:172.217.22:https ESTABLISHED
tcp6 0 1 ::ffff:192.168.1.:36451 ::ffff:203.205.17:https SYN_SENT
tcp6 0 1 ::ffff:192.168.1.:46177 ::ffff:203.205.15:https SYN_SENT
tcp6 0 1 ::ffff:192.168.1.:34883 ::ffff:203.205.179:http SYN_SENT
tcp6 0 0 ::ffff:192.168.1.:40053 ::ffff:179.60.192:https ESTABLISHED
tcp6 1 0 ::ffff:192.168.1.:60669 ::ffff:172.217.18.:http CLOSE_WAIT
tcp6 0 0 ::ffff:192.168.1.:50722 ::ffff:216.58.210:https ESTABLISHED
hero2lte:/ $

from sslsocks.

FxMath123 avatar FxMath123 commented on June 15, 2024

and here run SSLSocks on port: 10002

hero2lte:/ $ netstat -at
Active Internet connections (established and servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:10002 0.0.0.0:* LISTEN
tcp 417 0 Samsung-Galaxy-S7:33505 fra16s25-in-f10.1:https CLOSE_WAIT
tcp 1 0 Samsung-Galaxy-S7:58738 fra16s08-in-f204.1:http CLOSE_WAIT
tcp 1 0 Samsung-Galaxy-S7:42700 wq-in-f114.1e100.n:http CLOSE_WAIT
tcp 0 0 Samsung-Galaxy-S7:35201 ec2-35-177-52-76.:https TIME_WAIT
tcp 0 1 Samsung-Galaxy-S7:42347 149.154.167:xmpp-client SYN_SENT
tcp 0 1 Samsung-Galaxy-S7:34205 149.154.167.91:https SYN_SENT
tcp 0 1 Samsung-Galaxy-S7:39836 149.154.167.92:https SYN_SENT
tcp6 1 0 ::ffff:192.168.1.:60862 ::ffff:216.58.208:https CLOSE_WAIT
tcp6 0 0 ::ffff:192.168.1.:56594 ::ffff:74.125.71.1:5228 ESTABLISHED
tcp6 1 0 ::ffff:192.168.1.:37014 ::ffff:172.217.23:https CLOSE_WAIT
tcp6 1 0 ::ffff:192.168.1.:37016 ::ffff:172.217.23:https CLOSE_WAIT
tcp6 1 0 ::ffff:192.168.1.:60860 ::ffff:216.58.208:https CLOSE_WAIT
tcp6 1 0 ::ffff:192.168.1.:37015 ::ffff:172.217.23:https CLOSE_WAIT
tcp6 0 0 ::ffff:192.168.1.:40053 ::ffff:179.60.192:https ESTABLISHED
tcp6 0 0 ::ffff:192.168.1.:47857 ::ffff:172.217.18:https ESTABLISHED
tcp6 1 0 ::ffff:192.168.1.:39255 ::ffff:172.217.21:https CLOSE_WAIT
tcp6 0 0 ::ffff:192.168.1.:47865 ::ffff:172.217.18:https ESTABLISHED
tcp6 0 0 ::ffff:192.168.1.:39273 ::ffff:172.217.21:https ESTABLISHED
hero2lte:/ $

And shows "Address already in use(98)".

from sslsocks.

comp500 avatar comp500 commented on June 15, 2024

What is your full config file?

from sslsocks.

FxMath123 avatar FxMath123 commented on June 15, 2024

Client side:
foreground =yes
client=yes
pid=/data/user/link.infra.sslsocks/files/pid
[squid]
accept = 10002
connect =x.x.x.x:8888

Server side:
client = no
[squid]
accept = 8888
connect = 127.0.0.1:3128
cert = /etc/stunnel/stunnel.pem

I tried by SSH instead squid for port:443 server but same error.

I put stunnel.pem in certs/KEYS.

from sslsocks.

comp500 avatar comp500 commented on June 15, 2024

If it's showing up in netstat, that means that it is actually running. I'm not sure why it shows the error, if it does not appear in netstat when SSLSocks is not running. Does it work regardless of the error?

from sslsocks.

FxMath123 avatar FxMath123 commented on June 15, 2024

Not, it doesn't work and changes my IP.
must change my IP to my external server IP and is this transfer all my mobile traffic through my stunnel to my server? right?
UDP & TCP?
And I will check more to find the problem and update here.
This is the first App I found use Stunnel, I'm using on my windows OS(Proxifier+Stunnel(squid)) and try to setup Android client.

from sslsocks.

comp500 avatar comp500 commented on June 15, 2024

No, SSLSocks doesn't have a VPN service (I originally planned to implement it but never did), it only tunnels single TCP connections through TLS.

It's basically just a wrapper for stunnel, so similarly to your Windows computer (where you need Proxifier) you'll need another app, like shadowsocks or ProxyDroid, to tunnel your phone's internet through stunnel and squid.

from sslsocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.