Sign inSign up

minirplus/frp

By minirplus

Updated 11 months ago

frpc and frps in one image.

Image
0

1.9K

minirplus/frp repository overview

minirplus/frp

minirplus/frp is based on fatedier/frp. Use official github release to build the image. Combine frpc and frps in one image.

Quick Run

Create a frps.ini file, like /root/frp/frps.ini

[common]
bind_addr = 0.0.0.0
bind_port = 9000
bind_udp_port = 9001
kcp_bind_port = 9000
proxy_bind_addr = 0.0.0.0
vhost_http_port = 9000
vhost_https_port = 9000
vhost_http_timeout = 60
dashboard_addr = 0.0.0.0
dashboard_port = 9002
dashboard_user = user-change-me
dashboard_pwd = password-change-me

Use the following code to run frps.

Run frps
docker run -it --rm --network host -v /root/frp:/etc/frp minirplus/frp frps -c /etc/frp/frps.ini

change /root/frp/frps.ini to your frps.ini location use your own

Create a new ssh tab, and Add a firewall rule

ufw allow 9002

Visit http://your-server-public-ip-address:9002

You will see the frps dashboard. Login into the dashboard use the username and password in the frps.ini.

Done!

Ctrl+C will stop the frps service and rm the container.

Usage ( Docker for Linux )

Run frps
docker run -d --restart always --privileged --network host -v /root/frp:/etc/frp --name frp minirplus/frp frps -c /etc/frp/frps.ini

change /root/frp/frps.ini to your frps.ini location

Run frpc
docker run -d --restart always --privileged --network host -v /root/frp:/etc/frp --name frp minirplus/frp frpc -c /etc/frp/frpc.ini

change /root/frp/frpc.ini to your frpc.ini location

ARM architecture also use the image tag to minirplus/frp

Usage ( Docker for Windows )

Run frps
docker run -d --restart always --privileged --network host -v D:\docker\frp:/etc/frp --name frp minirplus/frp frps -c /etc/frp/frps.ini

change D:\docker\frp\frps.ini to your frps.ini location

Run frpc
docker run -d --restart always --privileged --network host -v D:\docker\frp:/etc/frp --name frp minirplus/frp frpc -c /etc/frp/frpc.ini

change D:\docker\frp\frpc.ini to your frps.ini location

Contributing

no contributing needed.

License

MIT

Tag summary

Content type

Image

Digest

Size

41.3 MB

Last updated

about 4 years ago

docker pull minirplus/frp