Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Wireguard client on Debian as none default route

dnwkdnwk Member

Any idea how I could run a wireguard client on Debian with allow route 0.0.0.0/0 but it doesn't served as default route?

Comments

  • Mount specific service on interface? What do you want to access from Wireguard?

  • FrankZFrankZ Barred
    edited November 2021

    I thing you may find what you need here.
    https://lowendtalk.com/discussion/comment/3301736#Comment_3301736

    EDIT: I meant this part..

    Assuming the tunnel is VPS#1 (10.16.0.1) and VPS#2 (10.16.0.2)
    On VPS#1 (10.16.0.1) add these routes:

    ip route add 10.16.0.2 via 10.16.0.1 dev tun0
    ip rule add from 10.16.0.0/24 table 1007
    ip route add throw 10.16.0.0/24 table 1007
    ip route add 0.0.0.0/1 via 10.16.0.1 dev tun0 table 1007
    ip route add 128.0.0.0/1 via 10.16.0.1 dev tun0 table 1007
    
Sign In or Register to comment.