OpenVPN problème

Post new topic   Reply to topic    DD-WRT Forum Index -> Matériels à base de Broadcom
Author Message
Souhayel
DD-WRT Novice


Joined: 23 Jun 2011
Posts: 2

PostPosted: Thu Jun 23, 2011 19:15    Post subject: OpenVPN problème Reply with quote
Bonsoir,

J'ai configuré le routeur Lnksys wrt54gl comme dans le wiki avec un static key.
Quand je fais un ps | grep vpn je vois bien la ligne

root@toto:~# ps | grep vpn
730 root 2176 S /tmp/myvpn --dev tap0 --secret /tmp/static.key --comp-lzo --port 1194 --proto udp --verb 3 --daemon

Maintenant quand je fais un netstat, je vois pas le port 1194 ouvert. Est-ce normal ?

Puis quand j'essaie de me connecter depuis un client j'ai l'erreur suivante :
TCP/UDP: Socket bind failed on local address [undef]: Adress already in use

Merci de m'aider
Sponsor
Nonow
DD-WRT Novice


Joined: 23 Jun 2011
Posts: 3

PostPosted: Fri Jun 24, 2011 8:52    Post subject: Reply with quote
Peu etre la plage de DHCP du VPN qui est dans la plage DHCP de ton LAN.

As tu mis une adresse IP sur serveur VPN inutilisée ? Sans ça, point de salut Very Happy
Souhayel
DD-WRT Novice


Joined: 23 Jun 2011
Posts: 2

PostPosted: Fri Jun 24, 2011 16:32    Post subject: Reply with quote
Je ne comprends pas trop ta remarque.

Je n'ai pas configuré de DHCP pour le VPN
J'ai suivi le tuto du wiki voila ce que j'ai mis :

openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up
echo "
-----BEGIN OpenVPN Static key V1-----
haha c'est secret
-----END OpenVPN Static key V1-----
" > /tmp/static.key
ln -s /usr/sbin/openvpn /tmp/myvpn
/tmp/myvpn --dev tap0 --secret /tmp/static.key --comp-lzo --port 1194 --proto udp --verb 3 --daemon
Oaxley
DD-WRT User


Joined: 19 Jul 2007
Posts: 105

PostPosted: Thu Jun 30, 2011 9:13    Post subject: OpenVPN Reply with quote
Hello Souhayel,

Premiere chose les logs et messages d'erreurs:
Maintenant quand je fais un netstat, je vois pas le port 1194 ouvert. Est-ce normal ?
Oui tu as monté un VPN en UDP, mode non connecté dc un netstat|grep LISTEN ne dira rien.

TCP/UDP: Socket bind failed on local address [undef]: Adress already in use
Qu'elle est la configuration de ton client ?
Si Zindoz, utilisie la derniere version d'OpenVPNGUI.
De memoire 2.2.6 c'est Nickel je m'en sers depuis longtemps...

Donc step by step et tu avanceras plus vite :0)

Donnes nous la config client (cote client)

Oaxley
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Matériels à base de Broadcom All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum