1 | Here is the exchange on the Tunnelblick Discussion Group: |
---|
2 | |
---|
3 | ================== |
---|
4 | Wolfgang: |
---|
5 | |
---|
6 | " upgraded OS X to Lion and Tunnelblick to the latest beta 3.2.beta26 |
---|
7 | |
---|
8 | Normal operation is fine for me (direct connections to OpenVPN server). |
---|
9 | |
---|
10 | However, when I try to connect to one of our customers I have to use a socks server (to get the outgoing ip address right). This worked fine before. |
---|
11 | |
---|
12 | Now the openVPN sends a username to the socks server (cmd@xxx.xxx.xxx.xxx), but our socks server does not need / alowes for one. |
---|
13 | |
---|
14 | In the OpenVPN change log (http://openvpn.net/index.php/open-source/documentation/change-log/425-changelog-for-openvpn-22.html) I found |
---|
15 | |
---|
16 | Pierre Bourdon (1): Adding support for SOCKS plain text authentication |
---|
17 | |
---|
18 | I need to switch of the transfer of the user name. In my config file no user name is given. From the Log: |
---|
19 | |
---|
20 | 2011-07-21 16:13:49 MANAGEMENT: >STATE:1311257629,TCP_CONNECT,,, |
---|
21 | 2011-07-21 16:13:50 *Tunnelblick: Flushed the DNS cache |
---|
22 | 2011-07-21 16:13:50 TCP connection established with xx.xx.xx.xxx:1080 |
---|
23 | 2011-07-21 16:13:50 socks_handshake: server asked for username/login auth but we were not provided any credentials |
---|
24 | 2011-07-21 16:13:50 TCP/UDP: Closing socket |
---|
25 | 2011-07-21 16:13:50 SIGTERM[soft,init_instance] received, process exiting |
---|
26 | |
---|
27 | Any help is appreciated, thanks in advance! |
---|
28 | |
---|
29 | Best, Wolfgang" |
---|
30 | |
---|
31 | ================== |
---|
32 | jkbull...gmail.com: |
---|
33 | |
---|
34 | If this is caused by a change in OpenVPN, you could try using an older version of OpenVPN with the latest version of Tunnelblick. Tunnelblick should work with any OpenVPN version of 2.0 and higher, but I recommend you use the latest version that doesn't cause this problem. |
---|
35 | |
---|
36 | The OpenVPN binary in any version of Tunnelblick is located in Tunnelblick.app/Contents/Resources/ and is named openvpn. You can just replace it with an older version from an older version of Tunnelblick. (You can see inside a Tunnelblick.app doing a Control-click on it and selecting "Show Package Contents".) |
---|
37 | |
---|
38 | If you know what version of Tunnelblick you upgraded from, try the OpenVPN contained in it. Otherwise, here's a list of versions of Tunnelblick and the versions of OpenVPN that they contain: |
---|
39 | |
---|
40 | Tunnelblick 3.2beta24 uses OpenVPN 2.2.1 |
---|
41 | Tunnelblick 3.2beta10 uses OpenVPN 2.2 |
---|
42 | Tunnelblick 3.1beta22 uses OpenVPN 2.1.4 <----------- This is your best bet -- it is before the SOCKS change you mentioned |
---|
43 | Tunnelblick 3.1beta14 uses OpenVPN 2.1.3 |
---|
44 | Tunnelblick 3.0b26 uses OpenVPN 2.1.1 |
---|
45 | Tunnelblick 3.0b22 uses OpenVPN 2.1_rc20 |
---|
46 | Tunnelblick 3.0b16 uses OpenVPN 2.1_rc19 |
---|
47 | Tunnelblick 3.0b10 uses OpenVPN 2.1_rc15 |
---|
48 | <snip> |
---|
49 | |
---|
50 | ================== |
---|
51 | Wolfgang: |
---|
52 | |
---|
53 | Thanks a lot. |
---|
54 | |
---|
55 | after downloading the recommended version I copied the included files |
---|
56 | |
---|
57 | Installer/Contents/Resources/ |
---|
58 | - openvpn |
---|
59 | - openvpn-down.so |
---|
60 | - openvpn.conf |
---|
61 | |
---|
62 | to |
---|
63 | |
---|
64 | /Applications/Tunnelblick/Contents/Resources |
---|
65 | |
---|
66 | and now it works perfectly. |
---|
67 | |
---|
68 | Thanks a lot for the hint. Performing a full downgrade of Tunnelblick was not an option with Lion. |
---|
69 | |
---|
70 | ================== |
---|
71 | jkbull...gmail.com: |
---|
72 | |
---|
73 | I'm glad its working for you now. |
---|
74 | |
---|
75 | And good catch about openvpn-down-root.so. That should be copied. |
---|
76 | |
---|
77 | It isn't necessary to copy openvpn.conf, though -- it is just a sample configuration file, not used for connecting. |
---|
78 | |
---|
79 | And, for anyone reading this thread, do not copy openvpnstart. |
---|