Sign inSign up

gwf0788/frps

By gwf0788

Updated over 1 year ago

By snowdreamtech • Updated about 14 hours ago Docker Images for Frp.

Image
0

310

gwf0788/frps repository overview

frp

  • dockeri.codockeri.co

Docker Images for Frp Based on Alpine and Debian.

  • (amd64, arm32v5, arm32v6, arm32v7, arm64v8, i386, mips64le, ppc64le,riscv64, s390x)
Documentation⁠

中文文档​

Usage
  • Basic
docker run --restart=always --network host -d -v /etc/frp/frps.toml:/etc/frp/frps.toml --name frps snowdreamtech/frps
docker run --restart=always --network host -d -v /etc/frp/frpc.toml:/etc/frp/frpc.toml --name frpc snowdreamtech/frpc

Alpine

···yaml docker run --restart=always --network host -d -v /etc/frp/frps.toml:/etc/frp/frps.toml --name frps snowdreamtech/frps:alpine

```yaml
docker run --restart=always --network host -d -v /etc/frp/frpc.toml:/etc/frp/frpc.toml --name frpc snowdreamtech/frpc:alpine

Debian

docker run --restart=always --network host -d -v /etc/frp/frps.toml:/etc/frp/frps.toml --name frps snowdreamtech/frps:debian
docker run --restart=always --network host -d -v /etc/frp/frpc.toml:/etc/frp/frpc.toml --name frpc snowdreamtech/frpc:debian
docker run --restart=always --network host -d -v /etc/frp/frps.toml:/etc/frp/frps.toml --name frps snowdreamtech/frps:bookworm
docker run --restart=always --network host -d -v /etc/frp/frpc.toml:/etc/frp/frpc.toml --name frpc snowdreamtech/frpc:bookworm

Quick reference

Where to join discussions:

Maintained by:

Supported architectures: (more info⁠)

Alpine

  • (linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x)

Debian

  • (linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x)

Supported Tags:

Alpine:
- latest
- 0.62-alpine3.21
- 0.62.1-alpine3.21
- 0.62-alpine
- 0.62.1-alpine
- alpine3.21
- alpine
- 0.62
- 0.62.1

Debian:

- bookworm
- debian
- 0.62-bookworm
- 0.62.1-bookworm
- 0.62-debian
- 0.62.1-debian

Ads

Contact (备注:frp)

Email: [email protected]⁠
QQ: 3217680847
QQ群: 949022145
WeChat/微信群: sn0wdr1am
Website
fatedier/frp⁠
snowdreamtech/frp⁠
frpc images on Github⁠
frps images on Github⁠
frpc images on Docker Hub
frps images on Docker Hub
License
MIT

Star History

服务器端frps.toml下内容

# frps.toml

bindPort = 7000
vhostHTTPPort = 80

# The default value is 127.0.0.1. Change it to 0.0.0.0 when you want to access it from a public network.
webServer.addr = "0.0.0.0"
webServer.port = 7500
# dashboard's username and password are both optional
webServer.user = "admin"
webServer.password = "admin"

# auth.method = "token"
# auth.token = "12345678"

enablePrometheus = true

bindPort = 7000是客户端连接端口

webServer.port = 7500 是web访问端口

客户端连接frpc.toml内容

serverAddr = "704.48.107.200"     #FRP服务端地址
serverPort = 7000                            #服务端端口

# auth.method = "token"

# auth.token = "123456"

[[proxies]]
name = "19820-tcp"
type = "tcp"
localIP = "192.168.100.154"    #需要映射的本机IP
localPort = 19820        #本机需要映射的端口
remotePort = 19820       #FRP服务器映射端端口

[[proxies]]
name = "8088-tcp"
type = "tcp"
localIP = "192.168.100.154"    #需要映射的本机IP
localPort = 8088        #本机需要映射的端口
remotePort = 8088       #FRP服务器映射端端口

[[proxies]]
name = "8080-tcp"
type = "tcp"
localIP = "192.168.100.154"    #需要映射的本机IP
localPort = 8080        #本机需要映射的端口
remotePort = 8080       #FRP服务器映射端端口

客户端连接运行命令, cmd到cd到frpc目录下

frpc.exe -c ./frpc.toml

Tag summary

Content type

Image

Digest

sha256:6125ae23d

Size

12.2 MB

Last updated

over 1 year ago

docker pull gwf0788/frps:0.59