Answer the question
In order to leave comments, you need to log in
How to send requests from the server from a random IP?
I have a server, it has a script written in crystal, it sends requests to YouTube. If I order several IPs in my account, is it possible to somehow configure that each request to YouTube is sent from a random IP?
Sorry for the confusion, I do not quite understand how to describe it correctly)
Answer the question
In order to leave comments, you need to log in
you hang up new IPs with separate interfaces
and when opening an outgoing connection, you specify the interface used
Maybe something will help namespaces https://habr.com/en/post/123140/ (the article describes one of the options for its use)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question