Comments (10)
You could try changing the port to something else, like 10001. Just change accept = 10000
to accept = 10001
in the config.
from sslsocks.
Thanks.
I tried different ports, 10001,1002,... or 8000,.... but same error.
from sslsocks.
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.
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.
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.
What is your full config file?
from sslsocks.
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.
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.
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.
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)
- help me Constants HOT 2
- integration with OpenVPN HOT 5
- android 10 fix HOT 2
- Google Play HOT 2
- Android 10 error resolving 127.0.0.1 HOT 1
- stunnel 5.56 update
- Can't open pem/pfx files which are password protected HOT 2
- PKCS12: Error "Header too long" HOT 5
- Question: Using android-integrated CA-Certs possible? HOT 4
- Version 5.57 released HOT 3
- UPDATE API 29
- Feature Request: QR code scanner
- Caused by: java.io.IOException: error=13, Permission denied HOT 2
- binding service to addres 127.0.0.1:* already in use
- connected remote server from ***** HOT 2
- How to use it? HOT 1
- Archived
- "=" sign expected between the "[...]" ? HOT 4
- update to stunnel 5.55
- adding config to APK HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sslsocks.