Development discussion of WireGuard
 help / color / mirror / Atom feed
* how to forward/route/rule all traffic broadcast from an br0 to wg0
@ 2020-02-07 16:49 Jelle de Jong
  2020-02-20 14:40 ` Jelle de Jong
  0 siblings, 1 reply; 3+ messages in thread
From: Jelle de Jong @ 2020-02-07 16:49 UTC (permalink / raw)
  To: wireguard

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@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to forward/route/rule all traffic broadcast from an br0 to wg0
  2020-02-07 16:49 how to forward/route/rule all traffic broadcast from an br0 to wg0 Jelle de Jong
@ 2020-02-20 14:40 ` Jelle de Jong
  2020-02-23 10:46   ` Matthias Urlichs
  0 siblings, 1 reply; 3+ messages in thread
From: Jelle de Jong @ 2020-02-20 14:40 UTC (permalink / raw)
  To: wireguard

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@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to forward/route/rule all traffic broadcast from an br0 to wg0
  2020-02-20 14:40 ` Jelle de Jong
@ 2020-02-23 10:46   ` Matthias Urlichs
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Urlichs @ 2020-02-23 10:46 UTC (permalink / raw)
  To: wireguard

On 20.02.20 15:40, Jelle de Jong wrote:
> Anyone that can answer the question on how to broadcast traffic like
> DHCP through an excisiting wireguard connection? 

You need a tunnel. "man ip-link" on Linux.

I'm sure you'll find a tutorial that explains the various options –
those details are off-topic for the WG list and my experience with them
is slightly out of date. :-/

-- 
-- Matthias Urlichs

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-23 10:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 16:49 how to forward/route/rule all traffic broadcast from an br0 to wg0 Jelle de Jong
2020-02-20 14:40 ` Jelle de Jong
2020-02-23 10:46   ` Matthias Urlichs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).