|
Size: 686
Comment:
|
Size: 1160
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| == Server side == | = Server side = |
| Line 27: | Line 27: |
| == Client side == | = Client side = == raspberry MOINMOIN == |
| Line 29: | Line 30: |
| brightmoon ~/frp_0.34.0_linux_amd64 # cat frpc.ini # frpc.ini |
# frpc-moinmoin.ini [moinmoin] type = http local_port = 807 custom_domains = www.brightmoon.top |
| Line 32: | Line 39: |
| server_addr = brightmoon.top server_port = 803 |
server_addr = www.brightmoon.top server_port = 304 |
| Line 35: | Line 42: |
| [web] | }}} {{{ root@raspberrypi:~# cat /usr/local/frpc/frpc-ssh.ini # frpc-ssh.ini [common] server_addr = www.brightmoon.top server_port = 302 #tls_enable = true [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 602 }}} == WIKI.JS == {{{ root@wiki:~# grep -v ^# /usr/local/frpc/frpc-wiki.ini [wiki.js] |
| Line 37: | Line 64: |
| local_port = 806 custom_domains = www.brightmoon.top }} |
local_port = 3000 custom_domains = wiki.brightmoon.top [common] server_addr = www.brightmoon.top server_port = 300 }}} |
Describe désert/Linux/frp_proxy here.
Server side
root@ip-172-26-3-168:/etc/frps# for i in $(ls *.ini); do cat $i; done # frps-hpe-ssh.ini [common] bind_port = 301 # frps-moinmoin.ini [common] bind_port = 304 vhost_http_port = 604 # frps-moinmoin.ini [common] bind_port = 603 vhost_http_port = 80 # frps-raspberry-ssh.ini [common] bind_port = 302 # frps-wiki-js.ini [common] bind_port = 300 vhost_http_port = 3000
Client side
raspberry MOINMOIN
# frpc-moinmoin.ini [moinmoin] type = http local_port = 807 custom_domains = www.brightmoon.top [common] server_addr = www.brightmoon.top server_port = 304
root@raspberrypi:~# cat /usr/local/frpc/frpc-ssh.ini # frpc-ssh.ini [common] server_addr = www.brightmoon.top server_port = 302 #tls_enable = true [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 602
WIKI.JS
root@wiki:~# grep -v ^# /usr/local/frpc/frpc-wiki.ini [wiki.js] type = http local_port = 3000 custom_domains = wiki.brightmoon.top [common] server_addr = www.brightmoon.top server_port = 300
