Newbie: Undefined Error 0

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
alexh07
OpenVpn Newbie
Posts: 6
Joined: Tue Feb 28, 2017 5:02 pm

Newbie: Undefined Error 0

Post by alexh07 » Tue Feb 28, 2017 5:07 pm

Hello All,
I am trying to test a new VPN server instance I setup today. I am new to all of this so bear with me. Below is my config and the error I am getting. Not sure where I am going wrong.
Server Config
AlexMac
dev tun
proto udp
remote 192.168.1.10
port 1194
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3
ca HomeLinuxServer.crt
cert AlexMac.crt
key AlexMac.key
tis-auth ta.key 1

Code: Select all

*Tunnelblick: OS X 10.12.3; Tunnelblick 3.7.0 (build 4790); Admin user
git commit 8c2e63a08fd49c4b4881925fea8282547bf2de25


Configuration AlexMac

"Sanitized" condensed configuration file for /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk:

AlexMac
dev tun
proto udp
remote 192.168.1.10
port 1194
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3
ca HomeLinuxServer.crt
cert AlexMac.crt
key AlexMac.key
tis-auth ta.key 1


================================================================================

Non-Apple kexts that are loaded:

Index Refs Address            Size       Wired      Name (Version) UUID <Linked Against>

================================================================================

There are no unusual files in AlexMac.tblk

================================================================================

Configuration preferences:

-lastConnectionSucceeded = 0

================================================================================

Wildcard preferences:


================================================================================

Program preferences:

launchAtNextLogin = 1
notOKToCheckThatIPAddressDidNotChangeAfterConnection = 0
askedUserIfOKToCheckThatIPAddressDidNotChangeAfterConnection = 1
tunnelblickVersionHistory = (
    "3.7.0 (build 4790)"
)
lastLaunchTime = 509992701.577102
lastLanguageAtLaunchWasRTL = 0
connectionWindowDisplayCriteria = showWhenConnecting
maxLogDisplaySize = 102400
keyboardShortcutIndex = 1
updateCheckAutomatically = 1
updateSendProfileInfo = 0
NSWindow Frame ConnectingWindow = 645 650 389 187 0 0 1680 1027 
detailsWindowViewIndex = 0
leftNavSelectedDisplayName = AlexMac
haveDealtWithSparkle1dot5b6 = 1
haveDealtWithOldTunTapPreferences = 1
haveDealtWithOldLoginItem = 1
SUEnableAutomaticChecks = 1
SUScheduledCheckInterval = 86400
SUSendProfileInfo = 0
SULastCheckTime = 2017-02-28 16:38:09 +0000
SUHasLaunchedBefore = 1
WebKitDefaultFontSize = 16
WebKitStandardFont = Times

================================================================================

Tunnelblick Log:

*Tunnelblick: OS X 10.12.3; Tunnelblick 3.7.0 (build 4790)
2017-02-28 12:00:27 *Tunnelblick: Attempting connection with AlexMac using shadow copy; Set nameserver = 769; monitoring connection
2017-02-28 12:00:27 *Tunnelblick: openvpnstart start AlexMac.tblk 1337 769 0 1 0 1065264 -ptADGNWradsgnw 2.3.14-openssl-1.0.2k
2017-02-28 12:00:27 *Tunnelblick: 

Could not start OpenVPN (openvpnstart returned with status #251)

Contents of the openvpnstart log:
*Tunnelblick: openvpnstart log:
     OpenVPN returned with status 1, errno = 0:
          Undefined error: 0
     
     Command used to start OpenVPN (one argument per displayed line):
     
          /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.14-openssl-1.0.2k/openvpn
          --daemon
          --log
          /Library/Application Support/Tunnelblick/Logs/-SUsers-SAlex-SLibrary-SApplication Support-STunnelblick-SConfigurations-SAlexMac.tblk-SContents-SResources-Sconfig.ovpn.769_0_1_0_1065264.1337.openvpn.log
          --cd
          /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources
          --verb
          3
          --config
          /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/config.ovpn
          --verb
          3
          --cd
          /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources
          --management
          127.0.0.1
          1337
          --management-query-passwords
          --management-hold
          --script-security
          2
          --up
          /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw
          --down
          /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw
     
     Contents of the OpenVPN log:
     
          Options error: Unrecognized option or missing parameter(s) in /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/config.ovpn:1: AlexMac (2.3.14)
          Use --help for more information.
          
     More details may be in the Console Log's "All Messages"


================================================================================

"Sanitized" full configuration file

AlexMac
dev tun
proto udp
remote 192.168.1.10
port 1194
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3
ca HomeLinuxServer.crt
cert AlexMac.crt
key AlexMac.key
tis-auth ta.key 1


================================================================================

ifconfig output:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
	ether 40:6c:8f:31:41:22 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect (none)
	status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 68:a8:6d:22:62:f6 
	inet6 fe80::89d:8f71:4f41:667b%en1 prefixlen 64 secured scopeid 0x5 
	inet 192.168.1.26 netmask 0xffffff00 broadcast 192.168.1.255
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active
en2: flags=963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX> mtu 1500
	options=60<TSO4,TSO6>
	ether d2:00:1a:0c:7c:a0 
	media: autoselect <full-duplex>
	status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
	lladdr 40:6c:8f:ff:fe:a0:c7:ca 
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect <full-duplex>
	status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
	ether d2:00:1a:0c:7c:a0 
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x2
	member: en2 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 6 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: <unknown type>
	status: inactive
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
	ether 0a:a8:6d:22:62:f6 
	media: autoselect
	status: inactive
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
	inet6 fe80::d382:d8e7:510d:3b5f%utun0 prefixlen 64 scopeid 0xa 
	nd6 options=201<PERFORMNUD,DAD>

================================================================================

Console Log:

2017-02-28 11:37:46 Tunnelblick[33634] Tunnelblick: OS X 10.12.3; Tunnelblick 3.7.0 (build 4790)
2017-02-28 11:37:46 Tunnelblick[33634] Tunnelblick cannot run when it is on /Volumes because the volume has the MNT_NOSUID statfs flag set.
2017-02-28 11:37:51 Tunnelblick[33634] Tunnelblick needs to:
                                         • Be installed in /Applications as Tunnelblick
                                         • Change ownership and permissions of the program to secure it
                                         • Secure configurations
2017-02-28 11:37:51 Tunnelblick[33634] Beginning installation or repair
2017-02-28 11:37:56 Tunnelblick[33634] Installation or repair succeeded; Log:
                                       Tunnelblick installer started 2017-02-28 11:37:51. 1 arguments: 0x0017
                                       Created directory /Library/Application Support/Tunnelblick with owner 0:80 and permissions 755
                                       Changed ownership of /Library/Application Support/Tunnelblick from 0:80 to 0:0
                                       Created directory /Library/Application Support/Tunnelblick/Logs with owner 0:0 and permissions 755
                                       Created directory /var/log/Tunnelblick with owner 0:0 and permissions 755
                                       Created directory /Library/Application Support/Tunnelblick/Shared with owner 0:0 and permissions 755
                                       Created directory /Library/Application Support/Tunnelblick/Tblks with owner 0:0 and permissions 755
                                       Created directory /Library/Application Support/Tunnelblick/Users with owner 0:0 and permissions 755
                                       Created directory /Library/Application Support/Tunnelblick/Users/Alex with owner 0:0 and permissions 755
                                       Changed ownership of /Users/Alex/Library/Application Support/Tunnelblick from 501:20 to 501:80
                                       Changed ownership of /Users/Alex/Library/Application Support/Tunnelblick/Configurations from 501:20 to 501:80
                                       Copied /Volumes/Tunnelblick/Tunnelblick.app to /Applications/Tunnelblick.app
                                       Removed all 'com.apple.quarantine' extended attributes
                                       Changed ownership of /Applications/Tunnelblick.app and its contents from 501:80 to 0:0
                                       Need to replace and/or reload 'tunnelblickd':
                                           tunnelblickdHashOK   = NO
                                           launchctlPlistHashOK = NO
                                           tunnelblickdPlistOK  = NO
                                           socketOK             = NO
                                       Installed /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist
                                       Used launchctl to load tunnelblickd
                                       Tunnelblick installer finished without error
2017-02-28 11:37:57 Tunnelblick[33653] Tunnelblick: OS X 10.12.3; Tunnelblick 3.7.0 (build 4790)
2017-02-28 11:37:57 Tunnelblick[33634] applicationShouldTerminate: termination because of Quit; delayed until 'shutdownTunnelblick' finishes
2017-02-28 11:37:58 Tunnelblick[33634] Finished shutting down Tunnelblick; allowing termination
2017-02-28 11:38:01 Tunnelblick[33653] Launching a thread to remove the old login item (if any) so we can use the new mechanism that controls Tunnelblick's launch on login
2017-02-28 11:38:01 Tunnelblick[33653] Copied our 'net.tunnelblick.tunnelblick.LaunchAtLogin.plist' into ~/Library/LaunchAgents
2017-02-28 11:38:01 Tunnelblick[33653] deleteOurLoginItem: LSSharedFileListItemResolve returned status = -43 for item; url was NULL
2017-02-28 11:38:01 Tunnelblick[33653] deleteOurLoginItem: LSSharedFileListItemResolve returned status = -43 for item; url was NULL
2017-02-28 11:38:01 Tunnelblick[33653] No old login item to remove
2017-02-28 11:38:09 Tunnelblick[33653] Sparkle: ===== Tunnelblick.app =====
2017-02-28 11:38:09 Tunnelblick[33653] Sparkle: Verified appcast signature
2017-02-28 11:38:21 Tunnelblick[33653] Copied easy-rsa
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 700 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-ca
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-dh
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-inter
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-key
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-key-pass
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-key-pkcs12
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-key-server
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-req
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/build-req-pass
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/clean-all
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 700 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/ChangeLog
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/COPYING
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 700 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/doc
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/doc/EasyRSA-Advanced.md
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/doc/EasyRSA-Readme.md
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/doc/EasyRSA-Upgrade-Notes.md
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/doc/Hacking.md
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/doc/Intro-To-PKI.md
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/doc/TODO
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 700 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/easyrsa
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 600 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/openssl-1.0.cnf
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/vars.example
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 700 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/x509-types
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/x509-types/ca
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/x509-types/client
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/x509-types/COMMON
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/easyrsa3/x509-types/server
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/KNOWN_ISSUES
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 700 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/Licensing
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/Licensing/gpl-2.0.txt
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/README
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/EasyRSA-3/README.quickstart.md
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/inherit-inter
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/list-crl
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 600 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/openssl-0.9.6.cnf
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 600 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/openssl-0.9.8.cnf
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 600 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/openssl-1.0.0.cnf
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/pkitool
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/README
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/revoke-full
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/sign-req
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/TB-version.txt
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 644 to 400 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/v3version.txt
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 600 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/vars
2017-02-28 11:38:21 Tunnelblick[33653] Changed permissions from 755 to 500 on /Users/Alex/Library/Application Support/Tunnelblick/easy-rsa/whichopensslcnf
2017-02-28 11:38:59 Tunnelblick[33653] Unknown option 'AlexMac' found in /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn
2017-02-28 11:38:59 Tunnelblick[33653] commandOptionsStatusForOpenvpnConfigurationAtPath:forTblk: returned 'unknown option(s) found' for /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn
2017-02-28 11:39:17 Tunnelblick[33653] Changed permissions from 700 to 750 on /private/var/folders/gd/m7dvggvn6_192yz455t44gth0000gn/T
2017-02-28 11:39:17 Tunnelblick[33653] Converting/Installing /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn at line 11: The configuration file refers to a file '/etc/openvpn/easy-rsa/pki/issued/HomeLinuxServer.crt', which does not exist.
2017-02-28 11:47:24 Tunnelblick[33653] Unknown option 'AlexMac' found in /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn
2017-02-28 11:47:24 Tunnelblick[33653] commandOptionsStatusForOpenvpnConfigurationAtPath:forTblk: returned 'unknown option(s) found' for /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn
2017-02-28 11:47:29 Tunnelblick[33653] Converting/Installing /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn at line 11: Copied HomeLinuxServer.crt
2017-02-28 11:47:29 Tunnelblick[33653] Changed permissions from 644 to 740 on /private/var/folders/gd/m7dvggvn6_192yz455t44gth0000gn/T/Tunnelblick-ZuBgvS/AlexMac.tblk/Contents/Resources/HomeLinuxServer.crt
2017-02-28 11:47:29 Tunnelblick[33653] Converting/Installing /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn at line 12: Copied AlexMac.crt
2017-02-28 11:47:29 Tunnelblick[33653] Changed permissions from 644 to 740 on /private/var/folders/gd/m7dvggvn6_192yz455t44gth0000gn/T/Tunnelblick-ZuBgvS/AlexMac.tblk/Contents/Resources/AlexMac.crt
2017-02-28 11:47:29 Tunnelblick[33653] Converting/Installing /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn at line 13: Copied AlexMac.key
2017-02-28 11:47:29 Tunnelblick[33653] Changed permissions from 644 to 740 on /private/var/folders/gd/m7dvggvn6_192yz455t44gth0000gn/T/Tunnelblick-ZuBgvS/AlexMac.tblk/Contents/Resources/AlexMac.key
2017-02-28 11:47:29 Tunnelblick[33653] Converting/Installing /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn: Converted OpenVPN configuration
2017-02-28 11:47:34 Tunnelblick[33653] localNameFromDisplayName: 'AlexMac' is not a known displayName
2017-02-28 11:47:34 Tunnelblick[33653] Tunnelblick needs to perform an action that requires administrator authorization.
2017-02-28 11:47:34 Tunnelblick[33653] Beginning installation or repair
2017-02-28 11:47:35 Tunnelblick[33653] Installation or repair succeeded; Log:
                                       Tunnelblick installer started 2017-02-28 11:47:35. 3 arguments: 0x0001
                                            /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
                                            /private/var/folders/gd/m7dvggvn6_192yz455t44gth0000gn/T/Tunnelblick-ZuBgvS/AlexMac.tblk
                                       Copied /private/var/folders/gd/m7dvggvn6_192yz455t44gth0000gn/T/Tunnelblick-ZuBgvS/AlexMac.tblk
                                           to /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk.temp
                                       Renamed /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk.temp
                                            to /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
                                       Changed ownership of /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk and its contents from 501:20 to 501:80
                                       Copied /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
                                           to /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk.temp
                                       Renamed /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk.temp
                                            to /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                       Changed ownership of /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk and its contents from 501:80 to 0:0
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/AlexMac.crt
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/AlexMac.key
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/config.ovpn
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/HomeLinuxServer.crt
                                       Created secure (shadow) copy of AlexMac.tblk
                                       Tunnelblick installer finished without error
2017-02-28 11:47:54 tunnelblickd[34002] Status = 251 from tunnelblick-helper command 'start AlexMac.tblk 1337 769 0 1 0 1065264 -ptADGNWradsgnw 2.3.14-openssl-1.0.2k'
2017-02-28 11:47:55 Tunnelblick[33653] tunnelblickd status from start: 251
2017-02-28 11:48:13 Tunnelblick[33653] BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
2017-02-28 11:51:44 tunnelblickd[34127] Status = 252 from tunnelblick-helper command 'compareShadowCopy AlexMac'
2017-02-28 11:51:44 Tunnelblick[33653] tunnelblickd status from compareShadowCopy: 252
2017-02-28 11:51:50 Tunnelblick[33653] Tunnelblick needs to perform an action that requires administrator authorization.
2017-02-28 11:51:50 Tunnelblick[33653] Beginning installation or repair
2017-02-28 11:51:51 Tunnelblick[33653] Installation or repair succeeded; Log:
                                       Tunnelblick installer started 2017-02-28 11:51:50. 3 arguments: 0x0001
                                            /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                            /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
                                       Copied /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
                                           to /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk.temp
                                       Renamed /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk.temp
                                            to /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                       Changed ownership of /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk and its contents from 501:80 to 0:0
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/AlexMac.crt
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/AlexMac.key
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/config.ovpn
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/HomeLinuxServer.crt
                                       Tunnelblick installer finished without error
2017-02-28 11:51:51 Tunnelblick[33653] Created or updated secure (shadow) copy of configuration file /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
2017-02-28 11:51:53 tunnelblickd[34127] Status = 251 from tunnelblick-helper command 'start AlexMac.tblk 1337 769 0 1 0 1065264 -ptADGNWradsgnw 2.3.14-openssl-1.0.2k'
2017-02-28 11:51:53 Tunnelblick[33653] tunnelblickd status from start: 251
2017-02-28 11:57:20 tunnelblickd[34326] Status = 251 from tunnelblick-helper command 'start AlexMac.tblk 1337 769 0 1 0 1065264 -ptADGNWradsgnw 2.3.14-openssl-1.0.2k'
2017-02-28 11:57:20 Tunnelblick[33653] tunnelblickd status from start: 251
2017-02-28 12:00:23 tunnelblickd[34419] Status = 252 from tunnelblick-helper command 'compareShadowCopy AlexMac'
2017-02-28 12:00:24 Tunnelblick[33653] tunnelblickd status from compareShadowCopy: 252
2017-02-28 12:00:26 Tunnelblick[33653] Tunnelblick needs to perform an action that requires administrator authorization.
2017-02-28 12:00:26 Tunnelblick[33653] Beginning installation or repair
2017-02-28 12:00:26 Tunnelblick[33653] Installation or repair succeeded; Log:
                                       Tunnelblick installer started 2017-02-28 12:00:26. 3 arguments: 0x0001
                                            /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                            /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
                                       Copied /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
                                           to /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk.temp
                                       Renamed /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk.temp
                                            to /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                       Changed ownership of /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk and its contents from 501:80 to 0:0
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents
                                       Changed permissions from 750 to 755 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/AlexMac.crt
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/AlexMac.key
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/config.ovpn
                                       Changed permissions from 740 to 700 on /Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/HomeLinuxServer.crt
                                       Tunnelblick installer finished without error
2017-02-28 12:00:26 Tunnelblick[33653] Created or updated secure (shadow) copy of configuration file /Users/Alex/Library/Application Support/Tunnelblick/Configurations/AlexMac.tblk
2017-02-28 12:00:27 tunnelblickd[34419] Status = 251 from tunnelblick-helper command 'start AlexMac.tblk 1337 769 0 1 0 1065264 -ptADGNWradsgnw 2.3.14-openssl-1.0.2k'
2017-02-28 12:00:27 Tunnelblick[33653] tunnelblickd status from start: 251

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Newbie: Undefined Error 0

Post by TinCanTech » Tue Feb 28, 2017 7:03 pm

alexh07 wrote:Server Config
AlexMac
dev tun
proto udp
remote 192.168.1.10
that is not a server config ..

alexh07
OpenVpn Newbie
Posts: 6
Joined: Tue Feb 28, 2017 5:02 pm

Re: Newbie: Undefined Error 0

Post by alexh07 » Tue Feb 28, 2017 7:21 pm

Oops, you are correct, that is the CLIENT config I am trying to use. The SERVER config is below:
Actual Server Config
# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d

# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194

# TCP or UDP server?
;proto tcp
proto udp

# "dev tun" will create a routed IP tunnel,
# "dev tap" will create an ethernet tunnel.
# Use "dev tap0" if you are ethernet bridging
# and have precreated a tap0 virtual interface
# and bridged it with your ethernet interface.
# If you want to control access policies
# over the VPN, you must create firewall
# rules for the the TUN/TAP interface.
# On non-Windows systems, you can give
# an explicit unit number, such as tun0.
# On Windows, use "dev-node" for this.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel if you
# have more than one. On XP SP2 or higher,
# you may need to selectively disable the
# Windows firewall for the TAP adapter.
# Non-Windows systems usually don't need this.
;dev-node MyTap

# SSL/TLS root certificate (ca), certificate
# (cert), and private key (key). Each client
# and the server must have their own cert and
# key file. The server and all clients will
# use the same ca file.
#
# See the "easy-rsa" directory for a series
# of scripts for generating RSA certificates
# and private keys. Remember to use
# a unique Common Name for the server
# and each of the client certificates.
#
# Any X509 key management system can be used.
# OpenVPN can also use a PKCS #12 formatted key file
# (see "pkcs12" directive in man page).
ca ca.crt
cert HomeLinuxServer.crt
key HomeLinuxServer.key # This file should be kept secret

# Diffie hellman parameters.
# Generate your own with:
# openssl dhparam -out dh2048.pem 2048
dh dh.pem

# Network topology
# Should be subnet (addressing via IP)
# unless Windows clients v2.0.9 and lower have to
# be supported (then net30, i.e. a /30 per client)
# Defaults to net30 (not recommended)
topology subnet

# Configure server mode and supply a VPN subnet
# for OpenVPN to draw client addresses from.
# The server will take 10.8.0.1 for itself,
# the rest will be made available to clients.
# Each client will be able to reach the server
# on 10.8.0.1. Comment this line out if you are
# ethernet bridging. See the man page for more info.
server 10.8.0.0 255.255.255.0

# Maintain a record of client <-> virtual IP address
# associations in this file. If OpenVPN goes down or
# is restarted, reconnecting clients can be assigned
# the same virtual IP address from the pool that was
# previously assigned.
ifconfig-pool-persist ipp.txt

# Configure server mode for ethernet bridging.
# You must first use your OS's bridging capability
# to bridge the TAP interface with the ethernet
# NIC interface. Then you must manually set the
# IP/netmask on the bridge interface, here we
# assume 10.8.0.4/255.255.255.0. Finally we
# must set aside an IP range in this subnet
# (start=10.8.0.50 end=10.8.0.100) to allocate
# to connecting clients. Leave this line commented
# out unless you are ethernet bridging.
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100

# Configure server mode for ethernet bridging
# using a DHCP-proxy, where clients talk
# to the OpenVPN server-side DHCP server
# to receive their IP address allocation
# and DNS server addresses. You must first use
# your OS's bridging capability to bridge the TAP
# interface with the ethernet NIC interface.
# Note: this mode only works on clients (such as
# Windows), where the client-side TAP adapter is
# bound to a DHCP client.
;server-bridge

# Push routes to the client to allow it
# to reach other private subnets behind
# the server. Remember that these
# private subnets will also need
# to know to route the OpenVPN client
# address pool (10.8.0.0/255.255.255.0)
# back to the OpenVPN server.
;push "route 192.168.10.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"

# To assign specific IP addresses to specific
# clients or if a connecting client has a private
# subnet behind it that should also have VPN access,
# use the subdirectory "ccd" for client-specific
# configuration files (see man page for more info).

# EXAMPLE: Suppose the client
# having the certificate common name "Thelonious"
# also has a small subnet behind his connecting
# machine, such as 192.168.40.128/255.255.255.248.
# First, uncomment out these lines:
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
# Then create a file ccd/Thelonious with this line:
# iroute 192.168.40.128 255.255.255.248
# This will allow Thelonious' private subnet to
# access the VPN. This example will only work
# if you are routing, not bridging, i.e. you are
# using "dev tun" and "server" directives.

# EXAMPLE: Suppose you want to give
# Thelonious a fixed VPN IP address of 10.9.0.1.
# First uncomment out these lines:
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
# Then add this line to ccd/Thelonious:
# ifconfig-push 10.9.0.1 10.9.0.2

# Suppose that you want to enable different
# firewall access policies for different groups
# of clients. There are two methods:
# (1) Run multiple OpenVPN daemons, one for each
# group, and firewall the TUN/TAP interface
# for each group/daemon appropriately.
# (2) (Advanced) Create a script to dynamically
# modify the firewall in response to access
# from different clients. See man
# page for more info on learn-address script.
;learn-address ./script

# If enabled, this directive will configure
# all clients to redirect their default
# network gateway through the VPN, causing
# all IP traffic such as web browsing and
# and DNS lookups to go through the VPN
# (The OpenVPN server machine may need to NAT
# or bridge the TUN/TAP interface to the internet
# in order for this to work properly).
push "redirect-gateway def1 bypass-dhcp"

# Certain Windows-specific network settings
# can be pushed to clients, such as DNS
# or WINS server addresses. CAVEAT:
# http://openvpn.net/faq.html#dhcpcaveats
# The addresses below refer to the public
# DNS servers provided by opendns.com.
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
;push "dhcp-option DNS 192.168.1.10"

# Uncomment this directive to allow different
# clients to be able to "see" each other.
# By default, clients will only see the server.
# To force clients to only see the server, you
# will also need to appropriately firewall the
# server's TUN/TAP interface.
;client-to-client

# Uncomment this directive if multiple clients
# might connect with the same certificate/key
# files or common names. This is recommended
# only for testing purposes. For production use,
# each client should have its own certificate/key
# pair.
#
# IF YOU HAVE NOT GENERATED INDIVIDUAL
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,
# EACH HAVING ITS OWN UNIQUE "COMMON NAME",
# UNCOMMENT THIS LINE OUT.
;duplicate-cn

# The keepalive directive causes ping-like
# messages to be sent back and forth over
# the link so that each side knows when
# the other side has gone down.
# Ping every 10 seconds, assume that remote
# peer is down if no ping received during
# a 120 second time period.
keepalive 10 120

# For extra security beyond that provided
# by SSL/TLS, create an "HMAC firewall"
# to help block DoS attacks and UDP port flooding.
#
# Generate with:
# openvpn --genkey --secret ta.key
#
# The server and each client must have
# a copy of this key.
# The second parameter should be '0'
# on the server and '1' on the clients.
;tls-auth ta.key 0 # This file is secret

# Select a cryptographic cipher.
# This config item must be copied to
# the client config file as well.
# Note that 2.4 client/server will automatically
# negotiate AES-256-GCM in TLS mode.
# See also the ncp-cipher option in the manpage
cipher AES-256-CBC

# Enable compression on the VPN link and push the
# option to the client (2.4+ only, for earlier
# versions see below)
;compress lz4-v2
;push "compress lz4-v2"

# For compression compatible with older clients use comp-lzo
# If you enable it here, you must also
# enable it in the client config file.
;comp-lzo

# The maximum number of concurrently connected
# clients we want to allow.
;max-clients 100

# It's a good idea to reduce the OpenVPN
# daemon's privileges after initialization.
#
# You can uncomment this out on
# non-Windows systems.
user nobody
group nobody

# The persist options will try to avoid
# accessing certain resources on restart
# that may no longer be accessible because
# of the privilege downgrade.
persist-key
persist-tun

# Output a short status file showing
# current connections, truncated
# and rewritten every minute.
status openvpn-status.log

# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the "\Program Files\OpenVPN\log" directory).
# Use log or log-append to override this default.
# "log" will truncate the log file on OpenVPN startup,
# while "log-append" will append to it. Use one
# or the other (but not both).
;log openvpn.log
;log-append openvpn.log

# Set the appropriate level of log
# file verbosity.
#
# 0 is silent, except for fatal errors
# 4 is reasonable for general usage
# 5 and 6 can help to debug connection problems
# 9 is extremely verbose
verb 3

# Silence repeating messages. At most 20
# sequential messages of the same message
# category will be output to the log.
;mute 20

# Notify the client that when the server restarts so it
# can automatically reconnect.
;explicit-exit-notify 1

alexh07
OpenVpn Newbie
Posts: 6
Joined: Tue Feb 28, 2017 5:02 pm

Re: Newbie: Undefined Error 0

Post by alexh07 » Tue Feb 28, 2017 7:31 pm

DOH! I just realized that the first line literally needs to be "client" not the name of the client...
So I can now connect to the VPN, but I get an error that the Internet is unreachable and my VPN may not be configured properly...
I thought I properly enabled the routing on my server and I forwarded the port traffic on my router to the VPN server. I'm not sure what I'm missing.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Newbie: Undefined Error 0

Post by TinCanTech » Tue Feb 28, 2017 7:40 pm

alexh07 wrote:2017-02-28 11:38:59 Tunnelblick[33653] Unknown option 'AlexMac' found in /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn

2017-02-28 11:39:17 Tunnelblick[33653] Converting/Installing /Volumes/My_Book/Data/OpenVPN/AlexMac.ovpn at line 11: The configuration file refers to a file '/etc/openvpn/easy-rsa/pki/issued/HomeLinuxServer.crt', which does not exist.

alexh07
OpenVpn Newbie
Posts: 6
Joined: Tue Feb 28, 2017 5:02 pm

Re: Newbie: Undefined Error 0

Post by alexh07 » Tue Feb 28, 2017 11:24 pm

Looks like DNS is not resolving internally and I do not have access to the Internet when connected to VPN.
Updated Server Config
#################################################
# Sample OpenVPN 2.0 config file for #
# multi-client server. #
# #
# This file is for the server side #
# of a many-clients <-> one-server #
# OpenVPN configuration. #
# #
# OpenVPN also supports #
# single-machine <-> single-machine #
# configurations (See the Examples page #
# on the web site for more info). #
# #
# This config should work on Windows #
# or Linux/BSD systems. Remember on #
# Windows to quote pathnames and use #
# double backslashes, e.g.: #
# "C:\\Program Files\\OpenVPN\\config\\foo.key" #
# #
# Comments are preceded with '#' or ';' #
#################################################

# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d

# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one. You will need to
# open up this port on your firewall.
port 1194

# TC./P or UDP server?
;proto tcp
proto udp

# "dev tun" will create a routed IP tunnel,
# "dev tap" will create an ethernet tunnel.
# Use "dev tap0" if you are ethernet bridging
# and have precreated a tap0 virtual interface
# and bridged it with your ethernet interface.
# If you want to control access policies
# over the VPN, you must create firewall
# rules for the the TUN/TAP interface.
# On non-Windows systems, you can give
# an explicit unit number, such as tun0.
# On Windows, use "dev-node" for this.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel if you
# have more than one. On XP SP2 or higher,
# you may need to selectively disable the
# Windows firewall for the TAP adapter.
# Non-Windows systems usually don't need this.
;dev-node MyTap

# SSL/TLS root certificate (ca), certificate
# (cert), and private key (key). Each client
# and the server must have their own cert and
# key file. The server and all clients will
# use the same ca file.
#
# See the "easy-rsa" directory for a series
# of scripts for generating RSA certificates
# and private keys. Remember to use
# a unique Common Name for the server
# and each of the client certificates.
#
# Any X509 key management system can be used.
# OpenVPN can also use a PKCS #12 formatted key file
# (see "pkcs12" directive in man page).
ca ca.crt
cert ./HomeLinuxServer.crt
key ./HomeLinuxServer.key # This file should be kept secret

# Diffie hellman parameters.
# Generate your own with:
# openssl dhparam -out dh2048.pem 2048
dh ./dh.pem

# Network topology
# Should be subnet (addressing via IP)
# unless Windows clients v2.0.9 and lower have to
# be supported (then net30, i.e. a /30 per client)
# Defaults to net30 (not recommended)
topology subnet

# Configure server mode and supply a VPN subnet
# for OpenVPN to draw client addresses from.
# The server will take 10.8.0.1 for itself,
# the rest will be made available to clients.
# Each client will be able to reach the server
# on 10.8.0.1. Comment this line out if you are
# ethernet bridging. See the man page for more info.
server 10.8.0.0 255.255.255.0

# Maintain a record of client <-> virtual IP address
# associations in this file. If OpenVPN goes down or
# is restarted, reconnecting clients can be assigned
# the same virtual IP address from the pool that was
# previously assigned.
ifconfig-pool-persist ipp.txt

# Configure server mode for ethernet bridging.
# You must first use your OS's bridging capability
# to bridge the TAP interface with the ethernet
# NIC interface. Then you must manually set the
# IP/netmask on the bridge interface, here we
# assume 10.8.0.4/255.255.255.0. Finally we
# must set aside an IP range in this subnet
# (start=10.8.0.50 end=10.8.0.100) to allocate
# to connecting clients. Leave this line commented
# out unless you are ethernet bridging.
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100

# Configure server mode for ethernet bridging
# using a DHCP-proxy, where clients talk
# to the OpenVPN server-side DHCP server
# to receive their IP address allocation
# and DNS server addresses. You must first use
# your OS's bridging capability to bridge the TAP
# interface with the ethernet NIC interface.
# Note: this mode only works on clients (such as
# Windows), where the client-side TAP adapter is
# bound to a DHCP client.
;server-bridge

# Push routes to the client to allow it
# to reach other private subnets behind
# the server. Remember that these
# private subnets will also need
# to know to route the OpenVPN client
# address pool (10.8.0.0/255.255.255.0)
# back to the OpenVPN server.
push "route 192.168.10.0 255.255.255.0"
push "route 192.168.20.0 255.255.255.0"

# To assign specific IP addresses to specific
# clients or if a connecting client has a private
# subnet behind it that should also have VPN access,
# use the subdirectory "ccd" for client-specific
# configuration files (see man page for more info).

# EXAMPLE: Suppose the client
# having the certificate common name "Thelonious"
# also has a small subnet behind his connecting
# machine, such as 192.168.40.128/255.255.255.248.
# First, uncomment out these lines:
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
# Then create a file ccd/Thelonious with this line:
# iroute 192.168.40.128 255.255.255.248
# This will allow Thelonious' private subnet to
# access the VPN. This example will only work
# if you are routing, not bridging, i.e. you are
# using "dev tun" and "server" directives.

# EXAMPLE: Suppose you want to give
# Thelonious a fixed VPN IP address of 10.9.0.1.
# First uncomment out these lines:
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
# Then add this line to ccd/Thelonious:
# ifconfig-push 10.9.0.1 10.9.0.2

# Suppose that you want to enable different
# firewall access policies for different groups
# of clients. There are two methods:
# (1) Run multiple OpenVPN daemons, one for each
# group, and firewall the TUN/TAP interface
# for each group/daemon appropriately.
# (2) (Advanced) Create a script to dynamically
# modify the firewall in response to access
# from different clients. See man
# page for more info on learn-address script.
;learn-address ./script

# If enabled, this directive will configure
# all clients to redirect their default
# network gateway through the VPN, causing
# all IP traffic such as web browsing and
# and DNS lookups to go through the VPN
# (The OpenVPN server machine may need to NAT
# or bridge the TUN/TAP interface to the internet
# in order for this to work properly).
push "redirect-gateway def1";bypass-dhcp"

# Certain Windows-specific network settings
# can be pushed to clients, such as DNS
# or WINS server addresses. CAVEAT:
# http://openvpn.net/faq.html#dhcpcaveats
# The addresses below refer to the public
# DNS servers provided by opendns.com.
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "dhcp-option DNS 192.168.1.10"

# Uncomment this directive to allow different
# clients to be able to "see" each other.
# By default, clients will only see the server.
# To force clients to only see the server, you
# will also need to appropriately firewall the
# server's TUN/TAP interface.
client-to-client

# Uncomment this directive if multiple clients
# might connect with the same certificate/key
# files or common names. This is recommended
# only for testing purposes. For production use,
# each client should have its own certificate/key
# pair.
#
# IF YOU HAVE NOT GENERATED INDIVIDUAL
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,
# EACH HAVING ITS OWN UNIQUE "COMMON NAME",
# UNCOMMENT THIS LINE OUT.
;duplicate-cn

# The keepalive directive causes ping-like
# messages to be sent back and forth over
# the link so that each side knows when
# the other side has gone down.
# Ping every 10 seconds, assume that remote
# peer is down if no ping received during
# a 120 second time period.
keepalive 10 120

# For extra security beyond that provided
# by SSL/TLS, create an "HMAC firewall"
# to help block DoS attacks and UDP port flooding.
#
# Generate with:
# openvpn --genkey --secret ta.key
#
# The server and each client must have
# a copy of this key.
# The second parameter should be '0'
# on the server and '1' on the clients.
;tls-auth ta.key 0 # This file is secret

# Select a cryptographic cipher.
# This config item must be copied to
# the client config file as well.
# Note that 2.4 client/server will automatically
# negotiate AES-256-GCM in TLS mode.
# See also the ncp-cipher option in the manpage
cipher AES-256-CBC

# Enable compression on the VPN link and push the
# option to the client (2.4+ only, for earlier
# versions see below)
;compress lz4-v2
;push "compress lz4-v2"

# For compression compatible with older clients use comp-lzo
# If you enable it here, you must also
# enable it in the client config file.
;comp-lzo

# The maximum number of concurrently connected
# clients we want to allow.
max-clients 5

# It's a good idea to reduce the OpenVPN
# daemon's privileges after initialization.
#
# You can uncomment this out on
# non-Windows systems.
user nobody
group nobody

# The persist options will try to avoid
# accessing certain resources on restart
# that may no longer be accessible because
# of the privilege downgrade.
persist-key
persist-tun

# Output a short status file showing
# current connections, truncated
# and rewritten every minute.
status openvpn-status.log

# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the "\Program Files\OpenVPN\log" directory).
# Use log or log-append to override this default.
# "log" will truncate the log file on OpenVPN startup,
# while "log-append" will append to it. Use one
# or the other (but not both).
;log openvpn.log
;log-append openvpn.log

# Set the appropriate level of log
# file verbosity.
#
# 0 is silent, except for fatal errors
# 4 is reasonable for general usage
# 5 and 6 can help to debug connection problems
# 9 is extremely verbose
verb 4

# Silence repeating messages. At most 20
# sequential messages of the same message
# category will be output to the log.
;mute 20

# Notify the client that when the server restarts so it
# can automatically reconnect.
;explicit-exit-notify 1
Updated Client Config
AlexMac
dev tun
proto udp
remote 192.168.1.10 1194
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
verb 3
ca /etc/openvpn/easy-rsa/pki/issued/HomeLinuxServer.crt
cert /etc/openvpn/easy-rsa/pki/issued/AlexMac.crt
key /etc/openvpn/easy-rsa/pki/private/AlexMac.key
netstat -nr Results Client
sh-3.2# netstat -nr
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
0/1 10.8.0.1 UGSc 31 0 utun1
default 192.168.1.1 UGSc 3 59 en1
10.8/24 10.8.0.2 UGSc 40 0 utun1
10.8.0.2 10.8.0.2 UH 1 0 utun1
127 127.0.0.1 UCS 0 526071 lo0
127.0.0.1 127.0.0.1 UH 3 142526 lo0
128.0/1 10.8.0.1 UGSc 5 0 utun1
192.168.1 link#5 UCS 3 0 en1
192.168.1.1/32 link#5 UCS 1 0 en1
192.168.1.1 d8:50:e6:ce:84:80 UHLWIir 4 1301 en1 1186
192.168.1.10/32 link#5 UCS 1 0 en1
192.168.1.10 6c:62:6d:3:17:7a UHLWIi 2 2059 en1 1186
192.168.1.117/32 link#5 UCS 0 0 en1
192.168.1.183 28:37:37:24:83:ac UHLWI 0 0 en1
192.168.1.189 8c:8e:f2:ab:2a:fe UHLWI 0 0 en1 1168
192.168.10 10.8.0.1 UGSc 0 0 utun1
192.168.20 10.8.0.1 UGSc 0 0 utun1
224.0.0/4 link#5 UmCS 2 0 en1
224.0.0.251 1:0:5e:0:0:fb UHmLWI 0 0 en1
239.255.255.250 1:0:5e:7f:ff:fa UHmLWI 0 260 en1
255.255.255.255/32 link#5 UCS 0 0 en1

Internet6:
Destination Gateway Flags Netif Expire
default fe80::%utun0 UGcI utun0
::1 ::1 UHL lo0
fe80::%lo0/64 fe80::1%lo0 UcI lo0
fe80::1%lo0 link#1 UHLI lo0
fe80::%en1/64 link#5 UCI en1
fe80::89d:8f71:4f41:667b%en1 68:a8:6d:22:62:f6 UHLI lo0
fe80::%utun0/64 fe80::d382:d8e7:510d:3b5f%utun0 UcI utun0
fe80::d382:d8e7:510d:3b5f%utun0 link#10 UHLI lo0
ff01::%lo0/32 ::1 UmCI lo0
ff01::%en1/32 link#5 UmCI en1
ff01::%utun0/32 fe80::d382:d8e7:510d:3b5f%utun0 UmCI utun0
ff02::%lo0/32 ::1 UmCI lo0
ff02::%en1/32 link#5 UmCI en1
ff02::%utun0/32 fe80::d382:d8e7:510d:3b5f%utun0 UmCI utun0
iptables Results Server
hain PREROUTING (policy ACCEPT 14522 packets, 1873K bytes)
pkts bytes target prot opt in out source destination

Chain INPUT (policy ACCEPT 12694 packets, 1340K bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 12933 packets, 2698K bytes)
pkts bytes target prot opt in out source destination

Chain POSTROUTING (policy ACCEPT 14701 packets, 3220K bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- any eith0 10.8.0.0/24 anywhere
Tunnelblick Log
*Tunnelblick: OS X 10.12.3; Tunnelblick 3.7.0 (build 4790)
2017-02-28 18:12:36 *Tunnelblick: Attempting connection with AlexMac using shadow copy; Set nameserver = 769; monitoring connection
2017-02-28 18:12:36 *Tunnelblick: openvpnstart start AlexMac.tblk 1337 769 0 1 0 1065264 -ptADGNWradsgnw 2.3.14-openssl-1.0.2k
2017-02-28 18:12:37 OpenVPN 2.3.14 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Jan 28 2017
2017-02-28 18:12:37 library versions: OpenSSL 1.0.2k 26 Jan 2017, LZO 2.09
2017-02-28 18:12:37 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:1337
2017-02-28 18:12:37 Need hold release from management interface, waiting...
2017-02-28 18:12:37 *Tunnelblick: openvpnstart starting OpenVPN
2017-02-28 18:12:38 *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.14-openssl-1.0.2k/openvpn
--daemon
--log
/Library/Application Support/Tunnelblick/Logs/-SUsers-SAlex-SLibrary-SApplication Support-STunnelblick-SConfigurations-SAlexMac.tblk-SContents-SResources-Sconfig.ovpn.769_0_1_0_1065264.1337.openvpn.log
--cd
/Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources
--verb
3
--config
/Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources/config.ovpn
--verb
3
--cd
/Library/Application Support/Tunnelblick/Users/Alex/AlexMac.tblk/Contents/Resources
--management
127.0.0.1
1337
--management-query-passwords
--management-hold
--script-security
2
--up
/Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw
--down
/Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw

2017-02-28 18:12:38 *Tunnelblick: Established communication with OpenVPN
2017-02-28 18:12:38 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:1337
2017-02-28 18:12:38 MANAGEMENT: CMD 'pid'
2017-02-28 18:12:38 MANAGEMENT: CMD 'state on'
2017-02-28 18:12:38 MANAGEMENT: CMD 'state'
2017-02-28 18:12:38 MANAGEMENT: CMD 'bytecount 1'
2017-02-28 18:12:38 MANAGEMENT: CMD 'hold release'
2017-02-28 18:12:38 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2017-02-28 18:12:38 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2017-02-28 18:12:42 MANAGEMENT: CMD 'password [...]'
2017-02-28 18:12:42 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2017-02-28 18:12:42 Socket Buffers: R=[196724->196724] S=[9216->9216]
2017-02-28 18:12:42 UDPv4 link local: [undef]
2017-02-28 18:12:42 UDPv4 link remote: [AF_INET]192.168.1.10:1194
2017-02-28 18:12:42 MANAGEMENT: >STATE:1488323562,WAIT,,,
2017-02-28 18:12:42 MANAGEMENT: >STATE:1488323562,AUTH,,,
2017-02-28 18:12:42 TLS: Initial packet from [AF_INET]192.168.1.10:1194, sid=67d60d2b 870c025c
2017-02-28 18:12:42 VERIFY OK: depth=1, CN=atlasalex
2017-02-28 18:12:42 VERIFY OK: depth=0, CN=atlasalex
2017-02-28 18:12:42 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
2017-02-28 18:12:42 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2017-02-28 18:12:42 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
2017-02-28 18:12:42 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2017-02-28 18:12:42 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
2017-02-28 18:12:42 [atlasalex] Peer Connection Initiated with [AF_INET]192.168.1.10:1194
2017-02-28 18:12:44 MANAGEMENT: >STATE:1488323564,GET_CONFIG,,,
2017-02-28 18:12:45 SENT CONTROL [atlasalex]: 'PUSH_REQUEST' (status=1)
2017-02-28 18:12:45 PUSH: Received control message: 'PUSH_REPLY,route 192.168.10.0 255.255.255.0,route 192.168.20.0 255.255.255.0,redirect-gateway def1,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,dhcp-option DNS 192.168.1.10,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.8.0.2 255.255.255.0'
2017-02-28 18:12:45 OPTIONS IMPORT: timers and/or timeouts modified
2017-02-28 18:12:45 OPTIONS IMPORT: --ifconfig/up options modified
2017-02-28 18:12:45 OPTIONS IMPORT: route options modified
2017-02-28 18:12:45 OPTIONS IMPORT: route-related options modified
2017-02-28 18:12:45 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2017-02-28 18:12:45 Opening utun (connect(AF_SYS_CONTROL)): Resource busy
2017-02-28 18:12:45 Opened utun device utun1
2017-02-28 18:12:45 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
2017-02-28 18:12:45 MANAGEMENT: >STATE:1488323565,ASSIGN_IP,,10.8.0.2,
2017-02-28 18:12:45 /sbin/ifconfig utun1 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
2017-02-28 18:12:45 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
2017-02-28 18:12:45 /sbin/ifconfig utun1 10.8.0.2 10.8.0.2 netmask 255.255.255.0 mtu 1500 up
2017-02-28 18:12:45 /sbin/route add -net 10.8.0.0 10.8.0.2 255.255.255.0
add net 10.8.0.0: gateway 10.8.0.2
2017-02-28 18:12:45 /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw utun1 1500 1557 10.8.0.2 255.255.255.0 init
**********************************************
Start of output from client.up.tunnelblick.sh
Disabled IPv6 for 'SAMSUNG_Android_SCH-I535'
Disabled IPv6 for 'SAMSUNG_Android'
Disabled IPv6 for 'Ethernet'
Disabled IPv6 for 'FireWire'
Disabled IPv6 for 'Bluetooth PAN'
Disabled IPv6 for 'Thunderbolt Bridge'
Retrieved from OpenVPN: name server(s) [ 8.8.8.8 8.8.4.4 192.168.1.10 ], search domain(s) [ ] and SMB server(s) [ ] and using default domain name [ openvpn ]
WARNING: Ignoring ServerAddresses '8.8.8.8 8.8.4.4 192.168.1.10' because ServerAddresses was set manually
Setting search domains to 'openvpn' because running under OS X 10.6 or higher and the search domains were not set manually and 'Prepend domain name to search domains' was not selected
Saved the DNS and SMB configurations so they can be restored
Did not change DNS ServerAddresses setting of '192.168.1.10 192.168.1.1 8.8.8.8 8.8.4.4' (but re-set it)
Changed DNS SearchDomains setting from '' to 'openvpn'
Changed DNS DomainName setting from 'heidenreich.net' to 'openvpn'
Did not change SMB NetBIOSName setting of ''
Did not change SMB Workgroup setting of 'HEIDENREICH'
Did not change SMB WINSAddresses setting of ''
DNS servers '192.168.1.10 192.168.1.1 8.8.8.8 8.8.4.4' were set manually
DNS servers '192.168.1.10 192.168.1.1 8.8.8.8 8.8.4.4' will be used for DNS queries when the VPN is active
NOTE: The DNS servers include one or more free public DNS servers known to Tunnelblick and one or more DNS servers not known to Tunnelblick. If used, the DNS servers not known to Tunnelblick 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
/usr/sbin/discoveryutil not present. Not flushing the DNS cache via discoveryutil
Notified mDNSResponder that the DNS cache was flushed
Setting up to monitor system configuration with process-network-changes
End of output from client.up.tunnelblick.sh
**********************************************
2017-02-28 18:12:53 *Tunnelblick: No 'connected.sh' script to execute
2017-02-28 18:12:53 /sbin/route add -cloning -net 192.168.1.10 -netmask 255.255.255.255 -interface en1
add net 192.168.1.10: gateway en1
2017-02-28 18:12:53 /sbin/route add -net 0.0.0.0 10.8.0.1 128.0.0.0
add net 0.0.0.0: gateway 10.8.0.1
2017-02-28 18:12:53 /sbin/route add -net 128.0.0.0 10.8.0.1 128.0.0.0
add net 128.0.0.0: gateway 10.8.0.1
2017-02-28 18:12:53 MANAGEMENT: >STATE:1488323573,ADD_ROUTES,,,
2017-02-28 18:12:53 /sbin/route add -net 192.168.10.0 10.8.0.1 255.255.255.0
add net 192.168.10.0: gateway 10.8.0.1
2017-02-28 18:12:53 /sbin/route add -net 192.168.20.0 10.8.0.1 255.255.255.0
add net 192.168.20.0: gateway 10.8.0.1
2017-02-28 18:12:53 Initialization Sequence Completed
2017-02-28 18:12:53 MANAGEMENT: >STATE:1488323573,CONNECTED,SUCCESS,10.8.0.2,192.168.1.10
2017-02-28 18:12:57 *Tunnelblick process-network-changes: A system configuration change was ignored
2017-02-28 18:13:33 *Tunnelblick: After 30.0 seconds, gave up trying to fetch IP address information using the ipInfo host's name after connecting.
2017-02-28 18:14:08 *Tunnelblick: After 30.0 seconds, gave up trying to fetch IP address information using the ipInfo host's IP address after connecting.
2017-02-28 18:20:01 *Tunnelblick: Disconnecting; 'Disconnect' (toggle) menu command invoked
2017-02-28 18:20:01 *Tunnelblick: No 'pre-disconnect.sh' script to execute
2017-02-28 18:20:01 *Tunnelblick: Disconnecting using 'kill'
2017-02-28 18:20:02 event_wait : Interrupted system call (code=4)
2017-02-28 18:20:02 /sbin/route delete -net 192.168.20.0 10.8.0.1 255.255.255.0
delete net 192.168.20.0: gateway 10.8.0.1
2017-02-28 18:20:02 /sbin/route delete -net 192.168.10.0 10.8.0.1 255.255.255.0
delete net 192.168.10.0: gateway 10.8.0.1
2017-02-28 18:20:02 /sbin/route delete -cloning -net 192.168.1.10 -netmask 255.255.255.255 -interface en1
delete net 192.168.1.10: gateway en1
2017-02-28 18:20:02 /sbin/route delete -net 0.0.0.0 10.8.0.1 128.0.0.0
delete net 0.0.0.0: gateway 10.8.0.1
2017-02-28 18:20:02 /sbin/route delete -net 128.0.0.0 10.8.0.1 128.0.0.0
delete net 128.0.0.0: gateway 10.8.0.1
2017-02-28 18:20:02 Closing TUN/TAP interface
2017-02-28 18:20:02 /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw utun1 1500 1557 10.8.0.2 255.255.255.0 init
**********************************************
Start of output from client.down.tunnelblick.sh
Cancelled monitoring of system configuration changes
Restored the DNS and SMB configurations
Re-enabled IPv6 (automatic) for 'SAMSUNG_Android_SCH-I535'
Re-enabled IPv6 (automatic) for 'SAMSUNG_Android'
Re-enabled IPv6 (automatic) for 'Ethernet'
Re-enabled IPv6 (automatic) for 'FireWire'
Re-enabled IPv6 (automatic) for 'Bluetooth PAN'
Re-enabled IPv6 (automatic) for 'Thunderbolt Bridge'
Flushed the DNS cache via dscacheutil
/usr/sbin/discoveryutil not present. Not flushing the DNS cache via discoveryutil
Notified mDNSResponder that the DNS cache was flushed
End of output from client.down.tunnelblick.sh
**********************************************
2017-02-28 18:20:05 SIGTERM[hard,] received, process exiting
2017-02-28 18:20:05 MANAGEMENT: >STATE:1488324005,EXITING,SIGTERM,,
2017-02-28 18:20:06 *Tunnelblick: No 'post-disconnect.sh' script to execute
2017-02-28 18:20:06 *Tunnelblick: Expected disconnection occurred.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Newbie: Undefined Error 0

Post by TinCanTech » Tue Feb 28, 2017 11:36 pm


alexh07
OpenVpn Newbie
Posts: 6
Joined: Tue Feb 28, 2017 5:02 pm

Re: Newbie: Undefined Error 0

Post by alexh07 » Wed Mar 01, 2017 2:20 am

Hi, thank you for the response. I have already followed that and have it setup (I went through the steps again for good measure), but still cannot access the internet when connect to VPN. Tunnelblick keeps giving me the below error after connection:

"Tunnelblick: After 30.0 seconds, gave up trying to fetch IP address information using the ipInfo host's IP address after connecting."

alexh07
OpenVpn Newbie
Posts: 6
Joined: Tue Feb 28, 2017 5:02 pm

Re: Newbie: Undefined Error 0

Post by alexh07 » Wed Mar 01, 2017 3:07 am

SOLVED: I had a typo in my interface in the routing table!

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Newbie: Undefined Error 0

Post by TinCanTech » Wed Mar 01, 2017 12:09 pm

FYI:
  • NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
:arrow: Never use 192.168.0.0/24 or 192.168.1.0/24 (or other common subnets) for your OpenVPN Server LAN :!:
  • You are advised to change your server LAN to a more unique RFC1918 compliant subnet. f.e 192.168.143.0/24

Post Reply