Damn variable causing the problems with multiport rules. Fixed now. Alot of pulling my hair out for something so stupidly simple.

master
bbruns 2010-09-26 22:23:51 +00:00
parent 95e906e40e
commit eae589f582
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
IPv4_MARK file option
- MULTI-NIC-ARP-LOCK hack added, to fix what I consider to be an annoying 'feature' of
arp requests on Linux
- Allow use of multiport iptables module to reduce amount of rules
0.9.6 - Brielle Bruns <bruns@2mbit.com>
- Minor changes to procedures in planning of 1.0

View File

@ -290,7 +290,7 @@ if [ "$TCPPORTS" ] || [ "$UDPPORTS" ]; then
echo -en "${BLUE}UDP${DEFAULT_COLOR}/${GREEN}$i "
#$IPTABLES -A INPUT -p udp --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
done
fi