找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: 171***

[已失效] Linksys E3000刷TomatoUSB ss-libev 兲朝上网入门教程(chnroutes)

[复制链接]
171621 发表于 2015-7-26 14:48
"2 reference"貌似应该是你重复加载了两次iptables的规则。你再检查一下你配置的安装组件是不是哪里多运 ...

防火墙的ipterble.sh 是这样的
  1. iptables -t nat -N SHADOWSOCKS
  2. iptables -t nat -A SHADOWSOCKS -d 0.0.0.0/8 -j RETURN
  3. iptables -t nat -A SHADOWSOCKS -d 10.0.0.0/8 -j RETURN
  4. iptables -t nat -A SHADOWSOCKS -d 127.0.0.0/8 -j RETURN
  5. iptables -t nat -A SHADOWSOCKS -d 169.254.0.0/16 -j RETURN
  6. iptables -t nat -A SHADOWSOCKS -d 172.16.0.0/12 -j RETURN
  7. iptables -t nat -A SHADOWSOCKS -d 192.168.0.0/16 -j RETURN
  8. iptables -t nat -A SHADOWSOCKS -d 224.0.0.0/4 -j RETURN
  9. iptables -t nat -A SHADOWSOCKS -d 240.0.0.0/4 -j RETURN
  10. iptables -t nat -A SHADOWSOCKS -d 192.168.100.100 -j RETURN
  11. iptables -t nat -A SHADOWSOCKS -p tcp -m set --set gfwlist dst -j RETURN
  12. iptables -t nat -A SHADOWSOCKS -p tcp -j REDIRECT --to-ports 1080
  13. iptables -t nat -I PREROUTING -p tcp -m multiport --dports 22,80,443 -j SHADOWSOCKS
  14. iptables -t nat -I OUTPUT -p tcp -j SHADOWSOCKS
复制代码

点评

嗯 那个192.168.100.100那里应该是改成你的ss的服务器地址 另外你再看看其它的地方还有没有命令行里面运行了iptables的了  详情 回复 发表于 2015-7-30 22:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

unknown login: root
Password:


Tomato v1.28.0000 MIPSR2-130 K26 USB Mega-virtual**
========================================================
Welcome to the Linksys E4200 v1 [TomatoUSB]
Uptime:  00:34:32 up 23:34
Load average: 0.00, 0.00, 0.00
Mem usage: 21.3% (used 12.73 of 59.80 MB)
WAN : 10.233.191.169/32 @ 58:6D:8F:75:00:B1
LAN : 192.168.0.1/24 @ DHCP: 192.168.0.2 - 192.168.0.51
WL0 : Tomato24 @ channel: 6 @ 58:6D:8F:75:00:B2
WL1 : Tomato50 @ channel: auto @ 58:6D:8F:75:00:B3
========================================================

root@unknown:/tmp/home/root# lsmod
Module                  Size  Used by    Tainted: P
ip_set_iphash           5872  0
ip_set_nethash          7984  1
ip_set                 14496  4 ip_set_iphash,ip_set_nethash
ipt_REDIRECT             704  0
xt_DSCP                  992  1
ip6table_mangle          992  0
ip6table_filter          704  0
xt_recent               6800  2
xt_IMQ                   736  0
imq                     2320  0
usblp                  11344  0
ehci_hcd               37088  0
vfat                    9216  0
fat                    45936  1 vfat
ext2                   55648  0
ext3                  113568  1
jbd                    48352  1 ext3
mbcache                 4528  2 ext2,ext3
usb_storage            32064  1
sd_mod                 21408  2
scsi_wait_scan           384  0
scsi_mod               75488  3 usb_storage,sd_mod,scsi_wait_scan
nf_nat_pptp             1440  0
nf_conntrack_pptp       3808  1 nf_nat_pptp
nf_nat_proto_gre        1072  1 nf_nat_pptp
nf_conntrack_proto_gre     2464  1 nf_conntrack_pptp
nf_nat_ftp              1568  0
nf_conntrack_ftp        5792  1 nf_nat_ftp
nf_nat_sip              5920  0
nf_conntrack_sip       19008  1 nf_nat_sip
nf_nat_h323             5504  0
nf_conntrack_h323      37152  1 nf_nat_h323
wl                   2652688  0
dnsmq                   2032  1 wl
et                     37344  0
igs                    13584  1 wl
emf                    17568  2 wl,igs
root@unknown:/tmp/home/root#
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


root@unknown:/tmp/home/root# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
WANPREROUTING  all  --  anywhere             wan-ip
DROP       all  --  anywhere             192.168.0.0/24

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  anywhere             anywhere
MASQUERADE  all  --  anywhere             unknown
SNAT       all  --  192.168.0.0/24       192.168.0.0/24      to:192.168.0.1

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain WANPREROUTING (1 references)
target     prot opt source               destination
DNAT       icmp --  anywhere             anywhere            to:192.168.0.1
root@unknown:/tmp/home/root#
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

不知道 是 哪里配置 错误?谢谢 楼主的回复。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报


Mem: 28092K used, 33148K free, 0K shrd, 3620K buff, 11796K cached
CPU:   0% usr   0% sys   0% nic  99% idle   0% io   0% irq   0% sirq
Load average: 0.00 0.00 0.00 2/37 2195
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
2195  2076 root     R     1576   3%   0% top
  878     1 root     S     3060   5%   0% ss-redir -c /opt/etc/shadowsocks.json
  864     1 root     S     2920   5%   0% httpd
  558     1 root     S     1596   3%   0% crond -l 9
2076   545 root     S     1580   3%   0% -sh
  337   336 root     S     1576   3%   0% /bin/sh
  545     1 root     S     1572   3%   0% telnetd -p 23
  342     1 root     S     1568   3%   0% klogd
  340     1 root     S     1568   3%   0% syslogd -L -s 50 -b 1
  537     1 root     S     1520   2%   0% pppd file /tmp/ppp/wanoptions
    1     0 root     S     1340   2%   0% /sbin/init noinitrd
  538     1 root     S     1328   2%   0% redial
  335     1 root     S     1324   2%   0% buttons
  564     1 root     S     1324   2%   0% sched start
  895     1 root     S     1296   2%   0% chinadns -b 127.0.0.1 -p 5353 -c /opt/
  336     1 root     S     1264   2%   0% console
  547     1 root     S     1072   2%   0% dropbear -p 22 -a
  583     1 nobody   S     1064   2%   0% dnsmasq -c 1500 --log-async
  565     1 root     S      940   2%   0% cstats
  560     1 root     S      940   2%   0% rstats
  644     1 root     S      880   1%   0% ntpsync --init

点评

看样子好像都运行了 应该没问题吧~~~~  详情 回复 发表于 2015-7-30 22:27
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
青驴何方 发表于 2015-7-26 18:16
防火墙的ipterble.sh 是这样的

嗯 那个192.168.100.100那里应该是改成你的ss的服务器地址 另外你再看看其它的地方还有没有命令行里面运行了iptables的了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
xysright 发表于 2015-7-26 20:07
Mem: 28092K used, 33148K free, 0K shrd, 3620K buff, 11796K cached
CPU:   0% usr   0% sys   0% nic ...

看样子好像都运行了 应该没问题吧~~~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

太及时了,买了一年的SS 终于可以用上了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

太及时了,买了一年的SS 终于可以用上了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
非常好的教程感谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-29 06:27

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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