# CHR 7.1.1 IKEv2  - Linux StrongSwan client

**URL:** <https://forum.mikrotik.com/t/chr-7-1-1-ikev2-linux-strongswan-client/154641>\
**Category:** General\
**Created:** [January 3, 2022, 5:11am UTC](https://forum.mikrotik.com/t/chr-7-1-1-ikev2-linux-strongswan-client/154641 "2022-01-03T05:11:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![own3r1138](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/own3r1138/32/2754_2.png) [@own3r1138](https://forum.mikrotik.com/u/own3r1138)\
**Post date:** [January 3, 2022, 5:11am UTC](https://forum.mikrotik.com/t/chr-7-1-1-ikev2-linux-strongswan-client/154641/1 "2022-01-03T05:11:10Z")

</div>

Hello,  
I posted this topic at the replay of this original [post](http://forum.mikrotik.com/t/ipsec-ike2-with-certificates-vpn-server-guide-for-remote-access/149434/1).

Did anyone try any Linux client using StrongSwan for a VPN connection?  
I checked most of the popular Linux distributors Ubuntu, Centos, Mint, Fedora. I got the same error as below. The connection is established, Obtained a local IP, Received a pushed DNS from the mod-config. Can not set the DNS as a loopback interface.

```plaintext
installing DNS server IP via resolvconf
> resolvconf: Interface can't be the loopback interface (lo). Sorry.
> removing DNS server IP via resolvconf

```

I did some research about this and its looks like some change in the Linux DNS system. Its looks like there is a miss config. With the original StrongSwan server you can fix this with the corrected way to push the config. But there is no Charon-nm in Mikrotik.  
any idea how can I fix this issue?

Resource  
[https://fedoraproject.org/wiki/Changes/systemd-resolved](https://fedoraproject.org/wiki/Changes/systemd-resolved)  
 ![2021-12-26_16-02-18.png](https://data-discourse.cdn.mikrotik.com/original/3X/d/6/d6c89af4626db7b557b8f91ede1f88b097a3b9cb.png)

---

<div class="post-metadata">

**Author:** ![own3r1138](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/own3r1138/32/2754_2.png) [@own3r1138](https://forum.mikrotik.com/u/own3r1138)\
**Post date:** [January 5, 2022, 8:31pm UTC](https://forum.mikrotik.com/t/chr-7-1-1-ikev2-linux-strongswan-client/154641/2 "2022-01-05T20:31:51Z")

</div>

up.

---

<div class="post-metadata">

**Author:** ![Znevna](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/znevna/32/2459_2.png) [@Znevna](https://forum.mikrotik.com/u/Znevna)\
**Post date:** [January 5, 2022, 8:50pm UTC](https://forum.mikrotik.com/t/chr-7-1-1-ikev2-linux-strongswan-client/154641/3 "2022-01-05T20:50:43Z")

</div>

That’s a client side thing you need to sort out.  
[https://lists.strongswan.org/pipermail/users/2019-January/013264.html](https://lists.strongswan.org/pipermail/users/2019-January/013264.html)  
[https://wiki.strongswan.org/projects/strongswan/wiki/Resolveplugin](https://wiki.strongswan.org/projects/strongswan/wiki/Resolveplugin)  
“up!”

---

<div class="post-metadata">

**Author:** ![own3r1138](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/own3r1138/32/2754_2.png) [@own3r1138](https://forum.mikrotik.com/u/own3r1138)\
**Post date:** [January 5, 2022, 9:16pm UTC](https://forum.mikrotik.com/t/chr-7-1-1-ikev2-linux-strongswan-client/154641/4 "2022-01-05T21:16:42Z")

</div>

> [@](#):
>
> That’s a client side thing you need to sort out.  
> [https://lists.strongswan.org/pipermail/users/2019-January/013264.html](https://lists.strongswan.org/pipermail/users/2019-January/013264.html)  
> [https://wiki.strongswan.org/projects/strongswan/wiki/Resolveplugin](https://wiki.strongswan.org/projects/strongswan/wiki/Resolveplugin)  
> “up!”

Thanks for the replay. as I saw the StrongSwan in the directory name, I was thinking the directory is for the StrongSwan server never acquire to me that this may have been a StrongSwan client. Thank you for pointing this out.  
“down”
