Comments (11)
#systemctl start tls-shunt-proxy
#journalctl -u tls-shunt-proxy.service
日志发一下
from deployx.sh.
from deployx.sh.
service 启动失败,请使用命令
sudo setcap "cap_net_bind_service=+ep" /usr/local/bin/tls-shunt-proxy
给 tls-shunt-proxy 赋予 CAP_NET_BIND_SERVICE 的 capability ,然后
sudo -u tls-shunt-proxy /usr/local/bin/tls-shunt-proxy -config /etc/tls-shunt-proxy/config.yaml 运行
参考上述步骤,试试看能否正常启动
from deployx.sh.
from deployx.sh.
第二个解决方法:
将/etc/systemd/system/tls-shunt-proxy.service文件中下面这行删掉
AmbientCapabilities=CAP_NET_BIND_SERVICE
from deployx.sh.
第二个解决方法无效,第一个给了权限之后就OK了。
from deployx.sh.
第二个解决方法无效,第一个给了权限之后就OK了。
from deployx.sh.
问题是什么原因导致的?脚本的问题,还是系统的问题?
我的vps是重新安装的centos7,只是yum update了一下。
from deployx.sh.
问题是什么原因导致的?脚本的问题,还是系统的问题?
我的vps是重新安装的centos7,只是yum update了一下。
可能跟系统模版的安全策略有关系,我这里的几台vps,centos 7 ,dedian 10,Ubuntu 18 都没碰到这个问题,但你这个问题,的确有人碰到过(可能小概率?)。
from deployx.sh.
脚本能修复一下不?
另外,openclash在软路由上面已经可以支持Trojan-go了。
按照以下格式就可以了
- name: "trojan-sg"
type: trojan
server: host
port: 443
password: password
udp: true
sni: host
from deployx.sh.
脚本能修复一下不?
setcap 权限的问题,会在下个版本一并修复
另外,openclash在软路由上面已经可以支持Trojan-go了。
按照以下格式就可以了
- name: "trojan-sg"
type: trojan
server: host
port: 443
password: password
udp: true
sni: host
没明白你的意思,openclash的话,你可以根据脚本选项9的配置信息,编写config,或者使用订阅链接转换工具,转换成clash格式。(不过,你确定clash完整支持trojan-go的新特性?比如mux、websocket,另外trojan-go服务端是兼容trojan-gfw客户端的,不能使用新特性而已)
from deployx.sh.
Related Issues (20)
- 什么时候更新XTLS呀 HOT 8
- docker 开始有限制了,能否出个能自动更新 trojan-go 的非 docker 版…… HOT 2
- docker 在 centos8 启动失败 HOT 1
- 请问 如何和宝塔 共存 HOT 2
- 请教如何安装Dnsmasq HOT 4
- nat 部署问题 HOT 5
- 反馈下:没有添加判断curl并自动下载的内容 HOT 1
- 可否支持MTProto协议?
- V2Ray TCP 模式是否需要修改为 Domain Socket HOT 1
- 关于trojan-go的配置文件 HOT 19
- Centos 8 运行脚本安装 moreutils 依赖失败
- 此脚本VMess 新版格式连不了网,只能使用VMess旧版链接 HOT 5
- 此脚本trojan-go tcp模式下被封 HOT 3
- 域名DNS解析IP与本机IP匹配,去总是错误 HOT 2
- 延迟很高
- DNS解锁问题 HOT 7
- 大佬能加一个流量统计功能吗 HOT 1
- tls-shunt-proxy 服务未成功启动 HOT 3
- 求入tg群 HOT 2
- 考虑加入naivproxy支持不?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deployx.sh.