Guest User

Untitled

a guest
Feb 22nd, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. {
  2. "log": {
  3. "loglevel": "none"
  4. },
  5. "inbound": {
  6. "port": 23456, // 这个用来提供 dns 查询使用,端口不能修改
  7. "listen": "127.0.0.1",
  8. "protocol": "socks",
  9. "settings": {
  10. "udp": true
  11. }
  12. },
  13. "inboundDetour":
  14. [{
  15. "port": 3333, // 这个是透明翻墙的流量部分,端口不能修改
  16. "listen": "0.0.0.0",
  17. "protocol": "dokodemo-door",
  18. "settings": {
  19. "network": "tcp,udp",
  20. "followRedirect": true
  21. }
  22. }],
  23. "outbound": { // 这里是 vps 服务器的配置,可以用你自己喜欢的协议等
  24. "protocol": "vmess",
  25. "settings": {
  26. "vnext": []
  27. },
  28. "streamSettings": {
  29. "network": "tcp"
  30. //"security": "tls",
  31. //"tlsSettings": {
  32. // "allowInsecure": true // 如果使用 TLS 配合 let's encrytp 的证书,需要加这个,因为路由器上面没有他的根证书
  33. //}
  34. }
  35. },
  36. "policy": {
  37. "levels": {
  38. "0": {"uplinkOnly": 0}
  39. }
  40. }
  41. }
Add Comment
Please, Sign In to add comment