WireGuard: Difference between revisions

Tie-ling (talk | contribs)
Route DNS over wg0: add proxy server internal ip
Tie-ling (talk | contribs)
Test and Troubleshooting: ip route commands
Line 402: Line 402:


Invoke <code>wg</code> command from <code>wireguard-tools</code>.
Invoke <code>wg</code> command from <code>wireguard-tools</code>.
Use <code>ip route</code> to inspect the route table
$ ip route show table 1000
default dev wg0 proto static scope link
$ ip route show table all
... many entries ...
$ ip rule list
10: not from all fwmark 0x2a lookup 1000 proto static
$ ip route get  136.144.57.121
136.144.57.121 dev wg0 table 1000 src 192.168.26.9 uid 1000
$ ip route get 2600:1406::1
2600:1406::1 from :: dev wg0 table 1000 proto static src fd31:bf08:57cb::9 metric 1024 pref medium


= wg-quick =
= wg-quick =