Commit 71cee279 authored by dmknght's avatar dmknght
Browse files

syntax error on new iptables version

parent dafa0707
Pipeline #1477 canceled with stages
......@@ -152,7 +152,8 @@ function start {
# Allow loopback output
/usr/sbin/iptables -A OUTPUT -d 127.0.0.1/32 -o lo -j ACCEPT
/usr/sbin/iptables -A INPUT -d 127.0.0.1/32 -o lo -j ACCEPT
# iptables 1.8.5 can't use -o with input
# /usr/sbin/iptables -A INPUT -d 127.0.0.1/32 -o lo -j ACCEPT
# Tor transproxy magic
/usr/sbin/iptables -A OUTPUT -d 127.0.0.1/32 -p tcp -m tcp --dport $TOR_PORT --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT
......
......@@ -69,6 +69,7 @@ proc updateDetail*(args: DetailObjs, myStatus: Status) =
szErr += 1
if szErr == 0:
# ACtivated green
args.lblPorts.setMarkup("Ports: <b><span background=\"#333333\" foreground=\"#00FF00\">Activated</span></b>")
elif szErr == 3:
# Give error msg with red color
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment