Answer the question
In order to leave comments, you need to log in
How to use a specific network interface in PHP?
Now I'm looking for a solution, but maybe someone will prompt faster.
I need outgoing connections made in php for a specific web application or launched through the console to be made through a separate network interface.
Answer the question
In order to leave comments, you need to log in
This is not addressed at the application level.
Either setting up routing, or output the application to a separate virtual machine, which you can attach to the desired interface.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question