D
D
dinaff2018-08-31 01:52:13
PHP
dinaff, 2018-08-31 01:52:13

How to pass all traffic through php script on localhost?

Hello Toaster!
In general, the idea is this:
1. There is an unlimited tariff for social networks, YouTube (other does not open)
2. It is necessary to bypass this blocking
3. The idea is to use the VK bot as an intermediary.
Two scripts, on hosting and on localhost. The trick is to pass all local traffic through a php script and send it as a message through the vk api. Most likely the solution will be similar to "how to pass all traffic through the tor browser". Or here How to sniffer data stream on localhost?
Waiting for your suggestions.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2018-08-31
@dinaff

Here you need not only a local server, but a site on a hosting. The bottom line is this: on the local page, enter the site address in the text field and immediately this address is sent via the API in messages to your bot. After receiving the message, VK calls the desired script on your site ( callback API ), and that, in turn, loads the desired page and sends its code to the local server through the same VK, well, the site on localhost already sends this code to the browser.
But! This is only in general terms. If you really engage in this perversion, you will encounter a huge number of nuances and pitfalls on your way. Therefore, it's better to just buy unlimited internet, as dollar advised you .

E
Evgeny Antipov, 2018-08-31
@elevennine

Nginx proxy_pass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question