[zeromq-dev] Simple VPN with zmq?

Benjamin Henrion zoobab at gmail.com
Fri Feb 13 14:23:46 CET 2015


I am looking to make a simple TCP VPN based on ZMQ, which on one host
has a TUN2ZMQ process, and on the other host has a ZMQ2TUN process.

I do not need encryption to start with.

I have tried to make this with a simple SSH IP tunnel (using HPN
patches and no cipher), it works perfectly, but the performances are
not what I expected:

1. I managed to saturate my gigabit link with a simple SCP (950mbps)
2. When I setup the IP tunnel with PermiTunnel=yes, I see only 300mbps
of traffic and one CPU is the bottleneck.

I am wondering how easy it would be to write this.

Any thoughts?


Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."

More information about the zeromq-dev mailing list