Development discussion of WireGuard
 help / color / mirror / Atom feed
* Having some trouble with an ip rule
@ 2017-08-19 18:37 Andrew Harrison
  0 siblings, 0 replies; only message in thread
From: Andrew Harrison @ 2017-08-19 18:37 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

I've been messing around with WireGuard, and I'm trying to get it to route
all of my traffic.

I was trying to emulate what is shown in this gif
<https://www.wireguard.com/img/wg-quick-tool.gif>, but I've made a mistake.

Instead of showing:

    ip rule add not to *server ip address* table 51820


I am left with:

    [#] ip -4 rule add not fwmark 51820 table 51820


and I'm not sure how to remove this.  Anytime I try to use WireGuard with
the `wg-quick` command, it makes/executes this rule, and it clobbers my
connections.

The command I used that got me in this mess is (I think):

    ip rule add not to *server ip address* table 51820


Anytime WireGuard creates the VPN interface (wg0vpn), it creates this rule.


 I can run

    ip rule del table 51820

and it gets rid of it, but next time I initiate the connection, it is
back.  And also, it's not routing my traffic...

Any help would be appreciated.

[-- Attachment #2: Type: text/html, Size: 2157 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-19 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-19 18:37 Having some trouble with an ip rule Andrew Harrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).