Hi there,
I have a 2 node cluster, 2 LXC containers, setup and running an OpenVPN server on TCP 443 for each.
Each container works fine individually (stop 1, start the other, etc) and when the containers are on separate nodes of the cluster. Each container has it's own unique IP address. However, if both containers are running on the same node OpenVPN will not connect on either container.
If I change the OpenVPN server port on 1 container to (for example) 993, both containers can then co-exist on the same node (even using the same tunxxx specified interface).
Firewall rules have been removed/stripped back. Even tried specifying different tunxxx interfaces per container, this made no difference. Each OpenVPN server has a 'local' line set, to bind to only the IP address of the container.
Am I missing something? Or is this a known limitation of containers with tun/tap sharing ports? Stumped.
Cheers,
I have a 2 node cluster, 2 LXC containers, setup and running an OpenVPN server on TCP 443 for each.
Each container works fine individually (stop 1, start the other, etc) and when the containers are on separate nodes of the cluster. Each container has it's own unique IP address. However, if both containers are running on the same node OpenVPN will not connect on either container.
If I change the OpenVPN server port on 1 container to (for example) 993, both containers can then co-exist on the same node (even using the same tunxxx specified interface).
Firewall rules have been removed/stripped back. Even tried specifying different tunxxx interfaces per container, this made no difference. Each OpenVPN server has a 'local' line set, to bind to only the IP address of the container.
Am I missing something? Or is this a known limitation of containers with tun/tap sharing ports? Stumped.
Cheers,
Last edited: