Indice del forum www.zeroshell.net
Distribuzione Linux ZeroShell
 
 FAQFAQ   CercaCerca  GruppiGruppi   RegistratiRegistrati 
 ProfiloProfilo  Log inLog in   Messaggi privatiMessaggi privati 

OpenVPN for iOS/Android TUN configuration problems

 
Nuovo argomento   Rispondi    Indice del forum -> VPN
Precedente :: Successivo  
Autore Messaggio
moricio



Registrato: 01/05/17 20:55
Messaggi: 1

MessaggioInviato: Lun Mag 01, 2017 9:06 pm    Oggetto: OpenVPN for iOS/Android TUN configuration problems Rispondi citando

Hello!

I have tried this instructions

http://www.zeroshell.net/listing/Mobile-Android-Ipad-Openvpn-Zeroshell.pdf

with no luck. I'm running version 3.7.1 and something is not working.

When I try to execute these commands manually:

Codice:
/sbin/ifconfig VPN00 down
openvpn --rmtun --dev-type tap --dev VPN00
openvpn --mktun --dev-type tun --dev VPN00
/sbin/ifconfig VPN00 up


The second comand "openvpn --rmtun --dev-type tap --dev VPN00" returns ...

Codice:
ERROR: Cannot ioctl TUNSETIFF VPN00: Device or resource busy (errno=16)


I have searched for deep instructions and I have found none.

Does anyone have a more updated instructions? Specally related to the 3.7.1 version of ZS?

I did as follows:
1. Setup a new virtual machine with virtualbox with 2 network interface. One is bridged to my PC network and the other is private
2. I followed all the instructions to the detail and didn't work.

Any ideas.

Thanks in advance to all of you who read and help!

Mauricio Ramirez
Top
Profilo Invia messaggio privato
redfive



Registrato: 26/06/09 22:21
Messaggi: 774

MessaggioInviato: Mar Mag 02, 2017 9:59 pm    Oggetto: Rispondi citando

Hi Mauricio, for ZS 3.7.1, I have these lines in Pre-Boot
Codice:
rm -f /root/kerbynet.cgi/scripts/createvpn
cp -f /Database/script_vpn2/createvpn /root/kerbynet.cgi/scripts
rm -f /root/kerbynet.cgi/scripts/removevpn
cp -f /Database/script_vpn2/removevpn /root/kerbynet.cgi/scripts
rm -f /root/kerbynet.cgi/scripts/tapcreate
cp -f /Database/script_vpn2/tapcreate /root/kerbynet.cgi/scripts
rm -f /root/kerbynet.cgi/scripts/vpn_ctl
cp -f /Database/script_vpn2/vpn_ctl /root/kerbynet.cgi/scripts
rm -f /root/kerbynet.cgi/scripts/vpnconfig
cp -f /Database/script_vpn2/vpnconfig /root/kerbynet.cgi/scripts
And this one in Post-boot
Codice:
/Database/script_vpn2/start_VPN00 & > /Database/script_vpn2/VPN00.log &
And since seems that you are able to read in Italian Smile , you may take a look at this 3d,it may be helpful, and make also sure to copy and edit the original scripts which came with ZS 3.7.1, older scripts no longer work with this release.
I have, on mine, 5 VPNs tun, one connected as site to site with an Ubiquiti Edgerouter, and four available for android devices, all work perfectly.
Cheers,
jonatha
Top
Profilo Invia messaggio privato
Mostra prima i messaggi di:   
Nuovo argomento   Rispondi    Indice del forum -> VPN Tutti i fusi orari sono GMT + 1 ora
Pagina 1 di 1

 
Vai a:  
Non puoi inserire nuovi argomenti
Non puoi rispondere a nessun argomento
Non puoi modificare i tuoi messaggi
Non puoi cancellare i tuoi messaggi
Non puoi votare nei sondaggi


Powered by phpBB © 2001, 2005 phpBB Group
phpbb.it