# Unable to Connect via WireGuard

**URL:** <https://forum.gl-inet.com/t/unable-to-connect-via-wireguard/31188>\
**Category:** Router\
**Created:** [July 8, 2023, 1:19am UTC](https://forum.gl-inet.com/t/unable-to-connect-via-wireguard/31188 "2023-07-08T01:19:36Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [July 8, 2023, 4:13am UTC](https://forum.gl-inet.com/t/unable-to-connect-via-wireguard/31188/7 "2023-07-08T04:13:51Z")

</div>

Right. I just pinged your ddns address:

```auto
root@GL-AXT1800:~# ping -c2 hj82918.glddns.com
PING hj82918.glddns.com ([redacted]): 56 data bytes
64 bytes from [redacted]: seq=0 ttl=44 time=76.975 ms
64 bytes from [redacted]: seq=1 ttl=44 time=76.674 ms

--- hj82918.glddns.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 76.674/76.824/76.975 ms

```

So we know your Opal (acting as the WG Server}, more specifically its publicly facing IP, is online just as we’d expect. That doesn’t assure me :51820 is open to flow through to it though. I could probe it but that might raise some alerts to your ISP so I’m not excited to do that.

Can you please ssh into the device acting as the WG Client (eg: Slate AX per that YT video)? Its default IP is `192.168.8.1`. There’s software available to install to scan for open ports on other computers but they only run from the command line hence we can do that once logged into the Slate AX.

(`opkg update && opkg install nmap`)

Here’s what it looks like when I scan my VPS provider’s WG server:

```auto
root@GL-AXT1800:~# nmap -sU -p 51820 37.98.121.77
Starting Nmap 7.80 ( https://nmap.org ) at 2023-07-08 01:08 ADT
Nmap scan report for unn-37-98-121-77.datapacket.com (37.98.121.77)
Host is up (0.042s latency).

PORT STATE SERVICE
51820/udp open|filtered unknown

Nmap done: 1 IP address (1 host up) scanned in 1.55 seconds

```

Note how it says the WG port, 51820, is open. That’s what we’d be looking for when scanning the IP for your [hj82918.glddns.com](http://hj82918.glddns.com).

> **[SSH access for newcomers](https://openwrt.org/docs/guide-quick-start/sshadministration)**
>
> SSH access for newcomers One of the methods to manage OpenWrt is using command-line interface over SSH. OpenWrt listens for incoming SSH connections on port 22/tcp by default. To “ssh into your router”, you can enter the following command in a...

> **[MobaXterm free Xserver and tabbed SSH client for Windows](https://mobaxterm.mobatek.net/download-home-edition.html)**
>
> The ultimate toolbox for remote computing - includes X server, enhanced SSH client and much more!

---

_[View the full topic](https://forum.gl-inet.com/t/unable-to-connect-via-wireguard/31188)._
