Skip to content

Commit d97a42f

Browse files
authored
do not expose the unnecessary ports(23k-24.1k) (#81)
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
1 parent fe70eca commit d97a42f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

start.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ if [ ! -f "/frps.toml" ]; then
244244
cat <<EOF >/frps.toml
245245
bindAddr = "${FRP_HOST}"
246246
bindPort = ${FRP_PORT}
247+
proxyBindAddr = "127.0.0.1"
247248
248249
transport.tls.force = true
249250
transport.tls.certFile = "/certs/frp/server.crt"
@@ -269,6 +270,7 @@ EOF
269270
cat <<EOF >/frps.toml
270271
bindAddr = "${FRP_HOST}"
271272
bindPort = ${FRP_PORT}
273+
proxyBindAddr = "127.0.0.1"
272274
273275
transport.tls.force = false
274276

0 commit comments

Comments
 (0)