找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1187|回复: 3

求大佬看一下 SS-Redir 配置的问题 重赏 1000 铜币

[复制链接]
我的恩山、我的无线 The best wifi forum is right here.
本帖最后由 zxc14236 于 2019-4-16 02:30 编辑

-A PREROUTING -s 10.10.10.0/32 -p tcp -j SS-TCP
10.10.10.0/32看上去怎么怪怪的(只有10.10.10.0)?去掉-s 10.10.10.0/32试试或改成10.10.10.0/24
其实我也是猜的,等待楼下大神
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来个大神看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

只做透明代理,没必要这么复杂吧。
/etc/dnsmasq.conf
  1. conf-dir=/etc/dnsmasq.d
复制代码


/etc/init.d/s-s
  1. #!/bin/sh /etc/rc.common

  2. START=97

  3. SERVICE_USE_PID=1
  4. SERVICE_WRITE_PID=1
  5. SERVICE_DAEMONIZE=1

  6. CONFIG=/etc/s-s.json

  7. start() {
  8.         #service_start /usr/bin/ss-local -c $CONFIG -b 0.0.0.0
  9.         service_start /usr/bin/ss-redir -c $CONFIG -b 0.0.0.0
  10.         service_start /usr/bin/ss-tunnel -c $CONFIG -b 0.0.0.0 -l 5353 -L 8.8.8.8:53 -u
  11. }

  12. stop() {
  13.         #service_stop /usr/bin/ss-local
  14.         service_stop /usr/bin/ss-redir
  15.         service_stop /usr/bin/ss-tunnel
  16. }
复制代码


/etc/firewall.user
  1. ipset -N virtual** iphash
  2. iptables -t nat -A PREROUTING -p tcp -m set --match-set virtual** dst -j REDIRECT --to-port 1080




复制代码


/etc/dnsmasq.d/gfw.conf
  1. ipset=/google.com/virtual**
  2. server=/google.com/127.0.0.1#5353
复制代码


我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 00:35

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表