Skip to content

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

License

Notifications You must be signed in to change notification settings

bingozb/docker-frps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

docker-frps

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet. This is the image for frps.

Build

You can pull the image from hub.docker.com.

$ docker pull bingozb/frps

Or, you can build with source repository by yourself.

$ git clone https://github.com/bingozb/docker-frps.git
$ cd docker-frps
$ docker build -t bingozb/frps .

Usage

You can run a frps container with default config.

$ sudo docker run --restart always -d \
--name frps \
-p 10080:10080 -p 7000:7000 -p 7500:7500 \
bingozb/frps
[common]
bind_addr = 0.0.0.0
bind_port = 7000
vhost_http_port = 10080
dashboard_port = 7500
dashboard_user = deploy
dashboard_pwd = 01234567a
auth_token = 01234567a
privilege_mode = true
privilege_token = 01234567a

Privilege mode is the default. All proxy configurations are set in client. See here for more information about privilege_mode: https://github.com/bingozb/frp#privilege-mode

If you want to modify configuration, you can volume your own frps.ini via tag -v.

$ docker run --restart always -d \
--name frps \
-p 10080:10080 -p 7000:7000 -p 7500:7500 \
-v /path/to/frps.ini:/frps.ini \
bingozb/frps

Finally, check the iptables config and make sure that the firewall is not blocking the required ports. You can access http://127.0.0.1:7500 to check frp's status and proxies's statistics information by dashboard.

About

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published