# Wireguard not start

**URL:** <https://forum.mikrotik.com/t/wireguard-not-start/176485>\
**Category:** General\
**Created:** [June 6, 2024, 7:42am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485 "2024-06-06T07:42:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stardoom](https://forum.mikrotik.com/letter_avatar/stardoom/32/6_449c533f586939b6e5f246632a46421f.png) [@Stardoom](https://forum.mikrotik.com/u/Stardoom)\
**Post date:** [June 6, 2024, 7:42am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/1 "2024-06-06T07:42:23Z")

</div>

## Hi! I can't get Wireguard to start with the config file from my VPN provider "Integrity VPN". I have tried a variety of settings in my Mikrotik x86 but could not get Wireguard to connect. The following text is in the config file that I received from the VPN provider.

[Interface]  
PrivateKey = _ **secret** _  
dns = 2001:9b1:8826::53, 2001:9b0:4:2601::53, 98.128.186.86, 155.4.89.136  
Address = 10.0.245.27/24,fdab:1337:1337:245::27/64

## [Peer] PublicKey = _ **secret** _ AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = [wireguard.5july.net:48575](http://wireguard.5july.net:48575)

Please help me!!  
rgds  
/R

---

<div class="post-metadata">

**Author:** ![erlinden](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/erlinden/32/59042_2.png) [@erlinden](https://forum.mikrotik.com/u/erlinden)\
**Post date:** [June 6, 2024, 7:43am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/2 "2024-06-06T07:43:51Z")

</div>

Can you share this info (just remove the keys and public IP):

```plaintext
/interface/wireguard

```

---

<div class="post-metadata">

**Author:** ![anav](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/anav/32/2112_2.png) [@anav](https://forum.mikrotik.com/u/anav)\
**Post date:** [June 6, 2024, 10:27am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/3 "2024-06-06T10:27:15Z")

</div>

Not enough,  
/export file=anynameyouwish ( minus router serial number, any public WANIP information, keys etc.)

Plus.  
What are the requirements for wireguard traffic, one user, a whole subnet etc…

---

<div class="post-metadata">

**Author:** ![nichky](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/nichky/32/1516_2.png) [@nichky](https://forum.mikrotik.com/u/nichky)\
**Post date:** [June 6, 2024, 11:36am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/4 "2024-06-06T11:36:28Z")

</div>

@anav , while we there. (sorry as i didn’t open separate topic)

can you please tell me in which cases can i use the option _Responder_

I need your e.g. dw about wiki.

---

<div class="post-metadata">

**Author:** ![anav](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/anav/32/2112_2.png) [@anav](https://forum.mikrotik.com/u/anav)\
**Post date:** [June 6, 2024, 7:28pm UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/5 "2024-06-06T19:28:18Z")

</div>

Hi nichky, Sorry does not compute LOL.  
I dont recall every writing about “responder” ?  
What is the context and what is the requirement?

---

<div class="post-metadata">

**Author:** ![msatter](https://forum.mikrotik.com/letter_avatar/msatter/32/6_449c533f586939b6e5f246632a46421f.png) [@msatter](https://forum.mikrotik.com/u/msatter)\
**Post date:** [June 6, 2024, 7:53pm UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/6 "2024-06-06T19:53:42Z")

</div>

To me it is strange to see portnumbers in the DNS line.

---

<div class="post-metadata">

**Author:** ![nichky](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/nichky/32/1516_2.png) [@nichky](https://forum.mikrotik.com/u/nichky)\
**Post date:** [June 6, 2024, 11:55pm UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/7 "2024-06-06T23:55:06Z")

</div>

@anav,

do u know what i’m asking about?

Also i’ve noticed that with BTH , _Responder_ is enabled by default.

---

<div class="post-metadata">

**Author:** ![CGGXANNX](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/cggxannx/32/55490_2.png) [@CGGXANNX](https://forum.mikrotik.com/u/CGGXANNX)\
**Post date:** [June 7, 2024, 6:50am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/8 "2024-06-07T06:50:37Z")

</div>

_Responder_ is a new option for peers introduced in 7.15. Turn it on for a peer if the router will not be the one who initiates a WireGuard connection with the peer (router only listens for incoming connections)

[https://help.mikrotik.com/docs/display/ROS/WireGuard#WireGuard-Peers](https://help.mikrotik.com/docs/display/ROS/WireGuard#WireGuard-Peers)

> **is-responder** \> (yes | no; Default: no)
> 
> Specifies if peer is intended to be connection initiator or only responder. Should be used on WireGuard devices that are used as “servers” for other devices as clients to connect to. Otherwise router will all repeatedly try to connect “endpoint-address” or “current-endpoint-address” causing unnecessary system logs to be written.

---

<div class="post-metadata">

**Author:** ![nichky](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/nichky/32/1516_2.png) [@nichky](https://forum.mikrotik.com/u/nichky)\
**Post date:** [June 7, 2024, 8:45am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/9 "2024-06-07T08:45:53Z")

</div>

@CGGXANNX

That is reminding me to IPsec–\> _passive mode_.  
But back to WG. How about on the WG\_Server if i didn’t specify the _Endpoint_ (usually set up), is that the seme thing?

Than what is purpose of _Responder_?

---

<div class="post-metadata">

**Author:** ![CGGXANNX](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/cggxannx/32/55490_2.png) [@CGGXANNX](https://forum.mikrotik.com/u/CGGXANNX)\
**Post date:** [June 7, 2024, 9:17am UTC](https://forum.mikrotik.com/t/wireguard-not-start/176485/10 "2024-06-07T09:17:26Z")

</div>

> [@](#):
>
> @CGGXANNX
> 
> That is reminding me to IPsec–\> _passive mode_.  
> But back to WG. How about on the WG\_Server if i didn’t specify the _Endpoint_ (usually set up), is that the seme thing?
> 
> Than what is purpose of _Responder_?

In v7.14 this change was made to WG in RouterOS:

> \*) wireguard - optimised and improved WireGuard service logging;

That resulted in excessive log messages, as you can read from the 7.14 release thread [http://forum.mikrotik.com/t/v7-14-3-stable-is-released/174007/1](http://forum.mikrotik.com/t/v7-14-3-stable-is-released/174007/1) when RouterOS tries to send handshake packets and the remote peer is no longer available. It did that before 7.14 but the error was not logged so nobody noticed. As you can read from the documentation quote above, you don’t have to explicitly specify the endpoint address and port for RouterOS to initiate the handshake. If a connection was previously established, the **current** -endpoint-address and **current** -endpoint-port will have non-empty values and will be used for the handshake.

Now in 7.15 you can enable the “Responder” option and handshake will no longer be initiated by the router.
