内网穿透方案
706人浏览 / 0人评论
frp
https://gofrp.org/zh-cn/docs/
常见问题
code=exited, status=203/EXEC
参考:
https://www.alibabacloud.com/help/zh/elastic-compute-service/latest/enable-or-disable-selinux
https://www.cnblogs.com/zhengyan6/p/15656013.html
一般是由于 selinux 导致的,可设置为宽容模式 SELINUX=permissive
,或者直接关掉 selinux。
sudo vi /etc/selinux/config
sudo touch /.autorelabel
sudo shutdown -r now
# 查看 selinux 信息
sestatus
启用https2http
frpc.ini
[common]
server_addr = x.x.x.x
server_port = 7000
[test_htts2http]
type = https
custom_domains = test.yourdomain.com
plugin = https2http
plugin_local_addr = 127.0.0.1:80
# HTTPS 证书相关的配置
plugin_crt_path = ./server.crt
plugin_key_path = ./server.key
注意:不要配置 plugin_host_header_rewrite = 127.0.0.1
和 plugin_header_X-From-Where = frp
!
nps
全部评论