Closed orestonce closed 2 years ago
无法复现
你build一下这个docker就复现了
FROM ubuntu:20.04
RUN apt-get update && apt-get install curl -y
WORKDIR /workdir
RUN curl https://github.com/fatedier/frp/releases/download/v0.44.0/frp_0.44.0_linux_amd64.tar.gz -L > 1.tar.gz && tar xfz 1.tar.gz && rm -rf 1.tar.gz
WORKDIR /workdir/frp_0.44.0_linux_amd64
RUN rm -f *.ini
RUN echo "[common]" >> frpc.ini
RUN echo "server_addr = 127.0.0.1" >> frpc.ini
RUN echo "server_port = 7000" >> frpc.ini
RUN echo "token = 1234567890" >> frpc.ini
RUN echo "[ssh]" >> frpc.ini
RUN echo "type = tcp" >> frpc.ini
RUN echo "local_ip = 127.0.0.1" >> frpc.ini
RUN echo "local_port = 22" >> frpc.ini
RUN echo "remote_port = 6000" >> frpc.ini
RUN echo "[common]" >> frps.ini
RUN echo "bind_port = 7000" >> frps.ini
RUN echo "token = 1234567890" >> frps.ini
RUN bash -c './frps & sleep 1 && ./frpc'
-_- 搞错了,frps -c frps.ini这样才能加载配置文件
Bug Description
不配置token是就可以连接, 配置token就立刻错误
frpc Version
0.44.0
frps Version
0.44.0
System Architecture
linux/amd64
Configurations
客户端:
服务端
Logs
客户端
服务端
Steps to reproduce
No response
Affected area