You are not logged in.

#1 2010-11-20 00:24:29

xc1024
Member
Registered: 2009-11-10
Posts: 51

Secure VPN. How?

Hi everyone. I would like to  create a secure VPN. Secure as in "hard to break". I was thinking of L2TP encapsulated within IPSec which would be authenticated and encrypted using one time pad. However, online I could only find tutorials concerning one time pad authentication, nothing about encryption. I have two questions.

1. Would you advise me to use something else instead? SSH tunneling perhaps?
2. If someone knows similar setup, could they share the details?
3. Do you consider one time pad of about 12 characters as strong enough?

BTW, it would be really cool if it supported Android.

Last edited by xc1024 (2010-11-20 00:27:15)

Offline

#2 2010-11-20 01:02:23

Votan
Member
Registered: 2010-11-05
Posts: 26

Re: Secure VPN. How?

I've build an Internet gateway tunneling vpn thru SSH using OpenVPN, you can use 2048bit keys, should be ok smile

Offline

#3 2010-11-20 10:08:18

xc1024
Member
Registered: 2009-11-10
Posts: 51

Re: Secure VPN. How?

IMHO, the objective is not to have the setup that can't possibly be broken. The objective is to have a setup that fails gracefully. That's why I wanted to use OTP encryption. If one key gets broken, the rest is still safe. I'm looking for something that would work on this principle.

Note: the setup would run on fairly modern machines, therefore performance is not the key issue. If I had to choose between security and performance, I'd definitely pick security.

Last edited by xc1024 (2010-11-20 10:12:35)

Offline

#4 2010-11-20 11:01:21

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

Re: Secure VPN. How?

What's wrong with openVPN? Does everything you're asking and it's opensource. Thousands of people have "similar setups" (although you haven't defined what you want it for, how many machines might connect, what sort of server-clients you'll be running etc.).


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

#5 2010-11-20 11:26:15

xc1024
Member
Registered: 2009-11-10
Posts: 51

Re: Secure VPN. How?

To clarify: I need a secure connection between two computers. The encryption must be very strong and the key has to have properties of one time pad, eg. the key, if broken, reveals only the part of the communication that was encrypted with it.

Offline

#6 2010-11-22 21:39:40

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Secure VPN. How?

If you use openvpn, just use certificates. Authentication is performed with the certificate, and an ephemeral key is negotiation at the time of encryption. You can set a rekey interval to use a new key every interval period (expressible in either in seconds, packets, or bytes).

read: http://openvpn.net/index.php/open-sourc … rview.html for more info


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#7 2010-11-25 09:04:07

saline
Member
Registered: 2010-02-20
Posts: 86

Re: Secure VPN. How?

xc1024 wrote:

To clarify: I need a secure connection between two computers. The encryption must be very strong and the key has to have properties of one time pad, eg. the key, if broken, reveals only the part of the communication that was encrypted with it.

The only encryption that has the properties of a OTP is OTP.  You'd need a new pad for every communication and the pad would have to be at least as big as all the data you want to communicate.  Exactly how will you be getting a copy of the pad to the other computer?

Offline

Board footer

Powered by FluxBB