wget https://github.com/fatedier/frp/releases/download/v0.59.0/frp_0.59.0_linux_amd64.tar.gz tar xvzf frp_0.59.0_linux_amd64.tar.gz cp frp_0.59.0_linux_amd64/frps /usr/bin/frps mkdir /etc/frp echo '[Unit] Description=Frp Server Service After=network.target [Service] Type=simple DynamicUser=yes Restart=on-failure RestartSec=5s ExecStart=/usr/bin/frps -c /etc/frp/frps.toml LimitNOFILE=1048576 [Install] WantedBy=multi-user.target' > /etc/systemd/system/frps.service echo 'bindPort = 7000 bindAddr = "0.0.0.0" auth.method = "token" auth.token = "shinnku123456"' > /etc/frp/frps.toml systemctl start frps systemctl status frps