I tried in a coffe shop and it didn't work. I assume it is iptables that stop me. I tried this... no result:
iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT
Thats the right way to do actually. But be sure you are using protocol UDP instead of TCP.
I try to set up bridging interface so it is TCP right?
Here my logs and I replace my external ip by x.x.x.x:
Tunnelblick Log:
2013-08-21 22:22:11 *Tunnelblick: OS X 10.8.4; Tunnelblick 3.3.0 (build 3518)
2013-08-21 22:22:11 *Tunnelblick: Attempting connection with test using shadow copy; Set nameserver = 1; monitoring connection
2013-08-21 22:22:11 *Tunnelblick: openvpnstart start test.tblk 1337 1 0 1 0 370 -atADGNWradsgnw
2013-08-21 22:22:12 *Tunnelblick: openvpnstart log:
Loading tap.kext
OpenVPN started successfully. Command used to start OpenVPN (one argument per displayed line):
/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.2.1/openvpn
--cd
/Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources
--daemon
--management
127.0.0.1
1337
--config
/Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources/config.ovpn
--log
/Library/Application Support/Tunnelblick/Logs/-SUsers-Searadritz-SLibrary-SApplication Support-STunnelblick-SConfigurations-Stest.tblk-SContents-SResources-Sconfig.ovpn.1_0_1_0_370.1337.openvpn.log
--management-query-passwords
--management-hold
--script-security
2
--up
/Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -m -w -d -a -f -atADGNWradsgnw
--down
/Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -m -w -d -a -f -atADGNWradsgnw
--up-restart
2013-08-21 22:22:11 *Tunnelblick: openvpnstart starting OpenVPN:
* /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.2.1/openvpn --cd /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources --daemon --management 127.0.0.1 1337 --config /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources/config.ovpn --log /Library/Application Support/Tunnelblick/Logs/-SUsers-Searadritz-SLibrary-SApplication Support-STunnelblick-SConfigurations-Stest.tblk-SContents-SResources-Sconfig.ovpn.1_0_1_0_370.1337.openvpn.log --management-query-passwords --management-hold --script-security 2 --up /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -m -w -d -a -f -atADGNWradsgnw --down /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -m -w -d -a -f -atADGNWradsgnw --up-restart
2013-08-21 22:22:12 *Tunnelblick: Established communication with OpenVPN
2013-08-21 22:22:12 OpenVPN 2.2.1 i386-apple-darwin10.8.0 [SSL] [LZO2] [PKCS11] [eurephia] built on Jul 22 2013
2013-08-21 22:22:12 MANAGEMENT: TCP Socket listening on 127.0.0.1:1337
2013-08-21 22:22:12 Need hold release from management interface, waiting...
2013-08-21 22:22:12 MANAGEMENT: Client connected from 127.0.0.1:1337
2013-08-21 22:22:12 MANAGEMENT: CMD 'pid'
2013-08-21 22:22:12 MANAGEMENT: CMD 'state on'
2013-08-21 22:22:12 MANAGEMENT: CMD 'state'
2013-08-21 22:22:12 MANAGEMENT: CMD 'bytecount 1'
2013-08-21 22:22:12 MANAGEMENT: CMD 'hold release'
2013-08-21 22:22:12 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2013-08-21 22:22:12 LZO compression initialized
2013-08-21 22:22:12 Control Channel MTU parms [ L:1576 D:140 EF:40 EB:0 ET:0 EL:0 ]
2013-08-21 22:22:12 Socket Buffers: R=[131072->65536] S=[131072->65536]
2013-08-21 22:22:12 Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:135 ET:32 EL:0 AF:3/1 ]
2013-08-21 22:22:12 Local Options hash (VER=V4): '31fdf004'
2013-08-21 22:22:12 Expected Remote Options hash (VER=V4): '3e6d1056'
2013-08-21 22:22:12 Attempting to establish TCP connection with x.x.x.x:1194 [nonblock]
2013-08-21 22:22:12 MANAGEMENT: >STATE:1377138132,TCP_CONNECT,,,
2013-08-21 22:22:13 TCP: connect to x.x.x.x:1194 failed, will try again in 5 seconds: Connection refused
Console log
Console Log:
2013-08-21 19:06:55 Tunnelblick[82383] DEBUG: willGoToSleepHandler: Setting up connections to restore when computer wakes up
2013-08-21 19:06:55 Tunnelblick[82383] DEBUG: willGoToSleepHandler: OK to go to sleep
2013-08-21 21:58:22 Tunnelblick[82383] DEBUG: currentIPInfo(Name): IP address info was fetched in 697 milliseconds
2013-08-21 21:58:22 Tunnelblick[82383] DEBUG: currentIPInfo(Name): [x.x.x.x, 63559, 205.233.73.116]
2013-08-21 21:58:22 Tunnelblick[82383] openvpnstart status from compareShadowCopy: 251
2013-08-21 21:58:28 Tunnelblick[82383] openvpnstart status from compareShadowCopy: 251
2013-08-21 21:58:28 Tunnelblick[82383] DEBUG: addActiveIPCheckThread: threadID '43315200-527698324107157' added to the active list
2013-08-21 21:58:28 Tunnelblick[82383] DEBUG: checkIPAddressAfterConnectedThread: Delaying 5.000000 seconds before checking connection
2013-08-21 21:58:33 Tunnelblick[82383] DEBUG: currentIPInfo(Name): IP address info was fetched in 160 milliseconds
2013-08-21 21:58:33 Tunnelblick[82383] DEBUG: currentIPInfo(Name): [x.x.x.x, 63559, 205.233.73.116]
2013-08-21 21:58:33 Tunnelblick[82383] DEBUG: isOnCancellingListIPCheckThread: threadID '43315200-527698324107157' is not on the the cancelling list
2013-08-21 21:58:33 Tunnelblick[82383] DEBUG: checkIPAddressAfterConnectedThread: fetched IP address x.x.x.x
2013-08-21 21:58:33 Tunnelblick[82383] DEBUG: haveFinishedIPCheckThread: threadID '43315200-527698324107157' removed from active list
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 43315200
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: has checked for active daemons
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: includeDaemons = 0; noUnknownOpenVPNsRunning = 1; noActiveDaemons = 1; noDownRootsActive = 1
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: will use killAll
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: requested killAll
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 43315200
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 43315200
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 21:58:52 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 43315200
2013-08-21 21:58:53 Tunnelblick[82383] openvpnstart status from compareShadowCopy: 251
2013-08-21 21:58:53 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: killAll finished
2013-08-21 21:58:53 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 21:58:53 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 43315200
2013-08-21 22:00:58 Tunnelblick[82383] Beginning installation or repair
2013-08-21 22:00:58 authexec[22104] executing /Applications/Tunnelblick.app/Contents/Resources/installer
2013-08-21 22:00:59 Tunnelblick[82383] Installation or repair succeeded; Log:
Tunnelblick installer started 2013-08-21 22:00:59. 2 arguments: 0x2001 /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk
removed /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk
DEBUG 005: firstPath prefix DID match:
/Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk
/Users/earadritz/Library/Application Support/Tunnelblick/Configurations
removed /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk
2013-08-21 22:00:59 Tunnelblick[82383] Uninstalled configuration file /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk
2013-08-21 22:01:17 Tunnelblick[82383] Beginning installation or repair
2013-08-21 22:01:17 authexec[22121] executing /Applications/Tunnelblick.app/Contents/Resources/installer
2013-08-21 22:01:17 Tunnelblick[82383] Installation or repair succeeded; Log:
Tunnelblick installer started 2013-08-21 22:01:17. 3 arguments: 0x0001 /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk /private/var/folders/d6/v1hbr7pd2mv7g11ys731f7xm0000gn/T/TunnelblickTemporaryDotTblk-XZNw1V/test.tblk
Copied /private/var/folders/d6/v1hbr7pd2mv7g11ys731f7xm0000gn/T/TunnelblickTemporaryDotTblk-XZNw1V/test.tblk to /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk.temp
Copied /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk.temp to /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk
Changed ownership of /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk and its contents to 501:80
Changed permissions from 755 to 750 on /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk
Changed permissions from 755 to 750 on /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk/Contents
Changed permissions from 755 to 750 on /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk/Contents/Resources
Changed permissions from 744 to 640 on /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk/Contents/Resources/ca.crt
Changed permissions from 744 to 640 on /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk/Contents/Resources/config.ovpn
Changed permissions from 744 to 640 on /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk/Contents/Resources/earadritz.crt
Changed permissions from 700 to 640 on /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk/Contents/Resources/earadritz.key
Copied /Users/earadritz/Library/Application Support/Tunnelblick/Configurations/test.tblk to /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk.temp
Copied /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk.temp to /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk
Changed ownership of /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk and its contents to 0:0
Changed permissions from 640 to 600 on /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources/ca.crt
Changed permissions from 640 to 600 on /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources/config.ovpn
Changed permissions from 640 to 600 on /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources/earadritz.crt
Changed permissions from 640 to 600 on /Library/Application Support/Tunnelblick/Users/earadritz/test.tblk/Contents/Resources/earadritz.key
Created secure (shadow) copy of test.tblk
2013-08-21 22:01:26 Tunnelblick[82383] DEBUG: willGoToSleepHandler: Setting up connections to restore when computer wakes up
2013-08-21 22:01:26 Tunnelblick[82383] DEBUG: willGoToSleepHandler: OK to go to sleep
2013-08-21 22:22:11 Tunnelblick[82383] DEBUG: currentIPInfo(Name): IP address info was fetched in 473 milliseconds
2013-08-21 22:22:11 Tunnelblick[82383] DEBUG: currentIPInfo(Name): [69.159.92.23, 60260, 205.233.73.116]
2013-08-21 22:22:11 Tunnelblick[82383] openvpnstart status from compareShadowCopy: 251
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 69110272
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: has checked for active daemons
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: includeDaemons = 0; noUnknownOpenVPNsRunning = 1; noActiveDaemons = 1; noDownRootsActive = 1
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: will use killAll
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: requested killAll
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 69110272
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 69110272
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 22:22:49 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 69110272
2013-08-21 22:22:50 Tunnelblick[82383] openvpnstart status from compareShadowCopy: 251
2013-08-21 22:22:50 Tunnelblick[82383] DEBUG: killAllConnectionsIncludingDaemons: killAll finished
2013-08-21 22:22:50 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: Entered
2013-08-21 22:22:50 Tunnelblick[82383] DEBUG: cancelAllIPCheckThreadsForConnection: No active threads for connection 69110272
Thk