Crossposted using Lemmit.

Original post from /r/vpn by /u/Familiar-Buddy4720 on 2023-07-03 20:03:58+00:00.


Separation of outgoing network traffic from Wireguard

Hi, I need to split the traffic out of the tunnel into 2 interfaces eth0 only for client-server server-client traffic and eth1 for traffic outside to the internet for the tunnel so that the client can browse the internet using this interface (eth1)

ip of tunnel is 10.0.0.1 and client 10.0.0.2

ip eth0 is xxx.xxx.xxx.xxx

ip eth1 is yyy.yyy.yyy.yyy