. No Route to Host (WSAEHOSTUNREACH) (code=10065)
Значит нет активных соединений, лечится подключением интернета.
2. TAP-Win32 adapter ‘Raduga’ not found
Не переименован TAP-Win32 в Raduga или вообще отсутствует(отключено) как устройство, лечится переименованием или установкой (включением) оного.
3. CreateFile failed on TAP device: \.Global<76967d48-8842-40f3-81e9-e38257149d0d>.tap: Не удается найти указанный файл. (errno=2)
Адаптер ТАП Raduga найден, но он отключен, лечится включением.
4. Initialization Sequence Completed With Errors
Ошибка присвоения IP адреса адаптеру. В данном случае проверьте что для ТАП адаптера стоит автоматическое присвоение IP, если стоит, то одному вашему подключению (возможно скрытому/удаленному) уже присвоен IP подписки, измените его на например 192.168.238.238 или на любой неиспользуемый.
5. Error opening ‘Auth’ auth file: ovpn.txt: Не удается найти указанный файл. (errno=2)
Не был запущен .bat файл для ввода логина и пароля, решается запуском и вводом. Если вдруг у вас не создались там файлы, то скорее всего я могу вас поздравить с приобретением ОС Vista, в папке Program files они не создадутся, скопируйте ключи например на диск С создайте там файлы и потом уже копируйте их туда куда нужно.
Обращаю ваше внимание на то, что связка GPRS + OpenVPN в ОС Vista/7 под вопросом.
6. TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Самая распространенная ошибка, тут много вариантов.
а). Убедитесь что у вас верная версия Open VPN (Для ХР это OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Feb 9 2007), скачайте заново ключи в ЛК.
б). Есть соединение с интернетом, но оно не работает.
в). Установлена защита, которая блокирует данную программу.
7. AUTH: Received AUTH_FAILED control message
неправильная авторизация, проверьте правильность ввода логина и пароля
Есть сервер и несколько клиентов OpenVPN на CentOS. Между сервером и клиентами созданы туннели. Все работает.
Но появилась необходимость добавить скрипт, который фиксирует когда клиент подключается и отключается от сервера.
Для этого добавила в конец конфигурации сервера:
После этого клиенты перестали подключаться к серверу.
В логах:
- Error Messages
- “ AUTH : Received AUTH_FAILED control message”
- “No VPN secrets!”
- GNOME
- ROUTE : route addition failed using CreateIpForwardEntry: One or more arguments are not correct.
- WARNING : вЂdev-type’ is used inconsistently, local=вЂdev-type tap’, remote=вЂdev-type tun’
- Other Problems
- Saving Passwords
- Using TUN instead of TAP
Error Messages
“ AUTH : Received AUTH_FAILED control message”
This happens when you have the wrong password.
“No VPN secrets!”
This happens when the keyring is not working and returns an empty username and password.
If OpenVPN is not working, run this to see what is wrong:
# tail -f /var/log/syslog | grep -i vpn
If you are on a distribution that has SELinux enabled (eg. Fedora), then SELinux is going to block OpenVPN from accessing cert files unless they have specific permissions set properly. You need to put the Riseup cert into
/.cert and then you need to run:
You wont see a very specific error about this, graphically just a very vague error, but in the system log you would see something like:
although the above error is the same error you would get if the permissions are wrong in general on the certificate, so if you are getting that error, but are not running SELinux, check the permissions on your cert file!
GNOME
If the connection doesn’t work, try these:
- Where is the RiseupCA.pem file saved? Make sure you can find the file in the finder and that the path to the file is the same as specified in your configuration file.
- D >ISP may be blocking connections on port 1194. To change what port OpenVPN uses, you can change 1194 to 80 or 443 in the above configuration file.
- By default, OpenVPN will use an internet protocol call UDP . This is faster, but sometimes you need to change this to TCP in order to get OpenVPN to work. To do so, add this to the configuration: proto tcp .
If you are having problems connecting, the first thing you need to do is to find your openvpn logs because that is where problems are typically recorded. To get your logs you simply right click on the openvpn GUI notification icon, and click view logs.
Once you have these, look in there for errors, some errors and solutions are below:
ROUTE : route addition failed using CreateIpForwardEntry: One or more arguments are not correct.
If you get this error, add these lines to your openvpn.conf file:
WARNING : вЂdev-type’ is used inconsistently, local=вЂdev-type tap’, remote=вЂdev-type tun’
If you find this error in your logs, you can try to change your configuration to have ‘dev tun’ instead of ‘dev tap’
and add this to your configuration:
Other Problems
Saving Passwords
Password storage on the windows client is insecure: There is no way in the current version to save your password. although it is possible recompile the software with this option enabled (such as this version), this stores your password in cleartext.
Instead of using your riseup.net password, you should use a VPN Secret. It is OK to store the VPN Secret in cleartext.
Using TUN instead of TAP
If you use dev tun instead of dev tap in the configuration file, you must run openvpn as administrator. Otherwise, it will appear to work, but none of your traffic will actually be going over the Riseup VPN .
To run OpenVPN as administrator:
Right click on the OpenVPN GUI application and either choose “Run as Administrator” or if that doesn’t exist, choose properties. From there, check compatibility mode and run as administrator. The OpenVPN GUI can be found under Start button в†’ All Programs в†’ OpenVPN в†’ OpenVPN GUI .