Stunnel implementation

Support requests about VPN Client Pro
Post Reply
rorus
Posts: 4
Joined: Thu Mar 04, 2021 8:38 pm

Stunnel implementation

Post by rorus »

Hello,
I've been using this great application for nearly 1 year and happy with it.
In some countries censorship able to block Openvpn protocol. I escaped it by setting XOR-obfuscation both in servers and clients and now works OK. However, there is high battery consuming on Android, because of working the processor extra at obfuscation, not good.
There is another way to avoid the censorship blocks: to tunnel Openvpn traffic inside tls-wrapper Stunnel. This way Openvpn+Stunnel work nice at strict countries and consume the battery reasonably.

My question is: is it possible to implement Stunnel in the future releases? It would be awesome.
The official web-site https://www.stunnel.org
At Play Market working version is https://play.google.com/store/apps/deta ... a.sslsocks
The same at Github: https://github.com/comp500/SSLSocks/
Thank you,
Ahmed
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: Stunnel implementation

Post by admin »

Hello,

thank you for the suggestion.
Maybe you can use the "SSLSocks TLS/SSL tunnel" also with "VPN Client Pro"
Please try to follow these steps:
  • configure the "SSLSocks TLS/SSL tunnel" to listen on localhost
  • edit the VPN profile
  • tap on "App filter"
  • select "The vpn can be used by any apps, except for the following apps"
  • add the "SSLSocks TLS/SSL tunnel" app
  • go back
  • tap on "Remote servers"
  • edit the remote server to connect on the localhost stunnel listen port
  • save the changes
rorus
Posts: 4
Joined: Thu Mar 04, 2021 8:38 pm

Re: Stunnel implementation

Post by rorus »

Thank you, yes sure, I've been using this method since 3 months and it works nice.
The question is that you implemented http, socks and obfs proxies options in Openvpn-'Remote servers' settings. Why not Stunnel?
It needs server address, port and password. Only.
By the way, Stunnel supports Round Robin load-balancing between IPv4 and IPv6 Openvpn servers, the appropriate section in its server-congig is:
[openvpn]
accept = ipv4-address:port
failover = rr
connect = ipv4_or_ipv6_address:port
connect = ipv4_or_ipv6_address:port
connect = ipv4_or_ipv6_address:port
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: Stunnel implementation

Post by admin »

Thank you for the suggestion.
I will think about...
Post Reply