# SLED 12 NetworkManager VPN Configuration

**URL:** <https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283>\
**Category:** SLED Networking\
**Created:** [June 14, 2016, 11:54pm UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283 "2016-06-14T23:54:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfajardo](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cfajardo](https://forums.suse.com/u/cfajardo)\
**Post date:** [June 14, 2016, 11:54pm UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/1 "2016-06-14T23:54:14Z")

</div>

Hi,

I have SLED 12 VM running on a VMware Workstation 12. I tried to setup VPN using NetworkManager to connect to our company’s Fortigate, but everytime I run “nmcli c up id VPN\_ID”, I get an error message saying “Connection activation failed: unknown reason.”

Any idea?

Thanks all

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [June 15, 2016, 10:27am UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/2 "2016-06-15T10:27:52Z")

</div>

[QUOTE=cfajardo;32974]Hi,

I have SLED 12 VM running on a VMware Workstation 12. I tried to setup VPN using NetworkManager to connect to our company’s Fortigate, but everytime I run “nmcli c up id VPN\_ID”, I get an error message saying “Connection activation failed: unknown reason.”

Any idea?

Thanks all[/QUOTE]

Spent a lot of time trying to get VPN connection to Fortigate on other distros, finally got it working with the Shrew Soft VPN Client, maybe worth looking into that client…

Thomas

---

<div class="post-metadata">

**Author:** ![cfajardo](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cfajardo](https://forums.suse.com/u/cfajardo)\
**Post date:** [June 15, 2016, 4:38pm UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/3 "2016-06-15T16:38:32Z")

</div>

[QUOTE=thsundel;32984]Spent a lot of time trying to get VPN connection to Fortigate on other distros, finally got it working with the Shrew Soft VPN Client, maybe worth looking into that client…

Thomas[/QUOTE]

Are you connecting using SSL or IPSec?

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [June 15, 2016, 5:51pm UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/4 "2016-06-15T17:51:12Z")

</div>

> [@cfajardo;32993](#):
>
> Are you connecting using SSL or IPSec?

IPSec.

Thomas

---

<div class="post-metadata">

**Author:** ![cfajardo](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cfajardo](https://forums.suse.com/u/cfajardo)\
**Post date:** [June 15, 2016, 10:27pm UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/5 "2016-06-15T22:27:24Z")

</div>

[QUOTE=thsundel;32996]IPSec.

Thomas[/QUOTE]

Won’t you mind sharing how did you configure it?

Thanks,

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [June 16, 2016, 9:56am UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/6 "2016-06-16T09:56:03Z")

</div>

[QUOTE=cfajardo;33012]Won’t you mind sharing how did you configure it?

Thanks,[/QUOTE]

So you got it installed and running? Then it all depends on your setup… but what I needed to do was to give the address of the Fortigate, enter the KeyID string, the preshared key and the username and password.

Thomas

---

<div class="post-metadata">

**Author:** ![cfajardo](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cfajardo](https://forums.suse.com/u/cfajardo)\
**Post date:** [June 17, 2016, 10:14pm UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/7 "2016-06-17T22:14:27Z")

</div>

[QUOTE=thsundel;33022]So you got it installed and running? Then it all depends on your setup… but what I needed to do was to give the address of the Fortigate, enter the KeyID string, the preshared key and the username and password.

Thomas[/QUOTE]

Still struggling to get it working. I got this error message

"negotiation timeout occurred  
Tunnel disabled  
detached from key daemon  
"

Any idea why?

Thanks

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [June 20, 2016, 10:04am UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/8 "2016-06-20T10:04:43Z")

</div>

[QUOTE=cfajardo;33068]Still struggling to get it working. I got this error message

"negotiation timeout occurred  
Tunnel disabled  
detached from key daemon  
"

Any idea why?

Thanks[/QUOTE]

No idea, but I forgot a couple of other settings, auth method to Mutual PSK + XAuth and remote identity to any…

Thomas

---

<div class="post-metadata">

**Author:** ![cfajardo](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cfajardo](https://forums.suse.com/u/cfajardo)\
**Post date:** [June 28, 2016, 8:45pm UTC](https://forums.suse.com/t/sled-12-networkmanager-vpn-configuration/28283/9 "2016-06-28T20:45:50Z")

</div>

[QUOTE=thsundel;33076]No idea, but I forgot a couple of other settings, auth method to Mutual PSK + XAuth and remote identity to any…

Thomas[/QUOTE]

Finally I got it working…
