[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

VPN over TOR problem

I am trying to setup VPN over Tor, tried various solutions, by can’t make it working. Last thing I did is setting up vpnbook free connection through openvpn. I get no errors while following tutorial on their site https://www.vpnbook.com/howto/setup-openvpn-on-ubuntu but whats next? how to make Tor Browser work through this VPN connection? Here is openvpn output if this helps:

Thu Apr 9 13:31:42 2015 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Apr 9 13:31:42 2015 NOTE: OpenVPN 2.1 requires ‘–script-security 2’ or higher to call user-defined scripts or executables
Thu Apr 9 13:31:42 2015 NOTE: --fast-io is disabled since we are not using UDP
Thu Apr 9 13:31:42 2015 LZO compression initialized
Thu Apr 9 13:31:42 2015 Control Channel MTU parms [ L:1560 D:140 EF:40 EB:0 ET:0 EL:0 ]
Thu Apr 9 13:31:42 2015 Socket Buffers: R=[87380->131072] S=[16384->131072]
Thu Apr 9 13:31:42 2015 Data Channel MTU parms [ L:1560 D:1450 EF:60 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Apr 9 13:31:42 2015 Local Options hash (VER=V4): 'bc07730e’
Thu Apr 9 13:31:42 2015 Expected Remote Options hash (VER=V4): 'b695cb4a’
Thu Apr 9 13:31:42 2015 Attempting to establish TCP connection with [AF_INET]198.7.62.204:443 [nonblock]
Thu Apr 9 13:31:43 2015 TCP connection established with [AF_INET]198.7.62.204:443
Thu Apr 9 13:31:43 2015 TCPv4_CLIENT link local: [undef]
Thu Apr 9 13:31:43 2015 TCPv4_CLIENT link remote: [AF_INET]198.7.62.204:443
Thu Apr 9 13:31:43 2015 TLS: Initial packet from [AF_INET]198.7.62.204:443, sid=0b13a244 7bda0fe5
Thu Apr 9 13:31:43 2015 WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this
Thu Apr 9 13:31:46 2015 VERIFY OK: depth=1, /C=CH/ST=Zurich/L=Zurich/O=vpnbook.com/OU=IT/CN=vpnbook.com/name=vpnbook.com/emailAddress=admin@vpnbook.com
Thu Apr 9 13:31:46 2015 VERIFY OK: depth=0, /C=CH/ST=Zurich/L=Zurich/O=vpnbook.com/OU=IT/CN=vpnbook.com/name=vpnbook.com/emailAddress=admin@vpnbook.com
Thu Apr 9 13:31:47 2015 Data Channel Encrypt: Cipher ‘AES-128-CBC’ initialized with 128 bit key
Thu Apr 9 13:31:47 2015 Data Channel Encrypt: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Thu Apr 9 13:31:47 2015 Data Channel Decrypt: Cipher ‘AES-128-CBC’ initialized with 128 bit key
Thu Apr 9 13:31:47 2015 Data Channel Decrypt: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Thu Apr 9 13:31:47 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Apr 9 13:31:47 2015 [vpnbook.com] Peer Connection Initiated with [AF_INET]198.7.62.204:443
Thu Apr 9 13:31:50 2015 SENT CONTROL [vpnbook.com]: ‘PUSH_REQUEST’ (status=1)
Thu Apr 9 13:31:50 2015 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 8.8.8.8,dhcp-option DNS 91.239.100.100,route 10.9.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.9.5.150 10.9.5.149’
Thu Apr 9 13:31:50 2015 OPTIONS IMPORT: timers and/or timeouts modified
Thu Apr 9 13:31:50 2015 OPTIONS IMPORT: --ifconfig/up options modified
Thu Apr 9 13:31:50 2015 OPTIONS IMPORT: route options modified
Thu Apr 9 13:31:50 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Apr 9 13:31:50 2015 ROUTE default_gateway=10.152.152.10
Thu Apr 9 13:31:50 2015 TUN/TAP device tun1 opened
Thu Apr 9 13:31:50 2015 TUN/TAP TX queue length set to 100
Thu Apr 9 13:31:50 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Apr 9 13:31:50 2015 /sbin/ifconfig tun1 10.9.5.150 pointopoint 10.9.5.149 mtu 1500
Thu Apr 9 13:31:52 2015 /sbin/route add -net 198.7.62.204 netmask 255.255.255.255 gw 10.152.152.10
Thu Apr 9 13:31:52 2015 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.9.5.149
Thu Apr 9 13:31:52 2015 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.9.5.149
Thu Apr 9 13:31:52 2015 /sbin/route add -net 10.9.0.1 netmask 255.255.255.255 gw 10.9.5.149
Thu Apr 9 13:31:52 2015 Initialization Sequence Completed

Yes, I’ve read whonix docs numerous times, concerning this question, but I am newbie, so can miss something. Thanks for help.
P.S. well, iceweasel works that way.

Did you apply https://www.whonix.org/wiki/Tor_Browser#Change.2FRemove_Proxy_Settings?

Also note:
https://www.whonix.org/forum/index.php/topic,939.0.html

yes, i’ve tried to remove proxy settings in tor browser, it doesn’t connect to internet at all in this situation. i am using alpha version of tor browser. thanks for fast reply.

I don’t know yet how to remove proxy settings from TBB Alpha using graphical user interface. No one replied on #Tor irc.oftc.net either. Perhaps it’s not even possible.

From https://www.whonix.org/wiki/Tor_Browser#Change.2FRemove_Proxy_Settings this…

For an alternative method, setting Transparent Torification which does not involve Tor Button's graphical user interface, see footnote [31].

Works for me.

sorry, can’t understand where to put this. i can’t find /etc/environment folder or anything and when i tried to put “export TOR_TRANSPROXY=1” into executable file of tor browser it stopped connecting to internet and overwrote itself at the second run, as it is mentioned in the file itself. can you describe process in more details?

/*
If you want to set it to no proxy, you could either:

additionally add in ~/tor-browser_en-US/start-tor-browser below "#!/bin/sh".

export TOR_TRANSPROXY=1

Or add to /etc/environment

TOR_TRANSPROXY=1

and reboot

*/

/etc/environment isn’t a folder. It’s a file and may not exist. Just create it.

Not into binary file. That will break. With TBB Alpha it’s /home/user/tor-browser_en-US/Browser/start-tor-browser. Or just run from terminal.

export TOR_TRANSPROXY=1 /home/user/tor-browser_en-US/start-tor-browser.desktop

hey man, its worked! thanks!

[quote=“Patrick, post:7, topic:1002”]Not into binary file. That will break. With TBB Alpha it’s /home/user/tor-browser_en-US/Browser/start-tor-browser. Or just run from terminal.

export TOR_TRANSPROXY=1 /home/user/tor-browser_en-US/start-tor-browser.desktop [/quote]

i used this file exactly, while writing previous post. by ‘executable’ i meant the file, which i run, when starting tor browser. needed to be more correct. thanks once again.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]