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.