# Route all traffic through Wireguard interface

**URL:** https://discourse.nixos.org/t/route-all-traffic-through-wireguard-interface/1480
**Category:** Help
**Created:** [November 20, 2018, 7:25pm UTC](https://discourse.nixos.org/t/route-all-traffic-through-wireguard-interface/1480 "2018-11-20T19:25:01Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![anderspapitto](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/a/fbc32d/32.png) [@anderspapitto](https://discourse.nixos.org/u/anderspapitto)
#### Post date: [December 19, 2018, 5:03pm UTC](https://discourse.nixos.org/t/route-all-traffic-through-wireguard-interface/1480/14 "2018-12-19T17:03:22Z")

</div>

yeah I have a working setup based on the namespace approach, described here [Reflexive Reflection - Wireguard vpn with network namespace on NixOS](https://reflexivereflection.com/posts/2018-12-18-wireguard-vpn-with-network-namespace-on-nixos.html)

---

_[View the full topic](https://discourse.nixos.org/t/route-all-traffic-through-wireguard-interface/1480)._
