WireGuard: Difference between revisions

Tie-ling (talk | contribs)
Test and Troubleshooting
Tie-ling (talk | contribs)
Line 390: Line 390:
Test the proxy with
Test the proxy with


<syntaxhighlight>
# ipv4
# ipv4
$ curl -4 zx2c4.com/ip
$ curl -4 zx2c4.com/ip
# ipv6
$ curl -6 zx2c4.com/ip


# ipv6
Check systemd-networkd log for any error and warning messages.
$ curl -6 zx2c4.com/ip
</syntaxhighlight>


Check systemd-networkd log for any error and warning messages
$ journalctl -u systemd-networkd.service
 
<syntaxhighlight>
$ journalctl -u systemd-networkd.service
</syntaxhighlight>


Invoke <code>wg</code> command from <code>wireguard-tools</code>.
Invoke <code>wg</code> command from <code>wireguard-tools</code>.