Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How to rotate ip in centos or ubuntu.
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How to rotate ip in centos or ubuntu.

247247 Member
edited July 2016 in Requests

my OpenVZ vps using 2xipv4 & 2xipv6

23.54.xx.102

23.54.xx.103

2604:xxxx:1::xxxx:6x0b

2604:xxxx:1::xxxx:5x7c

Now I want to rotate my ip so when I run any PHP,ruby or curl command rotate my ip. I am doing a test with curl 'https://api.ipify.org?format=json' show me same ip.

root@local:~#curl 'https://api.ipify.org?format=json' {"ip":"23.54.xx.102"}

root@local:~#curl 'https://api.ipify.org?format=json' {"ip":"23.54.xx.102"}

root@local:~#curl 'https://api.ipify.org?format=json' {"ip":"23.54.xx.102"}

I used some iptables rules but the result is same and not rotating ip.

I want result

root@local:~#curl 'https://api.ipify.org?format=json' {"ip":"23.54.xx.102"}

root@local:~#curl 'https://api.ipify.org?format=json' {"ip":"23.54.xx.103"}

root@local:~#curl 'https://api.ipify.org?format=json' {"ip":"2604:xxxx:1::xxxx:6x0b"}

root@local:~#curl 'https://api.ipify.org?format=json' {"ip":"2604:xxxx:1::xxxx:5x7c"}

Requesting expert to help me.

Comments

Sign In or Register to comment.