Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Step 4: Get .ovpn file to connect your phone to the VPN === <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:lu55028jxb9s_tmp_5ee24475.png File:lu55028jxb9s_tmp_cc7231bd.png </gallery> <span id="export-the-openvpn-client-configuration-for-your-android-device"></span> ==== 4.1 Export the OpenVPN Client Configuration for Your Android Device ==== # Go to '''VPN > OpenVPN > Client Export'''. # For “remote access server,” choose the OpenVPN server you made. # For “Host Name,” enter the URL you made on FreeDNS for dynamic DNS. In our case, this was <code>louishomeserver.chickenkiller.com</code>. # Under '''Export Type''', choose '''Android - OpenVPN Connect'''. # Download the configuration file (e.g., <code>vpnuser1-android.ovpn</code>). <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121731554.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121809040.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121822988.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121830675.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121845493.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121937304.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121943336.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121948680.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106121953605.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106122002345.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106122017732.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106122022741.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106122027679.png </gallery> </div> <div class="figure"> <gallery mode="packed-hover" heights=250 widths=400 perrow=2> File:image-20241106122036058.png </gallery> </div> <span id="import-the-configuration-into-openvpn-connect-on-android-securely"></span> ==== 4.2 Import the Configuration into OpenVPN Connect on Android – SECURELY!!!!! ==== # Transfer the <code>.ovpn</code> file to your Android device. ''DO THIS SECURELY.'' # Install the OpenVPN Connect app from the Play Store. # Import the configuration file and connect to the VPN. VPN connectivity can be done with a certificate alone, without a username or password. This means that ''if you misconfigured something, and this file gets into the wrong hands, '''any Tom, Dick or Harry has access to your home network!''''' '''Don’t upload the file to public file transfer sites''' Don’t do this. Do not store the key to your front door on megaupload. '''Instead, do this:''' * Connect your phone directly to your computer with a USB cable to transfer the file; simple and secure. * Or, use an encrypted messenger you trust. Just make sure it’s actually secure, not just convenient. '''Why the extra caution?''' * This <code>.ovpn</code> file is sensitive. It’s part of what allows access to your server. * If someone gets this file & figures out your password, they’re in. Not good. * And if there’s a config mistake (it happens), they might not even need the password. * Without this file, even if someone knows your username & password, they’re not getting in. '''Treat this file like your bank details. Don’t put it on a post-it note to the 4:3 monitor in front of your Windows XP Service Pack 1 computer.''' Don’t leave it lying around in your downloads folder. Don’t share it casually. The chances of someone intercepting this file and using it maliciously are low, but we don’t take unnecessary risks with security. It’s not paranoia, it’s good practice. Do it right, and you’ll save yourself potential headaches down the road. Plus, you’ll have the satisfaction of knowing you’ve set things up properly. <span id="edit-settings-on-openvpn-android-application"></span> ==== 4.3 Edit Settings on OpenVPN Android Application ==== # Open the OpenVPN Connect application. # Go to the three lines in the upper left corner and tap '''Settings'''. # Scroll down to '''Advanced Settings'''. # Switch security level from “legacy” to “preferred”. # Uncheck '''“DNS fallback”'''. <blockquote>'''NOTE:''' Disabling “DNS fallback” keeps the VPN connection from going back to using non-ad-blocking(and usually google) DNS when something fails. When your setup breaks, I want you to KNOW - by way of it not working. I don’t want it to training-wheels you back to a working setup using Google’s DNS. </blockquote> You now have an OpenVPN server on '''pfSense''' you can connect to from anywhere in the world; your Android device will have all its traffic routed through the VPN. You’ll fully benefit from '''pfBlockerNG'''’s ad-blocking via IP blocking and DNS domain name blocking when you’re logged in through the VPN, and you’ll have access to all of the services we will be setting up for calendar, contacts, email, backup, office, home automation & surveillance, business phone, password management & more. <span id="ipv4-vs-ipv4ipv6-vpn-nightmares"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)