Howto/20130118 Setup Routed Tun OpenVPN server on Ubuntu 12.04: Difference between revisions
From Interpause
Jump to navigationJump to search
Line 12: | Line 12: | ||
== The Steps == | == The Steps == | ||
; Step 1) Install openvpn on the server | |||
<pre> | |||
sudo apt-get install openvpn | |||
</pre> | |||
; Step 2) Copy the sample conf files located in /usr/share/doc/openvpn/examples/sample-config-files/ to /etc/openvpn | |||
; Step 3) Edit the server.conf file. Note: only tun is supported on android 4.0 and tcp rather than udp must be used for proxied openvpn connections. | |||
<pre> | |||
</pre> |
Revision as of 11:32, 18 January 2013
Motivation
To be able to workaround Petro-Canada Mobility/7-11 Speakout's proxied 3g data connection so that I can make free calls to a landline using a voip app such as Fongo. My previous solution was to use another app Droidvpn but this had two issues: 1) it is only free for 100 megs/day and 2) it requires a rooted android phone. Setting up and using my own server therefore removes the 100 meg/day limit and does not require a rooted android phone.
Source material
- OpenVPN howto: http://openvpn.net/index.php/open-source/documentation/howto.html
- Redflagdeals post: http://forums.redflagdeals.com/speakout-data-android-calling-all-users-tips-tricks-1053209/175/#post15982561
- My previous OpenVPN setup guide for bridged VPNs: Howto/Setup Bridged OpenVPN server on Ubuntu 10.04
My Setup
- An android phone (tested with version 4.0) with a proxied 3g data connection via Petro-Canada Mobility
- A server running Ubuntu 12.04 64-bit with port 443 available
The Steps
- Step 1) Install openvpn on the server
sudo apt-get install openvpn
- Step 2) Copy the sample conf files located in /usr/share/doc/openvpn/examples/sample-config-files/ to /etc/openvpn
- Step 3) Edit the server.conf file. Note
- only tun is supported on android 4.0 and tcp rather than udp must be used for proxied openvpn connections.