Syed Jahanzaib Personal Blog to Share Knowledge !

September 13, 2013

Anonymous browsing with vpnbook.com in Ubuntu

Filed under: Linux Related — Syed Jahanzaib / Pinochio~:) @ 9:30 AM

proxy

If you are using Ubuntu as your desktop client or if you are using ubuntu as a proxy server and you want to provide un restricted internet access to users (I assume for learning purposes like youtube) , You can use vpnbook vpn connection to provide access.b You can use this service in number of ways, either via mikrotik, proxy, single pc or for any other pruposes. Following is a short method to do the task.


mkdir /temp

cd /temp

wget http://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-UK1.zip
wget http://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-Euro1.zip

Now Unzip the package you download, but first intall UNZIP tool and then unzip it.

apt-get install unzip

unzip VPNBook.com-OpenVPN-UK1.zip
unzip VPNBook.com-OpenVPN-Euro1.zip

Now install OPENVPN client tool. It will be used later to dial the vpn connection for vpnbook,


apt-get install openvpn

.

Now to connect to vpnbook server, use following command


openvpn --config vpnbook-uk1-tcp443.ovpn
.
OR you can also try following
.
openvpn --config vpnbook-euro1-tcp80.ovpn

It will ask user name and password, use following

Username:  vpnbook

Password:   stU2EFez

After successful connection, goto http://www.mywanip.com or http://www.whatismyip.com to verify the ip connectivity.

Make sure to use Google DNS 8.8.8.8 as your primary dns for resolving addresses.

.

Advertisements

8 Comments »

  1. What exactly does this do? Am thinking it gives one some kind of free internet access. Please am new here.

    Like

    Comment by mayowa — September 16, 2013 @ 11:20 PM

  2. What i understand is..I can let my network users to use PTA restricted sites i.e. youtube?

    Like

    Comment by Izhar — September 25, 2013 @ 1:26 AM

  3. Jahanzaib bhai, is it possible that i install this software and my users can use both normal and anonymous browsing as per their requirement without addition of extra squid server at my end (i want to keep single squid server with mikrotik in front)

    Like

    Comment by Quality DSL — October 2, 2013 @ 5:52 PM

    • No.
      There can be work around like, if the user add manual proxy in his browser, it can use proxy, otherwise all traffic may go via mikrotik only.
      You can also route requests for youtube or some specific web sites to squid only.
      there are multiple ways, follow one which can fulfill your requirements.

      Like

      Comment by Syed Jahanzaib / Pinochio~:) — October 4, 2013 @ 10:38 AM

    • at user end, if someone wants to open youtube he will configure proxy settings. ok
      but how to use squid in both cases, i.e. transparent proxy (let say port 3128) without any anonymization, and if user configures a proxy (let say port 8080) then using same squid server. i need same squid cache server in both cases. Thanks

      Like

      Comment by Quality DSL — October 5, 2013 @ 3:22 PM

  4. when the ubuntu restarts its not working

    Like

    Comment by Muhammad Asghar — October 18, 2013 @ 7:08 PM

    • It will not auto start.
      you have to manualy dialin to vpnbook every time, and do remember, password keep changing after few days, so you have to visit vpnbook.com to get new password.

      Like

      Comment by Syed Jahanzaib / Pinochio~:) — October 19, 2013 @ 2:21 PM

  5. Assalaamu Alaikum Jahanzaib bhai vpnbook to connect ho ja raha hay main vpnbook ko squid cache walay ubuntu box main connect kar raha hoon per net nhi chalta connect honay kay bad proxy laga kar bhi check kiya hay

    Like

    Comment by abdul sami — October 21, 2013 @ 6:00 PM


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: