One of the suspect is in peer wg11 output, the DNS entry is empty. Perhaps can addThanks for the assist.
So I believe I have everything setup correctly (or maybe not) since I can't use the internet at all.
Here is the output fo peer wg11:
Code:E:Option ==> peer wg11 Peers (Auto=P - Policy, Auto=X - External i.e. Cell/Mobile) Client Auto IP Endpoint DNS MTU Public Private Annotate wg11 P 10.100.0.162/32 199.115.117.81:51820 Wm/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= mxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= # N/A Selective Routing RPDB rules ID Peer Interface Source Destination Description 1 wg11 VPN 192.168.1.222 Any wg test pc WireGuard ACTIVE Peer Status: Clients 1, Servers 0
This is what I get for IP Rule:
Code:admin@GT-AX11000-xxxx:/tmp/home/root# ip rule 0: from all lookup local 9911: from 192.168.1.222 lookup 121 9990: from all fwmark 0x8000/0x8000 lookup main 9995: from all fwmark 0x1000/0x1000 lookup ovpnc1 32766: from all lookup main 32767: from all lookup default
wg show wg11:
Code:E:Option ==> wg show wg11 WireGuard Userspace Tool: interface: wg11 public key: dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= private key: (hidden) listening port: 51820 peer: Wm/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= preshared key: (hidden) endpoint: 199.115.117.81:51820 allowed ips: 0.0.0.0/0 transfer: 0 B received, 6.65 KiB sent persistent keepalive: every 25 seconds ENABLED WireGuard ACTIVE Peer Status: Clients 1, Servers 0
ifconfig wg11:
Code:dmin@GT-AX11000-xxxx:/tmp/home/root# ifconfig wg11 wg11 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.100.0.162 P-t-P:10.100.0.162 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MTU:1420 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:86 errors:0 dropped:1145 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:12728 (12.4 KiB)
Code:
peer wg11 dns 192.168.1.1
Edit: Just noticed there is no Rx for the wg11 interface. It seems the peering connection is not up yet. If you have wireguard installed on your test pc, you can try enter the same config in your pc wireguard. The log tab is quite helpful that we can handshake messages. Once the configuration is working on your pc wireguard, then you can copy the same into your wg11.conf file. I think this could be easier.
Last edited: