minirplus/frp is based on fatedier/frp. Use official github release to build the image. Combine frpc and frps in one image.
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.
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.
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
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
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
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
no contributing needed.
Content type
Image
Digest
Size
41.3 MB
Last updated
about 4 years ago
docker pull minirplus/frp