search for: waniface

Displaying 2 results from an estimated 2 matches for "waniface".

2004 Apr 01
2
Need help with rate-limiting NTTP traffic
...So, since my NNTP traffic is pretty much constantly ongoing, I''d like to limit it to 800kbit. This was a breeze with dummynet, but I''m not getting how to do it correctly with netfilter. Here''s what I tried: $IPT -t mangle -N SHAPE-NNTP $IPT -t mangle -I PREROUTING -i $WANIFACE -j SHAPE-NNTP $IPT -t mangle -A SHAPE-NNTP -p tcp --sport 119 -j MARK --set-mark 119 My thoughts on placing it in PREROUTING is that I''d like to shape the traffic as soon as possible so that my firewall gets the benefit of dealing with the reduced load as soon as possible. But, maybe tha...
2004 Sep 12
0
RE: No subject by Steve M
...the service scripts toward the bottom: #----------------------------# # SIP # #----------------------------# function SIP_WAN { $IPT -A INPUT -p udp -i $WANIFACE --dport 5060 -j ACCEPT $IPT -A INPUT -p udp -i $WANIFACE --dport 5004 -j ACCEPT } function SIP_PORT_FORWARDING { $IPT -A PREROUTING -t nat -i $WANIFACE -p udp --dport 5060 -j DNAT --...