Route Port between nodes


Renowned Member
Dec 8, 2009
I have 2 nodes in some cluster
#node1 - with available network port, but without compute resources
#node2 - with available compute resources, but no free network port
I need to connect some dedicated network VPN to the available port in #node1
and link it directly to the KVM vm on #node2

what is the right way to do that?

If I understand this correctly, you have the following:

<external network>
    +------+                   +------+
    |#node1| ---cluster-net--- |#node2|
    +------+                   | <vm> |

and you want your VM to be able to connect to the external network via your cluster net?

If so, there's currently no easy way to go about this. One way would be to connect your VM to the bridge used as the interface for the cluster network, and then enable routing on #node1 (e.g. sysctl net.ipv4.ip_forward=1, and setting up the routing table correctly, if not automatically configured), using it as a gateway for your VM.


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!