Добрый день . Такая проблема необходимо настроить связку NetGear R7000 роутер в качестве OpenVPN сервера и качестве клиента машинку на Debian 7.
Проблема вот в чем. При подключении выдает вот такую картину со стороны клиента... Из под Windows все соединяется игнорируя ошибку а под линуксом нет.Кроме того под Windows данный девайс требует чтоб подключение виртуальной сетевой карты называлао NETGEAR-VPN иначе сбрасывает соединение.
Apr 23 17:49:08 2014 us=1456 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Wed Apr 23 17:49:08 2014 us=1482 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Apr 23 17:49:08 2014 us=1493 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Wed Apr 23 17:49:08 2014 us=1503 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
WWed Apr 23 17:49:08 2014 us=1545 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Apr 23 17:49:08 2014 us=1573 [netgear] Peer Connection Initiated with [AF_INET]192.168.1.161:12974
RWed Apr 23 17:49:09 2014 us=327137 SENT CONTROL [netgear]: 'PUSH_REQUEST' (status=1) WWWed Apr 23 17:49:14 2014 us=831641 SENT CONTROL [netgear]: 'PUSH_REQUEST' (status=1)
WWWWed Apr 23 17:49:19 2014 us=333881 SENT CONTROL [netgear]: 'PUSH_REQUEST' (status=1)
WRWRWRWed Apr 23 17:49:20 2014 us=145774 PUSH: Received control message: 'PUSH_REPLY,route 192.168.0.1 255.255.255.0 192.168.0.1,route-gateway dhcp,ping 10,ping-restart 120'
Wed Apr 23 17:49:20 2014 us=146129 OPTIONS IMPORT: timers and/or timeouts modified
Wed Apr 23 17:49:20 2014 us=146151 OPTIONS IMPORT: route options modified
Wed Apr 23 17:49:20 2014 us=146161 OPTIONS IMPORT: route-related options modified
Wed Apr 23 17:49:20 2014 us=146418 ROUTE default_gateway=192.168.1.1
Wed Apr 23 17:49:20 2014 us=148427 TUN/TAP device tap0 opened
Wed Apr 23 17:49:20 2014 us=148571 TUN/TAP TX queue length set to 100
Wed Apr 23 17:49:20 2014 us=148841 /sbin/route add -net 192.168.0.1 netmask 255.255.255.0 gw 192.168.0.1 route: netmask doesn't match route address Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
route {-h|--help} [<AF>] Detailed usage syntax for specified AF. route {-V|--version} Display version/author and exit.
-v, --verbose be verbose -n, --numeric don't resolve names -e, --extend display other/more information -F, --fib display Forwarding Information Base (default) -C, --cache display routing cache instead of FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet List of possible address families (which support routing): inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25) netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP) x25 (CCITT X.25) Wed Apr 23 17:49:20 2014 us=183719 ERROR: Linux route add command failed: external program exited with error status: 4 Wed Apr 23 17:49:20 2014 us=183825 Initialization Sequence Completed
Искренне надеюсь на помощь тк как своих мозгов уже не хватает