Skip to content

Commit

Permalink
fix iptables_mangle
Browse files Browse the repository at this point in the history
  • Loading branch information
houzi- committed Jul 25, 2016
1 parent 25d4e28 commit 960e952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armv7_shadowsocks/ss-rules
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ tp_rule() {
[ -n "$TPROXY" ] || return 0
ip rule add fwmark 0x01/0x01 table 100
ip route add local 0.0.0.0/0 dev lo table 100
local ipt="/opt/sbin/iptables -t mangle"
local ipt="/usr/iptables/iptables -t mangle"
$ipt -N SS_SPEC_TPROXY
$ipt -A SS_SPEC_TPROXY -p udp -m set ! --match-set ss_spec_wan_ac dst \
-j TPROXY --on-port "$LOCAL_PORT" --tproxy-mark 0x01/0x01
Expand Down

0 comments on commit 960e952

Please sign in to comment.