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:
Code: Select all
-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>
Will this scenario work with multiple clients connected?
Thanks in advance