Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Where am I making mistakes? (OpenVPN, Stunnel and SSLDroid)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Where am I making mistakes? (OpenVPN, Stunnel and SSLDroid)

VPS OS: Ubuntu 14.04

Phone OS: Android 5.0.2

Computer OS: Windows 8.1

1) Open SSH.

Wget Nyr openvpn installer, next, next and successfully installation. (TCP 1194)

2) Open Mobile SFTP.

Pull myvpn.ovpn config.

3) Open OpenVPN Connect in Android phone. Import config file. Successfully connection. Ok, no problem.

4) Open SSH.

--4.1) apt-get install stunnel4

--4.2) nano /etc/stunnel/stunnel.conf

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

--4.3) openssl genrsa -out key.pem 2048
openssl req -new -x509 -key key.pem -out cert.pem -days 1095
cat key.pem cert.pem >> /etc/stunnel/stunnel.pem

--4.4) nano /etc/default/stunnel4

And change ENABLED to 1. (ENABLED=1)

--4.5) /etc/init.d/stunnel4 restart

Ok, successfully restart.

5) Open SSLDroid. Add tunnel.

Local port: 1194 (is it correct?) remote host: my vps ip. Remote port: 8888 (is it correct?)

6) edit config file myvpn.ovpn

remote 127.0.01 1194
route my_vps_ip 255.bla.bla net_gateway

7) Open OpenVPN Connect in Android phone. Import new config file. Show NETWORK _EOF_ERROR bla bla error!! 56, 112, 168 bytes in.?? What error? After 60 secons show time-out.

SSH over SSL, Squid Proxy over SSL etc. I can not. Why not connection? Where am I making mistakes?

Comments

  • I had trouble getting SSLDroid working too and settled for Ki4a instead. Poorman VPN over SSH, but it works flawlessly on Android...

  • @agonyzt said:
    I had trouble getting SSLDroid working too and settled for Ki4a instead. Poorman VPN over SSH, but it works flawlessly on Android...

    I'm not talking about the SSH tunnel. SSH over Stunnel..

  • No one to help?

  • journalism intensifies

    Thanked by 1quick
  • More like foliohat

Sign In or Register to comment.