OVPN issue "unable to redirect default gateway"

89 views
Skip to first unread message

Cao Huỳnh Nhân

unread,
Jun 21, 2015, 8:09:06 AM6/21/15
to tunnelbli...@googlegroups.com
hello everyone, I want to connect VPN using openVPN file but, I can not access internet although Tunnelblick notified "Connected". Who can help me resolve this problem?
There are log:
2015-06-21 11:37:43 *Tunnelblick: openvpnstart starting OpenVPN
2015-06-21 11:37:43 *Tunnelblick: OS X 10.10.3; Tunnelblick 3.6beta06 (build 4346)
2015-06-21 11:37:43 *Tunnelblick: Attempting connection with caohuynhnhan; Set nameserver = 1; not monitoring connection
2015-06-21 11:37:43 *Tunnelblick: openvpnstart start caohuynhnhan.tblk 1337 1 0 3 1 50608 -ptADGNWradsgnw 2.3.7
2015-06-21 11:37:44 *Tunnelblick: openvpnstart log:
     
OpenVPN started successfully. Command used to start OpenVPN (one argument per displayed line):
     
         
/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.7/openvpn
         
--daemon
         
--log
         
/Library/Application Support/Tunnelblick/Logs/-SLibrary-SApplication Support-STunnelblick-SShared-Scaohuynhnhan.tblk-SContents-SResources-Sconfig.ovpn.1_0_3_1_50608.1337.openvpn.log
         
--cd
         
/Library/Application Support/Tunnelblick/Shared/caohuynhnhan.tblk/Contents/Resources
         
--verb
         
3
         
--config
         
/Library/Application Support/Tunnelblick/Shared/caohuynhnhan.tblk/Contents/Resources/config.ovpn
         
--cd
         
/Library/Application Support/Tunnelblick/Shared/caohuynhnhan.tblk/Contents/Resources
         
--management
         
127.0.0.1
         
1337
         
--management-query-passwords
         
--management-hold
         
--script-security
         
2
         
--route-up
         
/Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -d -f -p -r -w -ptADGNWradsgnw
         
--down
         
/Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -d -f -p -r -w -ptADGNWradsgnw


2015-06-21 11:37:44 OpenVPN 2.3.7 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Jun 12 2015
2015-06-21 11:37:44 library versions: OpenSSL 1.0.2c 12 Jun 2015, LZO 2.09
2015-06-21 11:37:44 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:1337
2015-06-21 11:37:44 Need hold release from management interface, waiting...
2015-06-21 11:37:44 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:1337
2015-06-21 11:37:45 *Tunnelblick: Established communication with OpenVPN
2015-06-21 11:37:45 *Tunnelblick: Obtained VPN username and password from the Keychain
2015-06-21 11:37:45 MANAGEMENT: CMD 'pid'
2015-06-21 11:37:45 MANAGEMENT: CMD 'state on'
2015-06-21 11:37:45 MANAGEMENT: CMD 'state'
2015-06-21 11:37:45 MANAGEMENT: CMD 'bytecount 1'
2015-06-21 11:37:45 MANAGEMENT: CMD 'hold release'
2015-06-21 11:37:45 MANAGEMENT: CMD 'username "Auth" "caohuynhnhan"'
2015-06-21 11:37:45 MANAGEMENT: CMD 'password [...]'
2015-06-21 11:37:45 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2015-06-21 11:37:45 Socket Buffers: R=[196724->65536] S=[9216->65536]
2015-06-21 11:37:45 MANAGEMENT: >STATE:1434911865,RESOLVE,,,
2015-06-21 11:37:47 UDPv4 link local: [undef]
2015-06-21 11:37:47 UDPv4 link remote: [AF_INET]178.33.32.196:9201
2015-06-21 11:37:47 MANAGEMENT: >STATE:1434911867,WAIT,,,
2015-06-21 11:37:48 MANAGEMENT: >STATE:1434911868,AUTH,,,
2015-06-21 11:37:48 TLS: Initial packet from [AF_INET]178.33.32.196:9201, sid=491291f7 adfa4fac
2015-06-21 11:37:48 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2015-06-21 11:37:48 VERIFY OK: depth=1, C=RU, ST=MOSCOW, L=MOSCOW, O=ZPN, OU=ZPN, CN=zpn.im, name=ZPN, emailAddress=info@zpn.im
2015-06-21 11:37:48 VERIFY OK: nsCertType=SERVER
2015-06-21 11:37:48 VERIFY OK: depth=0, C=RU, ST=MOSCOW, L=MOSCOW, O=ZPN, OU=ZPN, CN=zpnserver, name=ZPN, emailAddress=info@zpn.im
2015-06-21 11:37:50 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
2015-06-21 11:37:50 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-06-21 11:37:50 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
2015-06-21 11:37:50 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-06-21 11:37:50 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
2015-06-21 11:37:50 [zpnserver] Peer Connection Initiated with [AF_INET]178.33.32.196:9201
2015-06-21 11:37:51 MANAGEMENT: >STATE:1434911871,GET_CONFIG,,,
2015-06-21 11:37:52 SENT CONTROL [zpnserver]: 'PUSH_REQUEST' (status=1)
2015-06-21 11:37:54 PUSH: Received control message: 'PUSH_REPLY,ping 10,ping-restart 120,ifconfig 192.168.16.53 192.168.16.54,dhcp-option DNS 192.168.16.1,route-gateway 192.168.16.54,redirect-gateway def1'
2015-06-21 11:37:54 OPTIONS IMPORT: timers and/or timeouts modified
2015-06-21 11:37:54 OPTIONS IMPORT: --ifconfig/up options modified
2015-06-21 11:37:54 OPTIONS IMPORT: route options modified
2015-06-21 11:37:54 OPTIONS IMPORT: route-related options modified
2015-06-21 11:37:54 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2015-06-21 11:37:54 Opened utun device utun0
2015-06-21 11:37:54 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
2015-06-21 11:37:54 MANAGEMENT: >STATE:1434911874,ASSIGN_IP,,192.168.16.53,
2015-06-21 11:37:54 /sbin/ifconfig utun0 delete
                                        ifconfig
: ioctl (SIOCDIFADDR): Can't assign requested address
2015-06-21 11:37:54 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
2015-06-21 11:37:54 /sbin/ifconfig utun0 192.168.16.53 192.168.16.54 mtu 1500 netmask 255.255.255.255 up
2015-06-21 11:37:54 NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
                                        **********************************************
                                        Start of output from client.up.tunnelblick.sh
                                        Retrieved from OpenVPN: name server(s) [ 192.168.16.1 ], search domain(s) [  ] and SMB server(s) [  ] and using default domain name [ openvpn ]
                                        Not aggregating ServerAddresses because running on OS X 10.6 or higher
                                        Prepending '
openvpn' to search domains '' because the search domains were not set manually and 'Prepend domain name to search domains' was selected
                                        Saved the DNS and SMB configurations so they can be restored
                                        Changed DNS ServerAddresses setting from '
10.19.195.212 8.8.8.8' to '192.168.16.1'
                                        Changed DNS SearchDomains setting from '' to '
openvpn'
                                        Changed DNS DomainName setting from '' to '
openvpn'
                                        Did not change SMB NetBIOSName setting of ''
                                        Did not change SMB Workgroup setting of ''
                                        Did not change SMB WINSAddresses setting of ''
                                        DNS servers '
192.168.16.1' will be used for DNS queries when the VPN is active
                                        NOTE: The DNS servers do not include any free public DNS servers known to Tunnelblick. This may cause DNS queries to fail or be intercepted or falsified even if they are directed through the VPN. Specify only known public DNS servers or DNS servers located on the VPN network to avoid such problems.
                                        Flushed the DNS cache via dscacheutil
                                        Flushed the DNS cache via discoveryutil udnsflushcaches
                                        Flushed the DNS cache via discoveryutil mdnsflushcache
                                        No matching processes were found
                                        mDNSResponder not running. Not notifying it that the DNS cache was flushed
                                        End of output from client.up.tunnelblick.sh
                                        **********************************************
2015-06-21 11:37:57 Initialization Sequence Completed
2015-06-21 11:37:57 MANAGEMENT: >STATE:1434911877,CONNECTED,SUCCESS,192.168.16.53,178.33.32.196
2015-06-21 11:37:58 *Tunnelblick: No '
connected.sh' script to execute
2015-06-21 11:37:58 *Tunnelblick: Could not determine this computer'
s apparent public IP address before the connection was completed
I'm a newbie, please help me!!!
Reply all
Reply to author
Forward
0 new messages