Dear Team
How to achieve IP rotation on Vyos 1.4.0 version for mailing solution.
Dear Team
How to achieve IP rotation on Vyos 1.4.0 version for mailing solution.
I use the following script to rotate my IPs:
#!/bin/bash
IFS='.' read -r -a arr <<< "$1"
for i in {1..4}; do
echo "${arr[@]}" | tr ' ' '.'
arr=("${arr[@]:1}" "${arr[0]}")
done
Example:
./rotate.sh 203.59.22.7
Output:
203.59.22.7
59.22.7.203
22.7.203.59
7.203.59.22
Where you put the IPs on Script ?? is the SNAT IP is change for mailing ??? what is the time interval of changing the IP
it must change on SNAT
set nat66 source rule 30 translation address ‘2407:e9c0:1::23’
please update ??? how you can do rotation on vyos for SNAT
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.