This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Connecting L2TP/IPSec from Ubuntu

I was trying to follow the steps similar to this page, https://howto.lintel.in/configure-ipsecl2tp-vpn-clients-linux-cli/ to set up the VPN connection. I could get IPSec up but not the L2TP somehow.

In the xl2tpd log, it just showed,


 7月 26 20:15:20 kotai-ws-2 xl2tpd[4058918]: Connecting to host 219.160.225.162, port 1701
 7月 26 20:15:51 kotai-ws-2 xl2tpd[4058918]: Maximum retries exceeded for tunnel 40780.  Closing.
 7月 26 20:15:51 kotai-ws-2 xl2tpd[4058918]: Connection 0 closed to 219.160.225.162, port 1701 (Timeout)
 7月 26 20:16:22 kotai-ws-2 xl2tpd[4058918]: Unable to deliver closing message for tunnel 40780. Destroying anyway.

I ran a "ike-scan" and got these "SA=(Enc=3DES Hash=SHA1 Group=2:modp1024 Auth=PSK LifeType=Seconds LifeDuration=28800)". So I guess in unlike the link I pasted above, I should use 3des-sha1-modp1024, but I'm not so sure about the L2TP.

Any comments would be appreciated. Thanks.



This thread was automatically locked due to age.
Parents
  • やあ,

    Are you trying to activate the L2TP server in a UTM at the command line?

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I've just realized I posted on the wrong community again, as I'm using XG right now...

    But the situation is I already set the L2TP server setting on XG and I could connect from Windows and Mac. I just couldn't get Linux connecting to the XG L2TP server. The Linux computer didn't have a monitor so I'm looking for a guide to connect through command line.

Reply
  • I've just realized I posted on the wrong community again, as I'm using XG right now...

    But the situation is I already set the L2TP server setting on XG and I could connect from Windows and Mac. I just couldn't get Linux connecting to the XG L2TP server. The Linux computer didn't have a monitor so I'm looking for a guide to connect through command line.

Children
No Data