Revision history [back]

click to hide/show revision 1
initial version

I would consider the setup of a tunnel VXLAN or GRE. It is an easy and fast way to solve your problem. Check if your ip link suite has a version able to perform it and simply follow this manual: https://www.systutorials.com/docs/linux/man/8-ip-link/

An example might be: ip link add vx-left type vxlan id 80 remote $PUBLIC_IP_DEST dstport 4789 # 1) use a different port if the data center has a firewall that prevents some of them from working! 2) the public ip dest can also be a private address that you are able to reach

From the other side: ip link add vx-right type vxlan id 80 remote $public_ip_dst dstport 4789 # as well as before