Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 06/08/2015, à 22:47

Jmar

Re : Open VPN

bash: erreur de syntaxe près du symbole inattendu « ( »

donc je vais les renommer pour que ça passe...

Hors ligne

#27 Le 06/08/2015, à 22:52

Cyralien

Re : Open VPN

Renomme pour l'instant que  AT1-(Autriche).ovpn  en  AT1.conf et donne le retour de :

cat ~/Bureau/Freedom-IP/AT1.conf

Dernière modification par Cyralien (Le 06/08/2015, à 22:53)

Hors ligne

#28 Le 06/08/2015, à 23:01

Jmar

Re : Open VPN

jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ cat ~/Bureau/Freedom-IP/AT1.conf
client
<connection>
remote at1.freedom-ip.com 443 tcp
remote at1.freedom-ip.network 443 tcp
remote 94.23.190.196 443 tcp
</connection>
<connection>
remote at1.freedom-ip.com 443 udp
remote at1.freedom-ip.network 443 udp
remote 94.23.190.196 443 udp
</connection>
<connection>
remote at1.freedom-ip.com 53 udp
remote at1.freedom-ip.network 53 udp
remote 94.23.190.196 53 udp
</connection>
<connection>
remote at1.freedom-ip.com 53 tcp
remote at1.freedom-ip.network 53 tcp
remote 94.23.190.196 53 tcp
</connection>
<connection>
remote at1.freedom-ip.com 8080 tcp
remote at1.freedom-ip.network 8080 tcp
remote 94.23.190.196 8080 tcp
</connection>
<connection>
remote at1.freedom-ip.com 1194 udp
remote at1.freedom-ip.network 1194 udp
remote 94.23.190.196 1194 udp
</connection>
<connection>
remote at1.freedom-ip.com 1194 tcp
remote at1.freedom-ip.network 1194 tcp
remote 94.23.190.196 1194 tcp
</connection>
<connection>
remote at1.freedom-ip.com 110 tcp
remote at1.freedom-ip.network 110 tcp
remote 94.23.190.196 110 tcp
</connection>
<connection>
remote at1.freedom-ip.com 995 tcp
remote at1.freedom-ip.network 995 tcp
remote 94.23.190.196 995 tcp
</connection>

dev tun
resolv-retry infinite
ca ca.crt
tls-auth ta.key 1
auth-user-pass
cipher AES-256-CBC
comp-lzo
verb 1
nobind
ns-cert-type serverjean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ 

Voila ce que ça donne

Hors ligne

#29 Le 06/08/2015, à 23:09

Cyralien

Re : Open VPN

tape ces deux commandes l'une après l'autre :

sed -i s/"ca ca.crt"/"ca /etc/openvpn/ca.crt"/ ~/Bureau/Freedom-IP/AT1.conf
sed -i s/"tls-auth ta.key 1"/"tls-auth /etc/openvpn/ta.key 1"/ ~/Bureau/Freedom-IP/AT1.conf

et redonne le retour de commande pour voir si le changement est correct :

cat ~/Bureau/Freedom-IP/AT1.conf

Dernière modification par Cyralien (Le 06/08/2015, à 23:11)

Hors ligne

#30 Le 06/08/2015, à 23:12

Jmar

Re : Open VPN

jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ sed -i s/"ca ca.crt"/"ca /etc/openvpn/ca.crt"/ ~/Bureau/Freedom-IP/AT1.conf
sed: -e expression n°1, caractère 18: option inconnue pour `s'
jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ sed -i s/"tls-auth ta.key 1"/"tls-auth /etc/openvpn/ta.key 1"/ ~/Bureau/Freedom-IP/AT1.conf

eh oui je sais s'est chiant

Hors ligne

#31 Le 06/08/2015, à 23:18

Cyralien

Re : Open VPN

Merde j'ai oublié le g, donc fait :

sed -i s/"ca ca.crt"/"ca /etc/openvpn/ca.crt"/g ~/Bureau/Freedom-IP/AT1.conf
sed -i s/"tls-auth ta.key 1"/"tls-auth /etc/openvpn/ta.key 1"/g ~/Bureau/Freedom-IP/AT1.conf

et redonne le retour de commande pour voir si le changement est correct :

cat ~/Bureau/Freedom-IP/AT1.conf

Hors ligne

#32 Le 06/08/2015, à 23:20

Jmar

Re : Open VPN

jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ sed -i s/"ca ca.crt"/"ca /etc/openvpn/ca.crt"/g ~/Bureau/Freedom-IP/AT1.conf
sed: -e expression n°1, caractère 18: option inconnue pour `s'
jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ sed -i s/"tls-auth ta.key 1"/"tls-auth /etc/openvpn/ta.key 1"/g ~/Bureau/Freedom-IP/AT1.conf

Hors ligne

#33 Le 06/08/2015, à 23:24

Cyralien

Re : Open VPN

Il est tard, il manque des guillemets :

sed -i "s/"ca ca.crt"/"ca /etc/openvpn/ca.crt"/g" ~/Bureau/Freedom-IP/AT1.conf
sed -i "s/"tls-auth ta.key 1"/"tls-auth /etc/openvpn/ta.key 1"/g" ~/Bureau/Freedom-IP/AT1.conf
cat ~/Bureau/Freedom-IP/AT1.conf

Hors ligne

#34 Le 06/08/2015, à 23:26

Jmar

Re : Open VPN

jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ sed -i "s/"ca ca.crt"/"ca /etc/openvpn/ca.crt"/g" ~/Bureau/Freedom-IP/AT1.conf
sed: -e expression n°1, caractère 4: commande `s' inachevée
jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ sed -i "s/"tls-auth ta.key 1"/"tls-auth /etc/openvpn/ta.key 1"/g" ~/Bureau/Freedom-IP/AT1.conf

on reprend ça demain si tu travail???

Dernière modification par Jmar (Le 06/08/2015, à 23:26)

Hors ligne

#35 Le 06/08/2015, à 23:31

Jmar

Re : Open VPN

drwxrwxr-x 2 jean-marie jean-marie 4096 août   6 23:28 .
drwxr-xr-x 5 jean-marie jean-marie 4096 août   6 09:43 ..
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 AT1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 BE1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 BG1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 CA1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1306 août   6 09:22 CA2.conf
-rw-rw-r-- 1 jean-marie jean-marie 1288 août   6 09:22 CA3.conf
-rw-rw-r-- 1 jean-marie jean-marie 1748 août   6 09:22 ca.crt
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 CH1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 CZ1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 DE1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 DE2.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 DK1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 EE1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 ES1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 FI1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 FR1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 FR2.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 GR1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1288 août   6 09:22 HR1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 IE1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 IS1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 IT1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1288 août   6 09:22 LT1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 LUX1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 LV1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 MT1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 NL1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1288 août   6 09:22 NL2.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 NL3.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 NL4.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 NO1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1288 août   6 09:22 PL1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 PT1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1306 août   6 09:22 RO1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1288 août   6 09:22 RU1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 SE1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 SI1.conf
-rw-rw-r-- 1 jean-marie jean-marie  636 août   6 21:03 ta.key
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 UA1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1279 août   6 09:22 UK1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 US1.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 US2.conf
-rw-rw-r-- 1 jean-marie jean-marie 1297 août   6 09:22 US3.conf
jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ 

en tout cas j'ai preparer le travail...

Hors ligne

#36 Le 06/08/2015, à 23:31

Cyralien

Re : Open VPN

Sinon tu doubles clic sur le fichier AT1.conf et tu remplaces vers la fin du fichier :
ca ca.crt  par ca /etc/openvpn/ca.crt
et
tls-auth ta.key 1  par  tls-auth /etc/openvpn/ta.key 1
et tu donnes le retour de commande :

cat ~/Bureau/Freedom-IP/AT1.conf

Hors ligne

#37 Le 06/08/2015, à 23:33

Cyralien

Re : Open VPN

j'arrête a 23H45 et on reprend demain.

Edit : je me suis levé tôt en fait

Dernière modification par Cyralien (Le 06/08/2015, à 23:36)

Hors ligne

#38 Le 06/08/2015, à 23:37

Jmar

Re : Open VPN

jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ cat ~/Bureau/Freedom-IP/AT1.conf
client
<connection>
remote at1.freedom-ip.com 443 tcp
remote at1.freedom-ip.network 443 tcp
remote 94.23.190.196 443 tcp
</connection>
<connection>
remote at1.freedom-ip.com 443 udp
remote at1.freedom-ip.network 443 udp
remote 94.23.190.196 443 udp
</connection>
<connection>
remote at1.freedom-ip.com 53 udp
remote at1.freedom-ip.network 53 udp
remote 94.23.190.196 53 udp
</connection>
<connection>
remote at1.freedom-ip.com 53 tcp
remote at1.freedom-ip.network 53 tcp
remote 94.23.190.196 53 tcp
</connection>
<connection>
remote at1.freedom-ip.com 8080 tcp
remote at1.freedom-ip.network 8080 tcp
remote 94.23.190.196 8080 tcp
</connection>
<connection>
remote at1.freedom-ip.com 1194 udp
remote at1.freedom-ip.network 1194 udp
remote 94.23.190.196 1194 udp
</connection>
<connection>
remote at1.freedom-ip.com 1194 tcp
remote at1.freedom-ip.network 1194 tcp
remote 94.23.190.196 1194 tcp
</connection>
<connection>
remote at1.freedom-ip.com 110 tcp
remote at1.freedom-ip.network 110 tcp
remote 94.23.190.196 110 tcp
</connection>
<connection>
remote at1.freedom-ip.com 995 tcp
remote at1.freedom-ip.network 995 tcp
remote 94.23.190.196 995 tcp
</connection>

dev tun
resolv-retry infinite
ca /etc/openvpn/ca.crt
tls-auth /etc/openvpn/ta.key 1
auth-user-pass
cipher AES-256-CBC
comp-lzo
verb 1
nobind
ns-cert-type server

Dernière modification par Jmar (Le 06/08/2015, à 23:39)

Hors ligne

#39 Le 06/08/2015, à 23:44

Cyralien

Re : Open VPN

essai :

sed -i 's/ca ca.crt/ca \/etc\/openvpn\/ca.crt/g' ~/Bureau/Freedom-IP/AT1.conf
sed -i 's/tls-auth ta.key 1/tls-auth \/etc\/openvpn\/ta.key 1/g' ~/Bureau/Freedom-IP/AT1.conf

et tu donnes le retour de commande :

cat ~/Bureau/Freedom-IP/AT1.conf

Si ça ne marche pas je vais me coucher

Dernière modification par Cyralien (Le 06/08/2015, à 23:44)

Hors ligne

#40 Le 06/08/2015, à 23:45

Cyralien

Re : Open VPN

Ok j'avais pas vu, c'est bon.

Hors ligne

#41 Le 06/08/2015, à 23:48

Cyralien

Re : Open VPN

tu peux faire :

sudo cp ~/Bureau/Freedom-IP/AT1.conf ~/Bureau/Freedom-IP/ta.key ~/Bureau/Freedom-IP/ca.crt /etc/openvpn/

et donnes :

ls -la /etc/openvpn

edit : je vais me coucher. A demain

Dernière modification par Cyralien (Le 06/08/2015, à 23:58)

Hors ligne

#42 Le 07/08/2015, à 08:58

Jmar

Re : Open VPN

jean-marie@jeanmarie-HP-Pro-3300-Series-MT:~$ ls -la /etc/openvpn
total 32
drwxr-xr-x   2 root root  4096 août   7 08:56 .
drwxr-xr-x 161 root root 12288 août   6 22:13 ..
-rw-r--r--   1 root root  1324 août   7 08:56 AT1.conf
-rw-r--r--   1 root root  1748 août   7 08:56 ca.crt
-rw-r--r--   1 root root   636 août   7 08:56 ta.key
-rwxr-xr-x   1 root root  1301 avril 13 23:33 update-resolv-conf

voila tout m'a l'air d'etre importé

Dernière modification par Jmar (Le 07/08/2015, à 09:01)

Hors ligne

#43 Le 07/08/2015, à 10:31

Cyralien

Re : Open VPN

Bonjour Jmar,

Je viens de voir qu'il y avait un wiki sur Freedom-IP : https://wiki.freedom-ip.com/doku.php/ac … nuxinstall
As-tu essayé ? Si non, va directement à l'étape " Configurer les connexions réseau ".

Je serai de retour cet après-midi.

Dernière modification par Cyralien (Le 07/08/2015, à 15:23)

Hors ligne

#44 Le 07/08/2015, à 10:36

Jmar

Re : Open VPN

ok merci je vais essayer de m'y coller ce matin

Hors ligne

#45 Le 07/08/2015, à 15:06

Cyralien

Re : Open VPN

Alors as-tu essayé avec le lien que je t'ai donné ?

N'essaie pas d'importer le fichier AT1.conf car il a été modifié.

Hors ligne

#46 Le 07/08/2015, à 15:09

Jmar

Re : Open VPN

ouais mais la connexion prends trop de temps donc j'ai laissé tomber

Hors ligne

#47 Le 07/08/2015, à 15:23

Cyralien

Re : Open VPN

Tu veux dire que tu a réussi a te connecter, mais que le débit était trop faible ?

Hors ligne

#48 Le 07/08/2015, à 15:26

Jmar

Re : Open VPN

oui c'est pas gravemais je sais comment faire

Dernière modification par Jmar (Le 07/08/2015, à 15:27)

Hors ligne

#49 Le 07/08/2015, à 15:31

Cyralien

Re : Open VPN

Du coup tu peux nettoyer les fichiers sous /etc/openvpn/ :

sudo rm /etc/openvpn/AT1.conf && sudo rm /etc/openvpn/ca.crt && sudo rm /etc/openvpn/ta.key

C'est le problème des VPN gratuits, généralement le débit est faible. Il en existe à un peu moins de 3 €/Mois qui sont très bien.

Dernière modification par Cyralien (Le 07/08/2015, à 15:38)

Hors ligne

#50 Le 07/08/2015, à 18:12

Jmar

Re : Open VPN

Comme?

Hors ligne