What's new

VPN Director ok, device no connect.

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

68OnePlus

Occasional Visitor
I apologize, but I don't understand why, despite being connected to the Swiss NordVPN server, I have no internet connection on my devices.
I would like to point out that my router filters advertising through Pihole (raspberry), I need help.
Thanks.
 

Attachments

  • Foto.jpeg
    Foto.jpeg
    58.5 KB · Views: 37
I apologize, but I don't understand why, despite being connected to the Swiss NordVPN server, I have no internet connection on my devices.
I would like to point out that my router filters advertising through Pihole (raspberry), I need help.
Thanks.
Do you know if it's a connection issue or dns issue? I.e could you ping an ip on your client (like 1.1.1.1) or domain (like google.com)?
Are you using any dns setting in Wireguard?
How is your vpn director rule(s)? Single ips or entire network?
Is your pihole over vpn?
 
Thanks for all.

-C:\Windows\System32>ping google.com

Ping google.com [216.58.204.238] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping Stats for 216.58.204.238:
Packets: Transmitted = 4, Received = 0,
Lost = 4 (100% loss)

-No DNS settings
-The rules are for individual IP
-PIhole was installed on Raspberry without VPN, I must say that on stock asus firmware and therefore VPN Fusion I never had problems.

I apologize for my English as a translator.

INTERFACE:
Private Key
xxxxxxxxxxGVEwAIve+huHKfKsTIOEoXxxxxxxxx=
MTU (Optional)
Address
10.6.0.2/32
DNS Server (Optional)

PEER
Server Public Key
SqAWBSVdnUJ859Bz2Nyt82rlSebMwPgvwQxIb1DzyF8=
Preshared Key (Optional)
Allowed IPs
0.0.0.0/0
Endpoint Address:port
ch404.nordvpn.com:51820
Persistent Keepalive
25

interface: wgc1
public key: sKKRdJAJLRgPd4hQj9mg/lJZc1GOJC/dEGd2lCvBEQY=
private key: (hidden)
listening port: 50446

peer: SqAWBSVdnUJ859Bz2Nyt82rlSebMwPgvwQxIb1DzyF8=
endpoint: 185.7.34.224:51820
allowed ips: 0.0.0.0/0
latest handshake: 29 seconds ago. (sec:29)
transfer: 12.07 KiB received, 730.88 KiB sent
persistent keepalive: every 25 seconds
 
Thanks for all.

-C:\Windows\System32>ping google.com

Ping google.com [216.58.204.238] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping Stats for 216.58.204.238:
Packets: Transmitted = 4, Received = 0,
Lost = 4 (100% loss)

-No DNS settings
-The rules are for individual IP
-PIhole was installed on Raspberry without VPN, I must say that on stock asus firmware and therefore VPN Fusion I never had problems.

I apologize for my English as a translator.

INTERFACE:
Private Key
xxxxxxxxxxGVEwAIve+huHKfKsTIOEoXxxxxxxxx=
MTU (Optional)
Address
10.6.0.2/32
DNS Server (Optional)

PEER
Server Public Key
SqAWBSVdnUJ859Bz2Nyt82rlSebMwPgvwQxIb1DzyF8=
Preshared Key (Optional)
Allowed IPs
0.0.0.0/0
Endpoint Address:port
ch404.nordvpn.com:51820
Persistent Keepalive
25

interface: wgc1
public key: sKKRdJAJLRgPd4hQj9mg/lJZc1GOJC/dEGd2lCvBEQY=
private key: (hidden)
listening port: 50446

peer: SqAWBSVdnUJ859Bz2Nyt82rlSebMwPgvwQxIb1DzyF8=
endpoint: 185.7.34.224:51820
allowed ips: 0.0.0.0/0
latest handshake: 29 seconds ago. (sec:29)
transfer: 12.07 KiB received, 730.88 KiB sent
persistent keepalive: every 25 seconds
Ok. Well, your tunnel seems to be working. Handshake timer resets now and then and you got some data both tx and rx so it's connected.

Did you enable NAT? that is usually required on these type of vpns, here are my settings:
Screenshot_20240918_201159_Samsung Internet.jpg


If "Enable NAT" is set to No, you will probably get exactly what you see now, tunnel working but no clients can connect.
 
Thanks, NAT is enabled.
Hmm, ok.

Any other vpn setup? Recent changes to kill-switch makes it active even if the vpn is disabled so if you have any left-over old config, make sure you disable the kill-switch under everything.

If you have ssh access to the router, could you try executing
Code:
ip route get 1.1.1.1 from <client ip> iif br0
And post the output. Replace <client ip> with the ip address of your windows client set to use vpn, I.e
Code:
ip route get 1.1.1.1 from 192.168.50.25 iif br0
 
Here I am again...

ASUSWRT-Merlin GT-AXE16000 3004.388.8_2_rog Thu Aug 1 00:58:58 UTC 2024
admin@GT-AXE16000-9A30:/tmp/home/root# ip route get 1.1.1.1 from 192.168.1.14 ii
f br0
1.1.1.1 from 192.168.1.14 via 192.168.100.1 dev ppp0
cache iif br0
admin@GT-AXE16000-9A30:/tmp/home/root#
 
1.1.1.1 from 192.168.1.14 via 192.168.100.1 dev ppp0
Thanks! This shows that a packet from 192.168.1.14 to 1.1.1.1 would go out ppp0 (wan) interface and not Wireguard wgc1 interface.

How does your routing rules look like:
Code:
ip rule

Also a picture of your vpndirector rules might help.
 
ASUSWRT-Merlin GT-AXE16000 3004.388.8_2_rog Thu Aug 1 00:58:58 UTC 2024
admin@GT-AXE16000-9A30:/tmp/home/root# ip rule
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
 

Attachments

  • Foto.jpeg
    Foto.jpeg
    49.5 KB · Views: 20
ASUSWRT-Merlin GT-AXE16000 3004.388.8_2_rog Thu Aug 1 00:58:58 UTC 2024
admin@GT-AXE16000-9A30:/tmp/home/root# ip rule
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
For some reason your vpn director rule does not exist in your routing rules. Are you sure wgc1 are active when taking these dumps, doing these tests?

If so, try to delete the rule and create it again. Make sure to remember to click "apply" at the bottom of vpndirector when you are done.
 
Excuse...
ASUSWRT-Merlin GT-AXE16000 3004.388.8_2_rog Thu Aug 1 00:58:58 UTC 2024
admin@GT-AXE16000-9A30:/tmp/home/root# ip rule
0: from all lookup local
11210: from 192.168.1.14 lookup wgc1
32766: from all lookup main
32767: from all lookup default
 
Excuse...
ASUSWRT-Merlin GT-AXE16000 3004.388.8_2_rog Thu Aug 1 00:58:58 UTC 2024
admin@GT-AXE16000-9A30:/tmp/home/root# ip rule
0: from all lookup local
11210: from 192.168.1.14 lookup wgc1
32766: from all lookup main
32767: from all lookup default
So, now you get a different response from
Code:
ip route get 1.1.1.1 from 192.168.1.14 iif br0
 
So, now you get a different response from
Code:
ip route get 1.1.1.1 from 192.168.1.14 iif br0
ASUSWRT-Merlin GT-AXE16000 3004.388.8_2_rog Thu Aug 1 00:58:58 UTC 2024
admin@GT-AXE16000-9A30:/tmp/home/root# ip route get 1.1.1.1 from 192.168.1.14 ii
f br0
1.1.1.1 from 192.168.1.14 dev wgc1 table wgc1
cache iif br0
 
ASUSWRT-Merlin GT-AXE16000 3004.388.8_2_rog Thu Aug 1 00:58:58 UTC 2024
admin@GT-AXE16000-9A30:/tmp/home/root# ip route get 1.1.1.1 from 192.168.1.14 ii
f br0
1.1.1.1 from 192.168.1.14 dev wgc1 table wgc1
cache iif br0
Ok, so routing works without issues.

Would you mind opening the Wireguard config file you imported on some text editor and check so your wg ip is right?

It feels wierd that it is 10.6.0.2/32 as this is the first ip in this series. It's like Nord set up this endpoint ip: port just for you. Are you paying extra to have your own ip or port forwarding or similar?

If all is correct, unless you have some custom firewall rules it starts to feel like an issue at Nordvpn. Is there any chance you could test this config directly on your windows computer with the official Wireguard app to see if it works there?
 
Ok, so routing works without issues.

Would you mind opening the Wireguard config file you imported on some text editor and check so your wg ip is right?

It feels wierd that it is 10.6.0.2/32 as this is the first ip in this series. It's like Nord set up this endpoint ip: port just for you. Are you paying extra to have your own ip or port forwarding or similar?

If all is correct, unless you have some custom firewall rules it starts to feel like an issue at Nordvpn. Is there any chance you could test this config directly on your windows computer with the official Wireguard app to see if it works there?
I will try the official wireguard app soon.
 
Nothing to do, as soon as I activate the tunnel, I disconnect.
 

Attachments

  • foto.jpeg
    foto.jpeg
    49.6 KB · Views: 15
  • wireguard-log-2024-09-19T225244.txt
    25.6 KB · Views: 7

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top