Skip to content

Commit

Permalink
Replenishment of the iptables rules to resolve DNAT issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolabnet committed Oct 30, 2024
1 parent f211039 commit aa05e35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-ssclash
PKG_VERSION:=1.8
PKG_VERSION:=1.8.1
PKG_RELEASE:=1
PKG_MAINTAINER:=ZeroChaos <[email protected]>

Expand Down
4 changes: 2 additions & 2 deletions rootfs/opt/clash/bin/clash-rules
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ start() {
done

# Exclude interfaces in CLASH
for intf in wg+ ppp+ veth+ docker+; do
for intf in wan+ ppp+ tun+ tap+ wg+ lxc+ veth+ vnet+ docker+ dummy+; do
iptables -t mangle -A CLASH -i $intf -j RETURN
iptables -t mangle -A CLASH -o $intf -j RETURN
done
Expand All @@ -36,7 +36,7 @@ start() {
done

# Exclude interfaces in CLASH_LOCAL
for intf in wg+ ppp+ veth+ docker+; do
for intf in wan+ ppp+ tun+ tap+ wg+ lxc+ veth+ vnet+ docker+ dummy+; do
iptables -t mangle -A CLASH_LOCAL -i $intf -j RETURN
iptables -t mangle -A CLASH_LOCAL -o $intf -j RETURN
done
Expand Down

0 comments on commit aa05e35

Please sign in to comment.