Development discussion of WireGuard
 help / color / mirror / Atom feed
* Enable Wireguard only for specific user
@ 2021-09-30 10:40 Florent B.
  2021-09-30 10:53 ` Nils Andreas Svee
  0 siblings, 1 reply; 3+ messages in thread
From: Florent B. @ 2021-09-30 10:40 UTC (permalink / raw)
  To: wireguard

Hi list,

On a Linux system (Ubuntu), I would like to enable Wireguard VPN only 
for a single user on my system.

Currently by default, every packet of every user is getting though 
Wireguard.

How can I do to route packets only for 1 user ?

I think I have to play with packets marking (wg show wg0 fwmark / 
iptables owner/mark module), I tried some commands but was unable to 
success.

Can someone help please ?

Thank you.

Florent


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-30 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 10:40 Enable Wireguard only for specific user Florent B.
2021-09-30 10:53 ` Nils Andreas Svee
2021-09-30 11:01   ` Florent B.

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).