Page 1 of 1

No connection from MacOSX

Posted: Sun Jul 01, 2012 9:43 pm
by maclinux
Server:

Ubuntu server 12.04 LTS
openvpn-as-1.8.3-Ubuntu10.i386.deb

as.conf:

AS_CONNECT=true
tmp_dir=~/tmp
lic.dir=~/licenses
run_start_retry.give_up=60
run_start_retry.resample=10
sa.show_c2s_routes=true
certs_db=sqlite:///~/db/certs.db
user_prop_db=sqlite:///~/db/userprop.db
config_db=sqlite:///~/db/config.db
log_db=sqlite:///~/db/log.db
db_retry.interval=1
db_retry.n_attempts=6
boot_pam_service=openvpnas
boot_pam_users.0=marcel
system_users_local.0=root
system_users_local.1=openvpn_as
cs.user=openvpn_as
cs.group=openvpn_as
general.sock_dir=~/sock
sa.win_exe_dir=~/exe
sa.company_name=OpenVPN Technologies, Inc.
sa.sock=~cs.auto_generate=true
cs.ca_bundle=~/web-ssl/ca.crt
cs.priv_key=~/web-ssl/server.key
cs.cert=~/web-ssl/server.crt
cs.dynamic_port_base=870
sa.initial_run_groups.0=web_group
sa.reactor=epoll
sa.unit=0
iptables.web=true
vpn.server.user=openvpn_as
vpn.server.group=openvpn_as
sock/sagent

client:
MacOS 10.6
Tunnelblick 3.2.6 (build 2891.3007) - OpenVPN 2.2.1
config.ovpn:

client
dev tun
proto udp
remote ubuntu 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.cert
cert client.crt
key client.key
comp-lzo
verb 3

When I connect to the server the log in the Tunnelblick is:
2012-07-01 23:37:20 *Tunnelblick: OS X 10.6.8; Tunnelblick 3.2.6 (build 2891.3007)
2012-07-01 23:37:20 *Tunnelblick: Attempting connection with Tunnelblick-VPN-Configuratie; Set nameserver = 1; monitoring connection
2012-07-01 23:37:20 *Tunnelblick: /Applications/Tunnelblick.app/Contents/Resources/openvpnstart start Tunnelblick-VPN-Configuratie.tblk 1337 1 0 3 0 49 -atDASNGWrdasngw
2012-07-01 23:37:20 OpenVPN 2.2.1 i386-apple-darwin10.7.1 [SSL] [LZO2] [PKCS11] [eurephia] built on May 2 2012
2012-07-01 23:37:20 MANAGEMENT: TCP Socket listening on 127.0.0.1:1337
2012-07-01 23:37:20 Need hold release from management interface, waiting...
2012-07-01 23:37:20 MANAGEMENT: Client connected from 127.0.0.1:1337
2012-07-01 23:37:20 *Tunnelblick: openvpnstart: /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.2.1/openvpn --cd /Library/Application Support/Tunnelblick/Shared/Tunnelblick-VPN-Configuratie.tblk/Contents/Resources --daemon --management 127.0.0.1 1337 --config /Library/Application Support/Tunnelblick/Shared/Tunnelblick-VPN-Configuratie.tblk/Contents/Resources/config.ovpn --log /Library/Application Support/Tunnelblick/Logs/-SLibrary-SApplication Support-STunnelblick-SShared-STunnelblick--VPN--Configuratie.tblk-SContents-SResources-Sconfig.ovpn.1_0_3_0_49.1337.openvpn.log --management-query-passwords --management-hold --script-security 2 --up /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -m -w -d -atDASNGWrdasngw --down /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -m -w -d -atDASNGWrdasngw --up-restart
2012-07-01 23:37:20 *Tunnelblick: Established communication with OpenVPN
2012-07-01 23:37:21 *Tunnelblick: Flushed the DNS cache

The console.log is:
Jul 1 23:40:03 localhost mDNSResponder[19]: SIGHUP: Purge cache

And a few seconds later appears under the tunnelblicklogo the message: "Tunnelblick-VPN-configuratie verbinding verbroken" which means connection lost with Tunnelblick-VPN-configuratie.
On the server there is no message in the logging.