Jump to content

Photo

L2TPC VPN

VPN

  • Please log in to reply
8 replies to this topic

#1 tgentry

tgentry

    Member

  • Members
  • 84 posts
  • LocationAugusta Ga. USA

Posted 04 April 2017 - 11:53 PM

I tried to do a search on the forum and got no results. Does anyone know how to get L2TPC VPN to work on Bodhi? I have installed xl2tpd but I do not get the VPN option in network manager.


If you want my Bodhi and you think I'm sexy Come on, sugar, let me know.




A big thank you to everyone who contributes to Bodhi Linux


#2 birdmun

birdmun

    Member

  • Members
  • 265 posts
  • LocationWabash, IN

Posted 05 April 2017 - 04:15 AM

Maybe this helps? http://riobard.com/2...r-ipsec-ubuntu/

I just did this search https://duckduckgo.c...&t=bodhi&ia=web

and everything mentions ipsec as well as l2tp because l2tp doesn't encrypt anything. Because bodhi is based on ubuntu, you should be able to utilize at least one of the links from the search.



#3 tgentry

tgentry

    Member

  • Members
  • 84 posts
  • LocationAugusta Ga. USA

Posted 05 April 2017 - 02:11 PM

Maybe this helps? http://riobard.com/2...r-ipsec-ubuntu/

I just did this search https://duckduckgo.c...&t=bodhi&ia=web

and everything mentions ipsec as well as l2tp because l2tp doesn't encrypt anything. Because bodhi is based on ubuntu, you should be able to utilize at least one of the links from the search.

 

I had already tried all of those on a ubuntu 16.4 and never could get it to work. So I'm guessing this will be the issue on Bodhi as well. At least in ubuntu I did get the network managers to see a vpn setup and configuration.


If you want my Bodhi and you think I'm sexy Come on, sugar, let me know.


#4 Oblio

Oblio

    Bodhi Team

  • Team
  • 165 posts
  • LocationA desk in the Midwest

Posted 05 April 2017 - 05:30 PM

https://wiki.archlin...PN_client_setup

 

maybe?  Haven't tried it personally but and getting ready to look into VPN/tunneling/encryption for my traffic.


Xeon E3-1220 v3 3.1GHz Quad, ASRock Rack E3C224, 2x 8GB Kingston KVR16E11/8I DDR3-1600 ECC CL11 Intel Chips (Dual Channel), EVGA GeForce GTX 570, Samsung SM863 120GB OS SSD, 2x WD RED 3TB HDDs (Raid 0), Focusrite Scarlett 2i4, Antec Earthwatts EA-750 80 Plus Platinum 750w PSU - Bodhi 4.1.0 64

AMD Phenom II X4 940 3.0GHz Quad, Gigabyte GA-MA78GPM-DS2H, 2x 2GB Kingston KHX8500D2K2 DDR2-1066 (Dual Channel), EVGA GeForce GTX 570, Intel 30GB OS SDD, Seagate ST31000340AS 1TB HDD, Seagate STBD4000400 4TB HDD, EVGA 500w Bronze Plus 80+ PSU - Bodhi Linux 3.2.1 64


#5 sef

sef

    Bodhi Builder Wizard

  • Developer
  • 237 posts
  • LocationATL

Posted 05 April 2017 - 08:03 PM

Have you tried vpn connections in network-manager after adding the packages 'network-manager-openvpn' & 'network-manager-vpnc' ?

 

I have little experience using VPN's, so I could be off base if this isn't what you're looking for.



<-sef>

Nothing is as simple as it seems at first,
or as hopeless as it seems in the middle,
or as finished as it seems in the end.


#6 birdmun

birdmun

    Member

  • Members
  • 265 posts
  • LocationWabash, IN

Posted 05 April 2017 - 09:38 PM

I use vpn services from time to time. The connections are all done with openvpn. l2tp is a different beast from the little reading I did.



#7 birdmun

birdmun

    Member

  • Members
  • 265 posts
  • LocationWabash, IN

Posted 05 April 2017 - 09:56 PM

I just did a search for l2tpc ubuntu 16.04 and found this http://www.jasonerns...n-ubuntu-16-04/pretty quickly. As I only use openvpn for my vpn connections, I can't begin to tell you if it works.



#8 tgentry

tgentry

    Member

  • Members
  • 84 posts
  • LocationAugusta Ga. USA

Posted 05 April 2017 - 10:10 PM

Have you tried vpn connections in network-manager after adding the packages 'network-manager-openvpn' & 'network-manager-vpnc' ?

 

I have little experience using VPN's, so I could be off base if this isn't what you're looking for.

 

This has guided me somewhat. I now get a rejection on user name and password as below. I cant figure out why its not looking at the config file.

 

ipsec up L2TP-PSK
initiating IKE_SA L2TP-PSK[1] to x.x.x.x
generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(HASH_ALG) ]
sending packet: from 192.168.2.6[500] to x.x.x.x[500] (1500 bytes)
received packet: from x.x.x.x[500] to 192.168.2.6[500] (38 bytes)
parsed IKE_SA_INIT response 0 [ N(INVAL_KE) ]
peer didn't accept DH group MODP_2048, it requested MODP_1024
initiating IKE_SA L2TP-PSK[1] to x.x.x.x
generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(HASH_ALG) ]
sending packet: from 192.168.2.6[500] to x.x.x.x[500] (1372 bytes)
received packet: from x.x.x.x[500] to 192.168.2.6[500] (316 bytes)
parsed IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ]
local host is behind NAT, sending keep alives
remote host is behind NAT
authentication of '192.168.2.6' (myself) with pre-shared key
establishing CHILD_SA L2TP-PSK
generating IKE_AUTH request 1 [ IDi N(INIT_CONTACT) IDr AUTH N(USE_TRANSP) SA TSi TSr N(MOBIKE_SUP) N(NO_ADD_ADDR) N(EAP_ONLY) ]
sending packet: from 192.168.2.6[4500] to x.x.x.x[4500] (380 bytes)
received packet: from x.x.x.x[4500] to 192.168.2.6[4500] (68 bytes)
parsed IKE_AUTH response 1 [ N(AUTH_FAILED) ]
received AUTHENTICATION_FAILED notify error
establishing connection 'L2TP-PSK' failed
 
So it looks more promising then before.

If you want my Bodhi and you think I'm sexy Come on, sugar, let me know.


#9 tgentry

tgentry

    Member

  • Members
  • 84 posts
  • LocationAugusta Ga. USA

Posted 05 April 2017 - 10:11 PM

I just did a search for l2tpc ubuntu 16.04 and found this http://www.jasonerns...n-ubuntu-16-04/pretty quickly. As I only use openvpn for my vpn connections, I can't begin to tell you if it works.

 

Yeah I tried that one on ubuntu 16.04 and never could get it to work.


If you want my Bodhi and you think I'm sexy Come on, sugar, let me know.






Also tagged with one or more of these keywords: VPN

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users