Jump to content


Photo

VPN on Tails OS?

tails vpn airvpn linux

  • Please log in to reply
20 replies to this topic

#1 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 24 March 2016 - 05:45 PM

Hello everyone.

I had a question for the forums today. Is it possible to run Eddie (or any other way to connect to AirVPN) on Tails OS? For those who do not know, Tails is a Linux based OS that is very secure and routes all connections through Tor. However, if I am not mistaken, since there is no VPN in that setup, the operator of the Tor relay node can see your actual IP, yes? So, is it possible to use AirVPN on Tails? I tried earlier but it gave me some sort of error when I tried to run the Eddie client's file.

 

Also, will using a VPN on Tails make me more secure? If so, what are the benefits of doing so?



#2 zhang888

zhang888

    Donald Trump of IT/Security

  • Moderators
  • 2219 posts

Posted 24 March 2016 - 05:52 PM

https://tails.boum.org/blueprint/vpn_support/


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.


#3 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 25 March 2016 - 01:14 AM

https://tails.boum.org/blueprint/vpn_support/

This doesn't really explain how to install the OpenVPN



#4 zhang888

zhang888

    Donald Trump of IT/Security

  • Moderators
  • 2219 posts

Posted 25 March 2016 - 01:53 AM

sudo apt-get install openvpn


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.


#5 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 25 March 2016 - 06:41 PM

sudo apt-get install openvpn

After that, what is the path to put the OVPN files in?



#6 SumRndmDude

SumRndmDude

    Advanced Member

  • Members2
  • PipPipPip
  • 61 posts

Posted 25 March 2016 - 10:39 PM

sudo apt-get install openvpn

After that, what is the path to put the OVPN files in?

Should be installed in /etc/openvpn/ Honestly though, the client doesn't need the files anywhere specifically as when you connect via CLI, you tell the client where the file is and exactly which one to use.



#7 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 26 March 2016 - 01:45 AM

 

sudo apt-get install openvpn

After that, what is the path to put the OVPN files in?

Should be installed in /etc/openvpn/ Honestly though, the client doesn't need the files anywhere specifically as when you connect via CLI, you tell the client where the file is and exactly which one to use.

Oh okay, how do I connect via the CLI?



#8 SumRndmDude

SumRndmDude

    Advanced Member

  • Members2
  • PipPipPip
  • 61 posts

Posted 26 March 2016 - 02:04 AM

TAILS is Linux based, so the guide here should walk you through it.



#9 menzar

menzar

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 31 March 2016 - 02:37 PM

 

 

sudo apt-get install openvpn

After that, what is the path to put the OVPN files in?

Should be installed in /etc/openvpn/ Honestly though, the client doesn't need the files anywhere specifically as when you connect via CLI, you tell the client where the file is and exactly which one to use.

Oh okay, how do I connect via the CLI?

Linux noob here!

 

I tried 'sudo apt-get install openvpn' then I get this:

 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package openvpn

 

Then when I try 'sudo openvpn foo.ovpn' I get:

 

sudo: openvpn: command not found

 

Any Ideas?



#10 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 03 April 2016 - 10:36 PM

 

 

 

sudo apt-get install openvpn

After that, what is the path to put the OVPN files in?

Should be installed in /etc/openvpn/ Honestly though, the client doesn't need the files anywhere specifically as when you connect via CLI, you tell the client where the file is and exactly which one to use.

Oh okay, how do I connect via the CLI?

Linux noob here!

 

I tried 'sudo apt-get install openvpn' then I get this:

 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package openvpn

 

Then when I try 'sudo openvpn foo.ovpn' I get:

 

sudo: openvpn: command not found

 

Any Ideas?

I have the same problem.



#11 SumRndmDude

SumRndmDude

    Advanced Member

  • Members2
  • PipPipPip
  • 61 posts

Posted 03 April 2016 - 10:40 PM

Run sudo apt-get update && sudo apt-get install openvpn

 

You need to update the repository first. Also, TAILS allows you to run a root terminal to avoid having to sudo everything. I'd recommend using that instead.



#12 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 04 April 2016 - 12:49 AM

Run sudo apt-get update && sudo apt-get install openvpn

 

You need to update the repository first. Also, TAILS allows you to run a root terminal to avoid having to sudo everything. I'd recommend using that instead.

I tried apt-get update. It gave me an error.

How do I run a tails root terminal?



#13 zhang888

zhang888

    Donald Trump of IT/Security

  • Moderators
  • 2219 posts

Posted 04 April 2016 - 01:18 AM

The red root terminal, in the same Applications tab.


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.


#14 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 04 April 2016 - 08:02 PM

The red root terminal, in the same Applications tab.

I managed to install the OpenVPN package, and I have all the necessary OVPN files.

But when I cd to the directory that the OpenVPN files are in and I run (from the root terminal)

 

sudo openvpn AirVPN_CA-Toronto-Ontario_Lesath_UDP-443.ovpn

 

It gives me an error. Here are my logs.

 

Spoiler

 



#15 zhang888

zhang888

    Donald Trump of IT/Security

  • Moderators
  • 2219 posts

Posted 04 April 2016 - 11:35 PM

Tails does not work with UDP.

You have to read their project FAQ.


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.


#16 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 05 April 2016 - 07:54 PM

Okay. I tried again this time with a TCP OVPN file.

Tails does not work with UDP.

You have to read their project FAQ.

I cd'd to the directory that the file was in and I typed (from the root terminal)

 

sudo openvpn AirVPN_US-Miami_Yildun_TCP-443.ovpn

 

It gives me this error, here are the logs.

 

Spoiler

 

I even tried two different OVPN files, same error.
 



#17 SumRndmDude

SumRndmDude

    Advanced Member

  • Members2
  • PipPipPip
  • 61 posts

Posted 07 April 2016 - 11:08 AM

After doing some reading, it may be because of the fact that by default, TAILS blocks all network traffic not going through TOR. There are ways to bypass the firewall apparently, but it is not an easy process. There's a clearnet browser that bypasses TOR, but the OS is preconfigured to allow it.



#18 A556

A556

    Advanced Member

  • Members
  • PipPipPip
  • 198 posts
  • LocationUnited States

Posted 07 April 2016 - 10:44 PM

After doing some reading, it may be because of the fact that by default, TAILS blocks all network traffic not going through TOR. There are ways to bypass the firewall apparently, but it is not an easy process. There's a clearnet browser that bypasses TOR, but the OS is preconfigured to allow it.

So, I would be wasting my time trying to make VPN work on Tails?



#19 SumRndmDude

SumRndmDude

    Advanced Member

  • Members2
  • PipPipPip
  • 61 posts

Posted 08 April 2016 - 12:56 AM

Depends on how deep you wanna go down the rabbit hole. TAILS runs very compartmentalized now. It seeks to keep everything separated from everything else and unless you specifically input the proper rules, it routes all traffic through TOR and any traffic attempting to bypass that gets dropped.



#20 menzar

menzar

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 12 April 2016 - 08:50 AM

Thanks for the all the info. One reason I thought it might be good to use a VPN with Tor is to protect yourself against snoopers when using public wifi hotspots, but does Talis on its own eliminate this possibility and protect yourself against potential hackers on the same wifi network?







Similar Topics Collapse


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 15388 - BW: 58649 Mbit/sYour IP: 3.82.52.91Guest Access.