Skip to content

Instantly share code, notes, and snippets.

@zOrg1331
zOrg1331 / pynq-z2_notes.md
Last active April 7, 2024 15:12
PYNQ-Z2 board U-Boot and Linux kernel
@zOrg1331
zOrg1331 / wireguard_layer2.md
Last active October 9, 2024 04:12
wireguard, wireguard layer 2, wireguard over TCP

Intro

This note describes how to connect two networks/devices/VMs over public network using Wireguard with Layer 2 support (ARP, IPv6 link-local, etc).

This can also be achieved using SSH and its "tap" tunnel, however, it does not provide the same level of latency and bandwidth as full-blown VPN such as Wireguard.

In addition, this note describes how to tunnel Wireguard over TCP connection. This may be of use if you encounter firewall in-between so, for instance, you can use TCP port 443 only.

Objective

@zOrg1331
zOrg1331 / vxlan.md
Last active September 21, 2024 16:32
VXLAN Configuration Examples for Linux

VXLAN Configuration Examples for Linux

Here you can find several simple (static VTEP binding) configurations for VXLAN networks which can be built using Linux-based box.

VXLAN over flat private network

Input data:

  • Two hosts on the same network: HostA (192.168.222.5/24) <--> HostB