Portal Chamar Táxi

Instalação de VPN em receptor E2

orion13

GF Prata
Entrou
Out 4, 2009
Mensagens
111
Gostos Recebidos
0
Pretendo instalar uma vpn num receptor E2, com imagem openpli.
Instalei a openvpn por telnet (opkg install openvpn). Para testar utilizei o serviço grátis da vpnbook.
Descarreguei o ficheiro .ovpn fornecido pelo serviço vpnbook. Conforme mencionado num manual que pesquisei online, editei o referido ficheiro e copiei a informação necessária para criar os ficheiros ca.crt, whatever.crt e whatever.key. Apaguei os dados copiados de .ovpn
Criei um ficheiro login.conf com o user e password mencionados na vpnbook.
Renomeei o ficheiro .ovpn para openvpn.conf, acrescentando o seguinte:
ca ca.crt
cert whatever.crt
key whatever.key
auth-user-pass login.conf

Copiei todos os ficheiros para /etc/openvpn
Por telnet, iniciei a vpn /etc/init.d/openvpn start

Quando inicia dá erro de login. Conforme disse anteriormente, no ficheiro login.conf contem o user e pass indicadas em vpnbook.com
Aceito ajuda e/ou melhores soluções!
 

Sharkman

GF Ouro
Membro Inactivo
Entrou
Ago 20, 2014
Mensagens
1,019
Gostos Recebidos
0
Pretendo instalar uma vpn num receptor E2, com imagem openpli.
Instalei a openvpn por telnet (opkg install openvpn). Para testar utilizei o serviço grátis da vpnbook.
Descarreguei o ficheiro .ovpn fornecido pelo serviço vpnbook. Conforme mencionado num manual que pesquisei online, editei o referido ficheiro e copiei a informação necessária para criar os ficheiros ca.crt, whatever.crt e whatever.key. Apaguei os dados copiados de .ovpn
Criei um ficheiro login.conf com o user e password mencionados na vpnbook.
Renomeei o ficheiro .ovpn para openvpn.conf, acrescentando o seguinte:
ca ca.crt
cert whatever.crt
key whatever.key
auth-user-pass login.conf

Copiei todos os ficheiros para /etc/openvpn
Por telnet, iniciei a vpn /etc/init.d/openvpn start

Quando inicia dá erro de login. Conforme disse anteriormente, no ficheiro login.conf contem o user e pass indicadas em vpnbook.com
Aceito ajuda e/ou melhores soluções!

Boas, já resolveste este problema?
 

gandamaluko

GF Bronze
Membro Inactivo
Entrou
Set 24, 2006
Mensagens
71
Gostos Recebidos
0
Viva Amigo,

Já conseguiste.. ando numa "luta" idêntica e gostava de trocar opiniões.

Cumps
 

perereco

GF Prata
Entrou
Fev 11, 2007
Mensagens
130
Gostos Recebidos
0
Olá, retirei doutro sitio, pessoalmente não experimentei, pelo que nada posso garantir.
Espero que ajude


"Below is a quick guide to setting up OpenVPN as a client (that is, you have a subscription to a VPN service and want your box to connect to that). This is not a local VPN guide. I will post this at a later time.

** What you will Need **

- E2 Box. DM or VU+ or similar
- The best images for this are Gemini, VixTeam (for VU) or New Dream Elite. There are more, but these are stable
- Latest box drivers - usually applied when installing the latest image
- a subscription to a VPN service using SSL/OpenVPN - Search google for this
- Subscription files (certificates, keys and passwords)
- DCC Util for E2 or FTP software

** Steps - Read Carefully **

1. You will need the following files to be upload to the OpenVPN folder in your box. This is located at var/etc/openvpn

client.conf configuration file (i attach one as a base for you to use) - look inside for instructions and some of it will need to come from your VPN provider. Please make sure to check all settings with them, such as compression, timeouts, etc..

ca.crt
XXXXX.key
XXXXX.crt
Where XXXXX is the file name from your provider
All 4 files go into the OpenVPN folder

NOTICE: Please make sure your box has the correct timezone and actual time of where you are, or the VPN will fail. Make sure that you scan for channels and view at least a few just to get the time synced with the Satellite
Now, go to the OpenVPN pannel (Usually under Blue Pannel or pressing the Blue Button) and activate it.

The indicator will go from Red to Yellow, or in the New Dream Elite, its a switch.
View the logs to see your connection or try accessing something that was previously blocked or not working.

That's it. You are using OpenVPN as a client through a service provider.

The config file attached is a base file. A lot can be added and modified. To learn more, view the openvpn site or google for extra functionality. However, this is the basic and works fine.

NOTICE: Again, please make sure to check teh actual settings by your provider for each line in the config file. Replace/amend as necessary."
 

Anexos

  • client.zip
    494 bytes · Visualizações: 757

xacazulux

GF Bronze
Membro Inactivo
Entrou
Ago 2, 2011
Mensagens
81
Gostos Recebidos
0
boas
obrigado amigo
este manual penso que é só para cliente, mas ja nao falta tudo
cumprimentos
 

perereco

GF Prata
Entrou
Fev 11, 2007
Mensagens
130
Gostos Recebidos
0
Bem, googlei mais um pouco e visitei este link:

xxxx://wiki.blue-panel.com/index.php/GP3.2_OpenVPN_%28en%29

Cumprimentos
 
Última edição:
Topo