I have searched all over and can't find a good example of that I am trying to do. I have some slower hardware that has multiple cores and I would like to bond together 2 connections over the same ISP connection. Most of the examples are for multiple ISP connections. My server is CentOS 7 and my clients are also linux. Here are my questions:
1. I am assuming I will need to run multiple OpenVPN servers on the server side with different IP ranges.
Process 1, tun0: 10.8.0.1/24
Process 2, tun1: 10.8.1.1/24
Do I create a bond with both these addresses in it with an IP of 10.8.2.1/24?
2. Today I assign each box with a static IP on the 10.8.0.0/24 range. The reason I do this is for assigning external IP addresses to the boxes.
So my NAT config looks like this:
-A PREROUTING -d <Internet IP>/32 -j DNAT --to-destination 10.8.0.20
-A PREROUTING -d <Internet IP>/32 -j DNAT --to-destination 10.8.0.21
-A POSTROUTING -s 10.8.0.20/32 -j SNAT --to-source <Internet IP>
-A POSTROUTING -s 10.8.0.21/32 -j SNAT --to-source <Internet IP>
This allows me to hit the box from their internet IP. Could I still do the DNAT with bonding the connections? If so where do I point it?
Will this scenario work with multiple clients connected?
Thanks in advance