Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Mark Lawrence <mark@rekudos.net>
To: Nohk Two <nohktwo@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: How to detect the IP CAM on LAN from WG tunnel ?
Date: Fri, 21 Jun 2024 09:18:49 +0000	[thread overview]
Message-ID: <ZnVFefPIvg5DFNnl@d.rekudos.net> (raw)
In-Reply-To: <384d1fdd-a32f-4839-bb8b-2761be363b50@gmail.com>

>How do you solve this problem ?

Iterative fact checking, from the lowest levels of the network stack 
to the highest.

     - Are the devices actually connected where you think they are?
         - With the tunnel disconnected, does your phone connect to the 
           camera?
     - Is your Wireguard tunnel set up properly?
         - Can your phone ping the wg0 address with the tunnel active?
         - Can your phone ping other .100 devices with the tunnel 
           active?
     - Does your eth0/wg0 machine have IP forwarding enabled?
         - sysctl net.ipv4.ip_forward=1
     - What does packet tracing show?
         - I.e. `ngrep -d wg0 .\* icmp` or the tcpdump equivalent, also 
           against eth0 for the wireguard UDP port.
     - Does the mobile App actually support remote (routed) cameras or 
       just on the local network?

-- 
Mark Lawrence

  reply	other threads:[~2024-06-21  9:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20 14:52 Nohk Two
2024-06-21  9:18 ` Mark Lawrence [this message]
2024-06-21 10:39   ` Nohk Two
2024-06-21 10:47     ` Tomcsanyi, Domonkos

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=ZnVFefPIvg5DFNnl@d.rekudos.net \
    --to=mark@rekudos.net \
    --cc=nohktwo@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).