Instructions for Zerotier exit Gateway in a Debian 10 lxc Container (copied from here)
-
Create Debian 10 container and put it on the same vmbr as the network you want to reach
-
Add this to your Container Config (if running from proxmox):
lxc.mount.entry: /dev/net dev/net none bind,create=dir -
Enable ip forwarding by editing
/etc/sysctl.confand uncommentingnet.ipv4.ip_forward=1 -
Run
sysctl -pto apply ip forwarding (it should read the line back to you)