Sign inSign up

hntjb/frpc

By hntjb

•Updated about 4 years ago

Image
0

102

hntjb/frpc repository overview

宿主机新建目录:
mkdir /etc/frp
然后把frpc.ini上传到此目录下
【frpc.ini】内容如下:
[common]
server_addr = 安装frps服务的公网IP
server_port = 7070
token = 8T5gr!2YlU

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 22
use_encryption = true
use_gzip = true

[web]
type = tcp
local_ip = 192.168.0.100
local_port = 80
remote_port = 8080
use_encryption = true
use_gzip = true

拉取镜像:
docker pull hntjb/frpc:镜像版本号

启动镜像:
docker run -d \
-v /etc/frp/frpc.ini:/etc/frp/frpc.ini \
--privileged=true \
--restart=unless-stopped \
--network=host \
--name=frpc \
hntjb/frpc:镜像版本号

Tag summary

Content type

Image

Digest

sha256:5ffbac028…

Size

16.2 MB

Last updated

about 4 years ago

docker pull hntjb/frpc:0.44.0