Ticket #148: socks-discussion.txt

File socks-discussion.txt, 3.2 KB (added by jkb, 10 years ago)

Transcript of thread on the Tunnelblick Discussion Group

Line 
1Here is the exchange on the Tunnelblick Discussion Group:
2
3==================
4Wolfgang:
5
6" upgraded OS X to Lion and Tunnelblick to the latest beta 3.2.beta26
7
8Normal operation is fine for me (direct connections to OpenVPN server).
9
10However, 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
12Now 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
14In the OpenVPN change log (http://openvpn.net/index.php/open-source/documentation/change-log/425-changelog-for-openvpn-22.html) I found
15
16Pierre Bourdon (1): Adding support for SOCKS plain text authentication
17
18I need to switch of the transfer of the user name. In my config file no user name is given. From the Log:
19
202011-07-21 16:13:49 MANAGEMENT: >STATE:1311257629,TCP_CONNECT,,,
212011-07-21 16:13:50 *Tunnelblick: Flushed the DNS cache
222011-07-21 16:13:50 TCP connection established with xx.xx.xx.xxx:1080
232011-07-21 16:13:50 socks_handshake: server asked for username/login auth but we were not provided any credentials
242011-07-21 16:13:50 TCP/UDP: Closing socket
252011-07-21 16:13:50 SIGTERM[soft,init_instance] received, process exiting
26
27Any help is appreciated, thanks in advance!
28
29Best, Wolfgang"
30
31==================
32jkbull...gmail.com:
33
34If 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
36The 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
38If 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
40Tunnelblick 3.2beta24 uses OpenVPN 2.2.1
41Tunnelblick 3.2beta10 uses OpenVPN 2.2
42Tunnelblick 3.1beta22 uses OpenVPN 2.1.4 <----------- This is your best bet -- it is before the SOCKS change you mentioned
43Tunnelblick 3.1beta14 uses OpenVPN 2.1.3
44Tunnelblick 3.0b26 uses OpenVPN 2.1.1
45Tunnelblick 3.0b22 uses OpenVPN 2.1_rc20
46Tunnelblick 3.0b16 uses OpenVPN 2.1_rc19
47Tunnelblick 3.0b10 uses OpenVPN 2.1_rc15
48<snip>
49
50==================
51Wolfgang:
52
53Thanks a lot.
54
55after downloading the recommended version I copied the included files
56
57Installer/Contents/Resources/
58- openvpn
59- openvpn-down.so
60- openvpn.conf
61
62to
63
64/Applications/Tunnelblick/Contents/Resources
65
66and now it works perfectly.
67
68Thanks a lot for the hint. Performing a full downgrade of Tunnelblick was not an option with Lion.
69
70==================
71jkbull...gmail.com:
72
73I'm glad its working for you now.
74
75And good catch about openvpn-down-root.so. That should be copied.
76
77It isn't necessary to copy openvpn.conf, though -- it is just a sample configuration file, not used for connecting.
78
79And, for anyone reading this thread, do not copy openvpnstart.