Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Ibrahim Tachijian <barhom@netsat.se>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Wireguard and MTU
Date: Wed, 31 May 2017 09:31:35 +0000	[thread overview]
Message-ID: <CACTq0bRBqH85OhjF2gRmkRGay91+L=XXy7Y6mAYuodGPz9L62w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]

I understand that by default wireguard chooses an MTU of 1420.
The way that I have setup wireguard now is that I have a router (running
LEDE/openwrt) connecting to wireguard running on an arch server.

I then set the default gw to go through wireguard and properly do iptables
nat masquerading so that the only ip inside the tunnel is the ones in
allowed_ips.
Basically all my traffic from the router (lede/openwrt) now flows over
wireguard and then to the internet.


   - Router -> wireguard -> Internet
      - working good because the MTU is properly set to 1420.
   - Wifi Client -> Router -> wireguard -> internet
      - Not working properly because of MTU is set at 1500 at wifi/wired
      dhcp clients.

How do we propose that we advertise the correct MTU that the NAT clients of
the router should use? Is there any other way to solve this issue?

Thanks,



-- 
*Ibrahim Tachijian*

CEO Net Sat AB
Mobile: +46723321377
barhom@netsat.se

_________________________


*Net Sat ABC/O Jayway AB*Klara Östra Kyrkogata 2B, 1TR, 111 52 Stockholm,
Sweden
Office: +46 (0)8 408 394 53

[-- Attachment #2: Type: text/html, Size: 2227 bytes --]

             reply	other threads:[~2017-05-31  9:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31  9:31 Ibrahim Tachijian [this message]
2017-05-31 10:59 ` Jason A. Donenfeld
2017-05-31 11:08   ` Ibrahim Tachijian

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='CACTq0bRBqH85OhjF2gRmkRGay91+L=XXy7Y6mAYuodGPz9L62w@mail.gmail.com' \
    --to=barhom@netsat.se \
    --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).