net4people / bbs

Forum for discussing Internet censorship circumvention
3.21k stars 75 forks source link

Using simple shared web hosting as a VPN proxy bridge #203

Open Smm70 opened 1 year ago

Smm70 commented 1 year ago

Using a shared web host ( I know that supports WordPress) as a reverse proxy to official vpn proxy server , can it's be possible? how? (Because a shared host can be lowest cost way to using for vpn bridge choice.) (Or any similar ways you know please write ✍️ here So thanks 🙏 )

wkrp commented 1 year ago

It is possible to use meek, without the domain fronting part, and with a simple PHP or WSGI reflector that forwards requests and responses to/from a meek bridge.

The torrc bridge line will look something like:

Bridge meek 192.0.2.1:80 url=https://my.hosting.example/

(Notice no front= parameter.) You could also put the index.php file in a special subdirectory, e.g. url=https://my.hosting.example/meek/index.php.

You are welcome to use the https://meek.bamsoftware.com/ bridge address that is in the example PHP/WSGI files.

us254 commented 1 year ago

To use Meek, you need to set up a special type of connection called a "bridge". A bridge is a server that acts as a middleman between your device and the internet. This helps to keep your online activity private.

The bridge can be set up using a simple PHP or WSGI reflector. This is a type of software that forwards your requests and responses between your device and the Meek bridge. The reflector can be hosted on your own server or with a hosting provider.

To set up the bridge, you need to specify the address of the reflector in the "torrc" file. This is a configuration file used by the Tor network, which Meek is a part of. The line in the "torrc" file should look something like this:

"Bridge meek [IP address]:[port] url=[reflector address]"

For example, you could use the following line to set up a bridge using the example reflector provided by the Meek project:

"Bridge meek 192.0.2.1:80 url=https://meek.bamsoftware.com/"

A PHP or WSGI reflector is a simple piece of software that acts as a bridge between your device and the Meek bridge. It forwards requests and responses between your device and the Meek bridge, helping to keep your online activity private.

Think of it like a postman who delivers letters between two people. The PHP or WSGI reflector acts like the postman, delivering requests from your device to the Meek bridge, and delivering responses from the Meek bridge back to your device.

The reflector can be hosted on your own server or with a hosting provider, and you need to specify the address of the reflector in the "torrc" file when setting up the Meek bridge. This is done so that Meek knows where to find the reflector and how to use it to establish a secure connection. The PHP or WSGI reflector acts like the phone operator, connecting the requests from your device to the Meek bridge, and connecting the responses from the Meek bridge back to your device.

The reflector helps to keep your online activity private by adding an extra layer of security and privacy. By forwarding requests through the Meek bridge and the reflector, your online activity is more difficult to track or monitor.

H1-N1 commented 11 months ago

It is possible to use meek, without the domain fronting part, and with a simple PHP or WSGI reflector that forwards requests and responses to/from a meek bridge.

The torrc bridge line will look something like:

Bridge meek 192.0.2.1:80 url=https://my.hosting.example/

(Notice no front= parameter.) You could also put the index.php file in a special subdirectory, e.g. url=https://my.hosting.example/meek/index.php.

You are welcome to use the https://meek.bamsoftware.com/ bridge address that is in the example PHP/WSGI files.

im interested too on this topic 😁 can we use meek wsgi to establish a tunnel to v2ray or self hosted vpn?

wkrp commented 11 months ago

can we use meek wsgi to establish a tunnel to v2ray or self hosted vpn?

I haven't tried it myself, but it may be easy to do now with V2Ray 5.7.0, since it added a built-in meek mode: en zh.