how do I connect to a VPN with ipsec?

14,655

Solution 1

You can install vpnc with sudo apt-get install network-manager-vpnc. This will add VPN functionality to 'Network Connections' in your system settings. From a couple of web searches, vpnc with FritzBox is a common config. Personally, I prefer OpenVPN on Tomato or pfsense, as they're much easier to configure, but good luck w/IPsec!

Solution 2

The current best option in 2018 is network-manager-l2tp which works well with StrongSwan.

See my notes for using the NetworkManager applet to connect a l2tp ipsec vpn.

& additional notes for "use this connection only for resources on its network" (only routing traffic for the remote network down the vpn).

Share:
14,655

Related videos on Youtube

rubo77
Author by

rubo77

SCHWUPPS-DI-WUPPS

Updated on September 18, 2022

Comments

  • rubo77
    rubo77 over 1 year

    I created a config file for my FritzBox 7390 after this german tutorial

    Now I want to configure my Network-Manager but there is no option for ipsec.

    Do I need additional packages?


    I tried to install L2TP Ipsec VPN-Applet, a GUI for openswan but it doesent start, cause on Xubuntu there is no Unity Icon possible. How can I install this on Xubuntu?


    Update:

    I installed

    sudo apt-get install network-manager-vpnc
    

    and then I got the option to add a Cisco-compatible VPN-Client (vpnc) but I couldnt configure it, so it works. Do I need something in the extended settings?

    these are the configuration screens in german:

    enter image description here

    enter image description here

    extended settings