LXC container with Samba and ZeroTier. (Transmits very slowly)


New Member
Nov 8, 2022
Hello, in Datacenter, PVE and in the LXC container I have the firewall disabled, nevertheless ZeroTier is not able to set up a direct connection, in the router I have a port forwarded to the IP of this container, do I need to add something here in iptables on the proxmox host to let all traffic to this container through?
I will add that on another server I have debian without firewall and it sets up a direct connection in ZeroTier without any problem, so why is it different on proxmox despite firewall disabled.

In Host Proxmox I added a redirect:

iptables -t nat -A PREROUTING -p udp --dport 9993 -j DNAT --to-destination
iptables -t nat -A PREROUTING -p tcp --dport 9993 -j DNAT --to-destination

There are no iptables rules in the LXC container with Samba.

The effect looks like this:
File transfer speed over samba via ZeroTier on Proxmox 250 KB/s.
File transfer speed after samba via ZeroTier on pure Debian without firewall 15-30MB/sec.

Same test conditions, same ZeroTier network.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!