Randomly select ip address from different servers

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
mxcano
OpenVpn Newbie
Posts: 1
Joined: Fri Mar 13, 2015 1:05 am

Randomly select ip address from different servers

Post by mxcano » Fri Mar 13, 2015 1:23 am

I want a batch script that would randomly change IP.

So let's say I have 5 locations. I want to change

xxx.xxx.xxx.xxx

I don't want addresses to be similar like

12.10.xxx.xxx

The random the better. I am using openvpn 2 and I have hma vpn client.

How can I do this?

florit
OpenVpn Newbie
Posts: 8
Joined: Tue Dec 08, 2015 10:49 pm

Re: Randomly select ip address from different servers

Post by florit » Wed Dec 09, 2015 10:14 pm

:o but havent you Read the Manual?
https://openvpn.net/index.php/open-sour ... npage.html

I Hope this helps

Ernter Main Servers in ovpn file with ip and Port like:

Code: Select all

remote server1 1194
Remote Server2 1194
Remote Server3 1194
... Follow up list
And select After this "remote-random" in ovpn file as Option . :mrgreen:

Post Reply