mark outgoint packets on all interfaces but internal

master
Daniel Berteaud 13 years ago
parent 8e190304aa
commit 2c49679ad8
  1. 2
      root/etc/e-smith/templates/etc/rc.d/init.d/qos/30Functions75SetMark
  2. 3
      smeserver-qos.spec

@ -2,7 +2,7 @@
# Clasification based on the DSCP field set previously # Clasification based on the DSCP field set previously
$IPT -t mangle -A POSTROUTING -o $LANDEV -j RETURN $IPT -t mangle -A POSTROUTING -o $LANDEV -j RETURN
$IPT -t mangle -A POSTROUTING -o $EXTDEV -j QOS $IPT -t mangle -A POSTROUTING -j QOS
$IPT -t mangle -A POSTROUTING -m dscp --dscp 1 -o $EXTDEV -j MARK --set-mark 0x1 $IPT -t mangle -A POSTROUTING -m dscp --dscp 1 -o $EXTDEV -j MARK --set-mark 0x1
$IPT -t mangle -A POSTROUTING -m dscp --dscp 2 -o $EXTDEV -j MARK --set-mark 0X2 $IPT -t mangle -A POSTROUTING -m dscp --dscp 2 -o $EXTDEV -j MARK --set-mark 0X2
$IPT -t mangle -A POSTROUTING -m dscp --dscp 3 -o $EXTDEV -j MARK --set-mark 0x3 $IPT -t mangle -A POSTROUTING -m dscp --dscp 3 -o $EXTDEV -j MARK --set-mark 0x3

@ -4,7 +4,7 @@
%define name smeserver-qos %define name smeserver-qos
%define version 1.2.0 %define version 1.2.0
%define release 0.beta6 %define release 0.beta7
Summary: Install management web console for QoS Summary: Install management web console for QoS
Name: %{name} Name: %{name}
@ -27,6 +27,7 @@ SME Server admin interface for QoS
%changelog %changelog
* Thu Apr 12 2012 Daniel B. <daniel@firewall-services.com> - 1.2.0-1.sme * Thu Apr 12 2012 Daniel B. <daniel@firewall-services.com> - 1.2.0-1.sme
- Remove all squid stuff - Remove all squid stuff
- Revert Only mark packets going out on EXTDEV patch
* Fri Oct 07 2011 Daniel B. <daniel@firewall-services.com> - 1.2-1.sme * Fri Oct 07 2011 Daniel B. <daniel@firewall-services.com> - 1.2-1.sme
- Add squid delay pools - Add squid delay pools

Loading…
Cancel
Save