M
M
MishaMike2015-12-01 17:38:16
PHP
MishaMike, 2015-12-01 17:38:16

How to form outgoing requests with different IPs from one server?

Explain to me the technical moment. Understanding is necessary in order to correctly compose the terms of reference for the programmer.

I need a php script that a programmer will write to make outgoing requests from different IP addresses in order to bypass the restriction in the API of the service to which we will connect.

I plan to buy several IP addresses for the server. Is it possible to configure so that outgoing requests are from different APIs? How to do it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artem @Jump, 2015-12-01
Tag

Set the task for the programmer so that the script works through a proxy, and takes the proxy parameters for each request from the proxy list.
After that, you buy a list of proxies, and slip a text file with a list of proxies into your script.

A
alegzz, 2015-12-02
@alegzz

if PHP curl then smoke:
setopt CURLOPT_INTERFACE

O
Oleg Tsilyurik, 2015-12-01
@Olej

1. LXC, Docker, ... zones in Solaris terminology
2. you can try alias IP for the interface ... but the task is not specifically described
3. you can even create a virtual interface over a real one...
Virtual network interface
One more virtual interface

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question