| D_Master 
 
  
 Newbie
 | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору phaoost
 Лично у меня работает только с двумя, если redirect-gateway def1 убрать, трафик идет через мой IP.
 Кстати, обнаружил новую проблему)) - с этой директивой (redirect-gateway def1) VPN через каждые 5 секунд переподключается к серверу. Очень сильно нервирует)) Не подскажете, случайно, как можно запретить переподключение?
 В логах пишется следующее:
 
 
 Код:
 | Sun May 17 04:23:57 2009 Attempting to establish TCP connection with 90.1xx.53.xx7:21 Sun May 17 04:23:57 2009 TCP connection established with 90.1xx.53.xx7:21
 Sun May 17 04:23:57 2009 Socket Buffers: R=[8192->8192] S=[8192->8192]
 Sun May 17 04:23:57 2009 TCPv4_CLIENT link local: [undef]
 Sun May 17 04:23:57 2009 TCPv4_CLIENT link remote: 90.1xx.53.xx7:21
 Sun May 17 04:23:57 2009 TLS: Initial packet from 90.1xx.53.xx7:21, sid=d08e9ca5 949ef24c
 Sun May 17 04:23:57 2009 VERIFY OK: depth=1, /C=ru/ST=rus/L=Ulanude/O=any/CN=Hearthstone/emailAddress=domain@xxxxxxxx.ru
 Sun May 17 04:23:57 2009 VERIFY OK: nsCertType=SERVER
 Sun May 17 04:23:57 2009 VERIFY OK: depth=0, /C=ru/ST=rus/L=Ulanude/O=any/CN=Hearthstone/emailAddress=domain@xxxxxxxx.ru
 Sun May 17 04:23:58 2009 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
 Sun May 17 04:23:58 2009 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
 Sun May 17 04:23:58 2009 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
 Sun May 17 04:23:58 2009 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
 Sun May 17 04:23:58 2009 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
 Sun May 17 04:23:58 2009 [Hearthstone] Peer Connection Initiated with 90.1xx.53.xx7:21
 Sun May 17 04:23:59 2009 SENT CONTROL [Hearthstone]: 'PUSH_REQUEST' (status=1)
 Sun May 17 04:23:59 2009 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.18 10.8.0.17'
 Sun May 17 04:23:59 2009 OPTIONS IMPORT: timers and/or timeouts modified
 Sun May 17 04:23:59 2009 OPTIONS IMPORT: --ifconfig/up options modified
 Sun May 17 04:23:59 2009 OPTIONS IMPORT: route options modified
 Sun May 17 04:23:59 2009 Preserving previous TUN/TAP instance: Подключение по локальной сети 2
 Sun May 17 04:23:59 2009 Initialization Sequence Completed
 Sun May 17 04:24:00 2009 Connection reset, restarting [-1]
 Sun May 17 04:24:00 2009 TCP/UDP: Closing socket
 Sun May 17 04:24:00 2009 SIGUSR1[soft,connection-reset] received, process restarting
 Sun May 17 04:24:00 2009 Restart pause, 5 second(s)
 Sun May 17 04:24:05 2009 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
 Sun May 17 04:24:05 2009 Re-using SSL/TLS context
 Sun May 17 04:24:05 2009 LZO compression initialized
 Sun May 17 04:24:05 2009 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
 Sun May 17 04:24:05 2009 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
 Sun May 17 04:24:05 2009 Local Options hash (VER=V4): 'ee93268d'
 Sun May 17 04:24:05 2009 Expected Remote Options hash (VER=V4): 'bd577cd1'
 Sun May 17 04:24:05 2009 Attempting to establish TCP connection with 90.1xx.53.xx7:21
 Sun May 17 04:24:05 2009 TCP connection established with 90.1xx.53.xx7:21
 Sun May 17 04:24:05 2009 Socket Buffers: R=[8192->8192] S=[8192->8192]
 Sun May 17 04:24:05 2009 TCPv4_CLIENT link local: [undef]
 Sun May 17 04:24:05 2009 TCPv4_CLIENT link remote: 90.1xx.53.xx7:21
 | 
 |