# Pritunl Link client IPsec option

**URL:** https://forum.pritunl.com/t/pritunl-link-client-ipsec-option/2570
**Category:** Pritunl VPN
**Tags:** pritunl-link
**Created:** [October 31, 2024, 11:54am UTC](https://forum.pritunl.com/t/pritunl-link-client-ipsec-option/2570 "2024-10-31T11:54:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mat](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mat](https://forum.pritunl.com/u/mat)
#### Post date: [October 31, 2024, 11:54am UTC](https://forum.pritunl.com/t/pritunl-link-client-ipsec-option/2570/1 "2024-10-31T11:54:46Z")

</div>

Hello, we use Pritunl Enterprise IPsec site-to-site links in some cases with static routers. It turns out that there are compatibility issues that cause a connection drop regularly.

This could be solved by adding an option in the ipsec conf created by the link client. Unfortunately, this seems to keep getting overwritten. Is there any way to include a custom option for the connection?

---

<div class="post-metadata">

### Author: ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)
#### Post date: [October 31, 2024, 1:02pm UTC](https://forum.pritunl.com/t/pritunl-link-client-ipsec-option/2570/2 "2024-10-31T13:02:18Z")

</div>

Custom options have been added to the repository, this will be available in the next release. It can be installed from source with the commands below.

```auto
sudo dnf -y install go git
go install github.com/pritunl/pritunl-link@latest
sudo cp -f ~/go/bin/pritunl-link /usr/bin/pritunl-link
sudo systemctl restart pritunl-link
sudo pritunl-link custom-option-add fragmentation=yes

```

---

<div class="post-metadata">

### Author: ![mat](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mat](https://forum.pritunl.com/u/mat)
#### Post date: [October 31, 2024, 6:20pm UTC](https://forum.pritunl.com/t/pritunl-link-client-ipsec-option/2570/3 "2024-10-31T18:20:56Z")

</div>

Thank you for teh fast response, this helps to improve compatibility. Will it also be possible to adapt more existing options such as Lifetime, DPD, Mobike, etc. in the future?

---

<div class="post-metadata">

### Author: ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)
#### Post date: [October 31, 2024, 11:18pm UTC](https://forum.pritunl.com/t/pritunl-link-client-ipsec-option/2570/4 "2024-10-31T23:18:52Z")

</div>

The existing options can be included in the optional options to replace the existing value.
