how to forward/route/rule all traffic broadcast from an br0 to wg0

Jelle de Jong jelledejong at powercraft.nl
Thu Feb 20 15:40:00 CET 2020


Hello everyone,

Anyone that can answer the question on how to broadcast traffic like 
DHCP through an excisiting wireguard connection?

Kind regards,

Jelle de Jong

On 2020-02-07 17:49, Jelle de Jong wrote:
> Hello everybody,
> 
> br0 (with eth0 eth1 eth3)
> wg0 (192.168.43.10/24)
> 
> dhcp-helper to forward broadcast to ip?
> 
> I am looking for way to use a wireguard tunnel to route all traffic 
> including dhcp broadcast from one network to an other network and create 
> a form of a network bridge.
> 
> I got an working wireguard client wg0 (192.168.43.10/24) that has a 
> linux bridge br0 on the same system, so br0 and wg0.
> 
> I can not add wg0 to the bridge because bridging is layer2.
> 
> How can I use either ip route, nftables, iptables, etc to route all 
> traffic on br0 to wg0.
> 
> I want to runnel an dhcp and pxe boot over the br0 to wg0.
> 
> Can someone share an example?
> 
> Kind regards,
> 
> Jelle de Jong
> _______________________________________________
> WireGuard mailing list
> WireGuard at lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard


More information about the WireGuard mailing list