This repository contains Docker Compose files to run the V2Ray proxy as a bridge server for the Outline proxy. It helps the Outline proxy to work in highly restricted networks without direct/safe/stable access to Outline servers.
Outline is a Shadowsocks-based proxy created by Google. It lets you create and manage Shadowsocks servers easily. Outline clients are also well-designed applications available for all platforms.
It usually works as below.
[Outline client] <-> [Outline server] <-> (Internet)
Read the Outline official documentation to set up an Outline server.
The bridge server will be inserted between clients and a server to connect the clients to the server in networks where this direct connection is not possible/safe/stable. It runs a V2Ray proxy to pass the incoming Shadowsocks traffic (TCP and UDP) from clients to the Outline server.
The bridge server changes the flow as below.
[Outline client] <-> [V2Ray server] <-> [Outline server] <-> (Internet)
Follow these steps to set up the V2Ray and Outline:
- Install Docker and Docker-compose on the bridge server.
- Clone this repository into the bridge server.
- Run
./setup.py
script. It gets the following inputs:Outline Server Hostname
: Find it in Outline Manager > {Server} > Settings > HostnameOutline Server Port
: Find it in Outline Manager > {Server} > Settings > Port- Allow the port for incoming/outcoming traffic if you have a firewall.
- Run
docker-compose up -d
. - Change Outline Manager > {Server} > Settings > Hostname field to the bridge server IP address.
- Delete old access keys in the Outline Manager and generate new ones.
- Download Outline client applications and add the new access keys there.
- Enjoy the freedom!
By default, this repository uses the GitHub registry. You can modify the Docker-compose file to use Docker Hub.
- GitHub:
- Image:
ghcr.io/getimages/v2fly-core:v4.45.2
- URL: https://github.com/orgs/getimages/packages/container/package/v2fly-core
- Digest:
sha256:289fc9451f21a265f95615e29f05ea23bc32026db152863eee317738813521d7
- Image:
- Docker Hub:
- Image:
v2fly/v2fly-core:v4.45.2
- URL: https://hub.docker.com/r/v2fly/v2fly-core/tags
- Digest:
sha256:289fc9451f21a265f95615e29f05ea23bc32026db152863eee317738813521d7
- Image: