Athlon1600 / php-proxy-app

Web Proxy Application built on php-proxy library ready to be installed on your server
https://www.php-proxy.com/
MIT License
832 stars 523 forks source link

possible to proxying "socket_connect" #143

Closed ozsuakin closed 4 years ago

ozsuakin commented 5 years ago

Hello,

My problem is; i can not take extra ips from my internet service provider. So that i bought a dedicated with additional ip to connect to game server. with my current code i am binding the ip to connect. such as;

$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); socket_set_option($socket, SOL_SOCKET, SO_KEEPALIVE, 1); **socket_bind**($socket, **$GLOBALS['ip_address']**, 0); $result = socket_connect($socket, $address, $service_port);

Is it possible to bind proxy ip for proxying my connection?