Skip to main content
cooldia
New Member
Aug 19, 2021 3:22 AM UTC
Question

Strongswan as vpn client connect to Fortigate

Hi ,

I am newbie to Fortigate also newbie in VPN related. Currently, i am stuck on client to site  VPN setting.

My linux client is strongswan(Linux strongSwan U5.6.2/K4.15.0-66-generic ). 

my setting as below,

conn home    left=X.X.X.X   <= which is my linux ip and public IP    leftid=vpnclient    leftauth=psk    leftauth2=xauth    leftsourceip=%config    leftfirewall=yes    right=Y.Y.Y.Y    <= which is my gateway wan interface IP    rightsubnet=192.168.1.0/24    rightid=Y.Y.Y.Y    rightauth=psk    auto=add    ike=aes256-sha2_256-modp1024!    esp=aes256-sha2_256! # Sample VPN connections

 

Question here.

In client to site VPN scenario, Do I need to set up transport mode or tunnel for strong swan setting?

(Just wondering if i need to set up leftsubnet, and insert line type=transport|tunnel in Strongswan cfg.

Appreciated for everyone's help.

 

    1 reply

    Ger
    New Member
    Aug 21, 2021 12:12 AM UTC

    Hi, I assume you use strownswang because you are using ipsec vpn, if that's the point sorry, I can't help because I tried that time ago and didn't work for me and I just quit. (too lazy)

     

    But if you are using SSL, you can download forticlient for linux or use fortisslvpn (network-manager).

     

    In fact, in my linux (kubuntu) I also have in network manager a strongswan and openswan connection but at least i don't need them.

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT