Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Sitaram Chamarty <sitaramc@gmail.com>
To: wireguard@lists.zx2c4.com
Subject: wireguard works for 10.0.0.x/24, but not for 10.10.10.x/24
Date: Sat, 25 Aug 2018 07:42:24 +0530	[thread overview]
Message-ID: <20180825021224.GA30319@sita-lt.atc.tcs.com> (raw)

Hi

I have a very peculiar problem.

My wireguard server serves up for my laptop and phone using
10.0.0.1 as its own IP, and .2 and .3 respectively as my laptop
and phone's IPs.

But if I switch it to any other subnet, like 192.168.25.x/24, or
even 10.10.10.x/24, it does not work.

(Before someone asks, yes I did remember to change the wg0.conf
on both sides before flipping the switch.)

I can provide more details, I can run any debugging commands you
ask me to, but there is literally no other difference except a
`:%s/10.0.0/10.10.10/g` in /etc/wireguard/wg0.conf, on both
sides.

I am using the wg-quick command, if it matters.

I can ping from the laptop to the server (10.10.10.2 ->
10.10.10.1).  I can access services running locally on the
server (such as tcp/80 or udp/53).  "traceroute" will show the
first hop as 10.10.10.1, but after that -- silence.  It just
won't go beyond that.

So whatever it is, it seems to be on the server side. Packets
make it to the remote endpoint, but don't get routed out to the
internet after that.

Both sides are running the same version of wireguard (20180809).
Server is CentOS 7.4, client is Fedora 28.

Does anything in this ring a bell for anyone?

thanks
sitaram

             reply	other threads:[~2018-08-25  1:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-25  2:12 Sitaram Chamarty [this message]
2018-08-25  9:47 ` Morten Christensen
2018-08-25 13:16   ` Sitaram Chamarty

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=20180825021224.GA30319@sita-lt.atc.tcs.com \
    --to=sitaramc@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).