wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
From: Unnamed Road <semenenvy@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: Wireguard changes the IP address of the destination after a while and the session breaks.
Date: Mon, 7 Oct 2019 13:27:04 +0300	[thread overview]
Message-ID: <CAKHog22jaZrMKjf6Gd9pKNxvDATtv4EHoDehbLSUVgVBJY7oeg@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1682 bytes --]

Hello to all!

I encountered a problem while using Wireguard. Here is my traffic dump

tcpdump -vnr wg_02-10-2019_03-17-03.pcap | grep 10.10.10.12 | head -n 10
reading from file wg_02-10-2019_03-17-03.pcap, link-type EN10MB (Ethernet)
    10.10.10.225.49267 > 10.10.10.12.https: UDP, length 96
    10.10.10.12.https > 10.10.10.225.49267: UDP, length 96
    10.10.10.225.49267 > 10.10.10.12.https: UDP, length 96
    10.10.10.12.https > 10.10.10.225.49267: UDP, length 96
    10.10.10.12.https > 10.10.10.225.49267: UDP, length 96

tcpdump -vnr wg_02-10-2019_03-47-03.pcap | grep 10.10.10.10 | head -n 10
reading from file wg_02-10-2019_03-47-03.pcap, link-type EN10MB (Ethernet)
    10.10.10.10.https > 10.10.10.225.49267: UDP, length 148
    10.10.10.10.https > 10.10.10.225.49267: UDP, length 96
    10.10.10.10.https > 10.10.10.225.49267: UDP, length 96
    10.10.10.10.https > 10.10.10.225.49267: UDP, length 148
    10.10.10.10.https > 10.10.10.225.49267: UDP, length 96
    10.10.10.10.https > 10.10.10.225.49267: UDP, length 96

In this place (02-10-2019_03-47-03) where the address in the dump changes
on 10.10.10.10 and my session breaks.

Where is the IP address 10.10.10.12/32 in lo interface (CentOS7) and
10.10.10.10/30 is enp0s25 and i am using OSPF and p2p session with another
IP / 30 (ASBR)

 netstat -puntal | grep 443

udp        0      0 0.0.0.0:443             0.0.0.0:*
    -
udp6       0      0 :::443                  :::*
     -

10.10.10.225  - client with Windows 7 and settings
[Peer]
PublicKey = key
AllowedIPs = 0.0.0.0/1, 128.0.0.0/1
EndPoint = 10.10.10.12:443
PersistentKeepAlive = 30

What am I doing wrong? Why does the destination address change?

[-- Attachment #1.2: Type: text/html, Size: 2474 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

                 reply	other threads:[~2019-11-27  9:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKHog22jaZrMKjf6Gd9pKNxvDATtv4EHoDehbLSUVgVBJY7oeg@mail.gmail.com \
    --to=semenenvy@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).