Hi,
Is it possible to change the settings in the NAT to use any IP address from the public pool, depending on the connection?
I have a pool of public addresses - 6 public IP
I create this rule:
0 chain=srcnat action=src-nat to-addresses=35.66.77.1 src-address=172.16.1.0/24
1 chain=srcnat action=src-nat to-addresses=35.66.77.2 src-address=172.16.1.0/24
2 chain=srcnat action=src-nat to-addresses=35.66.77.3 src-address=172.16.1.0/24
3 chain=srcnat action=src-nat to-addresses=35.66.77.4 src-address=172.16.1.0/24
4 chain=srcnat action=src-nat to-addresses=35.66.77.5 src-address=172.16.1.0/24
5 chain=srcnat action=src-nat to-addresses=35.66.77.6 src-address=172.16.1.0/24
Is it possible to do something like that:
User is connecting by PPTP and NAT translete it by first ip address - 35.66.77.1
User has disconnected and is connected again, NAT translate it by the next ip address - 35.66.77.2
User has disconnected and is connected again, NAT translate it by the next ip address - 35.66.77.3
User has disconnected and is connected again, NAT translate it by the next ip address - 35.66.77.4
User has disconnected and is connected again, NAT translate it by the next ip address - 35.66.77.5
User has disconnected and is connected again, NAT translate it by the next ip address - 35.66.77.6
User has disconected and is connected again, NAT translate it by the first ip address - 35.66.77.1