2011-09-08 12:54 keltezéssel, Marco Coda írta:
IPTABLES=/sbin/iptables
nic=eth0
port=25
upload=10kbit
bandwith=2Mbit
$IPTABLES -t mangle -A OUTPUT -p tcp -o $nic --sport $port -j MARK --set-mark 1
AAAAAAAAAAArrrrrghhhh!!!! :D
If you SEND a mail FROM your server to an ANOTHER server then the
DESTINATION port will be 25 !!!! :D
$IPTABLES -t mangle -A OUTPUT -p tcp -o $nic --dport $port -j MARK
--set-mark 1
Try again!!! :D
Swifty
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html