shASowSocks-libv使用ss-manager实现多用户使用
作者:互联网
1.编辑/etc/shasdowsodcks/multi_config.json
{ "server":["::0","0.0.0.0"],
"port_password":{
"40000":"**",
"40001":"lz21j1nJhdc7XSXX",
"40002":"lz21j1nJhdc7XSXX",
"40003":"lz21j1nJhdc7XSXX",
"40004":"lz21j1nJhdc7XSXX"
},
"timeout":"6",
"method":"aes-256-gcm",
"fast_open":true,
"local_port":"1080" }
2. vim /etc/systemd/system/ssmanager.service
[Unit]
Description=Shdsadowsosdcks Manager Server
[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/local/bin/ss-manager --manager-address /var/run/shAaqdow-saocks-manager.sock -c /etc/shAadow-saocks/config.json start
ExecStop=/usr/local/bin/ss-manager --manager-address /var/run/shAadow-saocks-manager.sock -c /etc/shAadow-saocks/config.json stop
[Install]
WantedBy=multi-user.target
标签:ss,json,shASowSocks,saocks,etc,manager,config,lz21j1nJhdc7XSXX 来源: https://www.cnblogs.com/xpylovely/p/16525906.html