diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rwxr-xr-x | nf-cleanup | 8 |
3 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = sshttp-git pkgdesc = SSH/HTTP(S) multiplexer pkgver = e145de8 - pkgrel = 2 + pkgrel = 3 url = https://github.com/stealth/sshttp arch = any license = BSD @@ -16,7 +16,7 @@ pkgbase = sshttp-git source = sshttpd.config source = sshttpd.service md5sums = SKIP - md5sums = 7c75787f5b74ad1922fdf6722b1c7405 + md5sums = 22d5c47059ba77d09812106800939d57 md5sums = 6d35b4409cac3ebd6e75f4736805f102 md5sums = cff8825c1428b87836218af0ed8a0066 @@ -1,6 +1,6 @@ pkgname=sshttp-git pkgver=e145de8 -pkgrel=2 +pkgrel=3 pkgdesc="SSH/HTTP(S) multiplexer" arch=('any') url="https://github.com/stealth/sshttp" @@ -16,7 +16,7 @@ source=('git://github.com/stealth/sshttp' 'sshttpd.config' 'sshttpd.service') md5sums=('SKIP' - '7c75787f5b74ad1922fdf6722b1c7405' + '22d5c47059ba77d09812106800939d57' '6d35b4409cac3ebd6e75f4736805f102' 'cff8825c1428b87836218af0ed8a0066') diff --git a/nf-cleanup b/nf-cleanup index 0762308e8d21..b37c745ac894 100755 --- a/nf-cleanup +++ b/nf-cleanup @@ -20,14 +20,14 @@ HTTP_PORT=8080 iptables -D INPUT -i $DEV -p tcp --dport $SSH_PORT -j DROP iptables -D INPUT -i $DEV -p tcp --dport $HTTP_PORT -j DROP -iptables -t mangle -D DIVERT -j MARK --set-mark 1 -iptables -t mangle -D DIVERT -j ACCEPT - -iptables -t mangle -X DIVERT || true iptables -t mangle -D OUTPUT -p tcp -o $DEV --sport $SSH_PORT -j DIVERT iptables -t mangle -D OUTPUT -p tcp -o $DEV --sport $HTTP_PORT -j DIVERT iptables -t mangle -D PREROUTING -p tcp -m socket -j DIVERT +iptables -t mangle -D DIVERT -j MARK --set-mark 1 +iptables -t mangle -D DIVERT -j ACCEPT +iptables -t mangle -X DIVERT || true + ip rule del fwmark 1 lookup 123 || true ip route del local 0.0.0.0/0 dev lo table 123 |