Using custom WireGuard configuration file (ProtonVPN/Mullvard VPN) as the exit node? #2074

Open
opened 2025-11-20 06:12:20 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @haneef95 on GitHub (Jul 16, 2025).

Hi,

Tailscale offers integration with Mullvard... But is it possible to configure an exit node or default route with a custom WireGuard configuration file?

Thank you,

Originally created by @haneef95 on GitHub (Jul 16, 2025). Hi, Tailscale offers integration with Mullvard... But is it possible to configure an exit node or default route with a custom WireGuard configuration file? Thank you,
Author
Owner

@mikebakke commented on GitHub (Oct 12, 2025):

I set up a minimal LXC container in my proxmox with wg and netbird installed. I configure that as an exit node and allow access to whichever peers.

Then start up a wg interface (paris) from my vpn (surfshark) and finally apply iptables to forward traffic which comes in from wt0 to paris (or whatever iface is chosen) and returned traffic back via wt0.

iptables -t nat -A POSTROUTING -o paris -j MASQUERADE
iptables -A FORWARD -i wt0 -o paris -j ACCEPT
iptables -A FORWARD -i paris -o wt0 -m state --state RELATED,ESTABLISHED -j ACCEPT

I am considering switching to mullvad when my surfshark sub expires so I'll buy a month and test. The docs imply it can work but I trust no-one :-)

@mikebakke commented on GitHub (Oct 12, 2025): I set up a minimal LXC container in my proxmox with wg and netbird installed. I configure that as an exit node and allow access to whichever peers. Then start up a wg interface (paris) from my vpn (surfshark) and finally apply iptables to forward traffic which comes in from wt0 to paris (or whatever iface is chosen) and returned traffic back via wt0. iptables -t nat -A POSTROUTING -o paris -j MASQUERADE iptables -A FORWARD -i wt0 -o paris -j ACCEPT iptables -A FORWARD -i paris -o wt0 -m state --state RELATED,ESTABLISHED -j ACCEPT I am considering switching to mullvad when my surfshark sub expires so I'll buy a month and test. The docs imply it can work but I trust no-one :-)
Author
Owner

@haneef95 commented on GitHub (Oct 12, 2025):

Would be good to have it configurable centrally

@haneef95 commented on GitHub (Oct 12, 2025): Would be good to have it configurable centrally
Author
Owner

@mikebakke commented on GitHub (Oct 12, 2025):

It would, but until then (if ever) this works for me :-)

@mikebakke commented on GitHub (Oct 12, 2025): It would, but until then (if ever) this works for me :-)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2074