2017-11-02 14:19:07 +02:00
|
|
|
frp
|
|
|
|
===
|
|
|
|
|
|
|
|
[frp][1] is a fast reverse proxy to help you expose a local server behind a NAT
|
|
|
|
or firewall to the internet. Now, it supports tcp, udp, http and https protocol
|
|
|
|
when requests can be forwarded by domains to backward web services.
|
|
|
|
|
2017-11-09 11:49:37 +02:00
|
|
|
```yaml
|
|
|
|
frps:
|
|
|
|
image: vimagick/frp
|
|
|
|
ports:
|
|
|
|
- "7000:7000/tcp"
|
|
|
|
- "7000:7000/udp"
|
|
|
|
- "7500:7500/tcp"
|
|
|
|
- "127.0.0.1:20000-20099:20000-20099/tcp"
|
|
|
|
volumes:
|
|
|
|
- ./data/frps.ini:/opt/frp/frps.ini
|
|
|
|
restart: always
|
|
|
|
```
|
2017-11-02 14:19:07 +02:00
|
|
|
|
2018-02-10 06:24:56 +02:00
|
|
|
Sample config file: [frps.ini][2]
|
|
|
|
|
2017-11-02 14:19:07 +02:00
|
|
|
[1]: https://github.com/fatedier/frp
|
2018-02-10 06:24:56 +02:00
|
|
|
[2]: https://github.com/fatedier/frp/blob/master/conf/frps_full.ini
|