Outline Bridge Server is a Docker Compose repository to run v2ray as bridge (relay) server for Outline proxy
This repository contains Docker Compose files designed to deploy V2Ray as a bridge (relay) server for the Outline proxy. The primary goal is to enhance the functionality of the Outline in highly restricted networks where direct connections to the Outline server is not possible.
Outline is a set of proxy tools developed by Google based on the shadowsocks protocol. It includes Outline Manager, a desktop application for setting up servers, managing users, and tracking traffic, and Outline Manager, a user-friendly app compatible with various mobile and desktop platforms.
It originally works as below.
[Outline Client] <-> [Outline Server] <-> (Internet)
Read the Outline official documentation to set up an Outline server.
V2Ray is a proxy tool that supports multiple protocols, including the dokodemo-door
protocol.
This specific protocol forwards incoming traffic (TCP and UDP) from a specified port to a designated destination port.
A bridge (relay) server connects clients to Outline servers by forwarding their traffic.
It changes the Outline flow as below.
[Outline Client] <-> [Bridge Server] <-> [Outline Server] <-> (Internet)
To set up a bridge (relay) server using V2Ray, follow these steps:
./setup.py
. It prompts the following items:
Number of Outline servers
: Please provide the number of servers, typically just 1
Outline server i host
: Find it in $\color{green}{\textsf{Outline Manager}}$ > Settings
> Hostname
Outline server i port
: Find it in $\color{green}{\textsf{Outline Manager}}$ > Settings
> Port for new access keys
ufw
, add the port to the whitelist.docker-compose up -d
or docker compose up -d
.Settings
> Hostname
field to the bridge server IP address.