Damn variable causing the problems with multiport rules. Fixed now. Alot of pulling my hair out for something so stupidly simple.
parent
95e906e40e
commit
eae589f582
|
@ -3,6 +3,7 @@
|
||||||
IPv4_MARK file option
|
IPv4_MARK file option
|
||||||
- MULTI-NIC-ARP-LOCK hack added, to fix what I consider to be an annoying 'feature' of
|
- MULTI-NIC-ARP-LOCK hack added, to fix what I consider to be an annoying 'feature' of
|
||||||
arp requests on Linux
|
arp requests on Linux
|
||||||
|
- Allow use of multiport iptables module to reduce amount of rules
|
||||||
|
|
||||||
0.9.6 - Brielle Bruns <bruns@2mbit.com>
|
0.9.6 - Brielle Bruns <bruns@2mbit.com>
|
||||||
- Minor changes to procedures in planning of 1.0
|
- Minor changes to procedures in planning of 1.0
|
||||||
|
|
|
@ -290,7 +290,7 @@ if [ "$TCPPORTS" ] || [ "$UDPPORTS" ]; then
|
||||||
echo -en "${BLUE}UDP${DEFAULT_COLOR}/${GREEN}$i "
|
echo -en "${BLUE}UDP${DEFAULT_COLOR}/${GREEN}$i "
|
||||||
#$IPTABLES -A INPUT -p udp --dport $i -j ACCEPT
|
#$IPTABLES -A INPUT -p udp --dport $i -j ACCEPT
|
||||||
$IPTABLES -A OUTPUT -p udp --sport 1:65535 --dport $i -j ACCEPT
|
$IPTABLES -A OUTPUT -p udp --sport 1:65535 --dport $i -j ACCEPT
|
||||||
$IPTABLES -A INPUT -p udp --dport $i --sport 1:65535 -j ACCEPT
|
$IPTABLES -A INPUT -p udp --dport $i --sport 1:65535 -j ACCEPT
|
||||||
$IPTABLES -A INPUT -p udp --sport $i --dport 1:65535 -j ACCEPT
|
$IPTABLES -A INPUT -p udp --sport $i --dport 1:65535 -j ACCEPT
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue