Strongswan - Fortigate
Hi!
i read a lot about that but in this moment dont work.
in the fortigate have this:
config vpn ipsec phase1-interface edit "OpenSWAN" set type dynamic set interface "port4" set peertype any set proposal aes128-sha1 set dpd disable set psksecret ENC encoded_PSK next end config vpn ipsec phase2-interface edit "OpenSWAN" set phase1name "OpenSWAN" set proposal aes128-sha1 set pfs disable set keepalive enable set keylifeseconds 3600 set src-subnet 192.168.10.0 255.255.255.0 set dst-subnet 192.168.1.0 255.255.255.0 next end
and ipsec.secret
IP_WAN_FGT : PSK "thestrongpassword"
and ipsec.conf
conn FGT type=tunnel authby=secret left=%any # leftnexthop=%defaultroute leftsubnet=192.168.1.0/24 right=IP_WAN_FGT rightsubnet=192.168.2.0/24 # ike=aes128 ike=3des-sha1-modp2048 esp=aes128-sha1 ikelifetime=28800s keyexchange=ikev1 auto=start keyingtries=%forever
can somebody giveme a hand for this?
thx :)
