Friday, May 2, 2008 - New servers are in! Click-in for more info!
VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1234 ]
Subject: Re: Implementing a Bandwidth Cap?


Author:
byte
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 04:01:14 2008-02-25 Mon
Author Host/IP: 87.120.16.86
In reply to: Rudolf 's message, "Implementing a Bandwidth Cap?" on 09:22:48 2008-02-14 Thu

this two lines, puts an accounting on ppp1 interface
iptables -A FORWARD -i ppp1 -j ACCEPT
iptables -A FORWARD -o ppp1 -j ACCEPT

and then you can see the counters with:
iptables -L -n -v -x

another way is just to type: ifconfig ppp1 and you will see the whole traffic passed by this interface

[ Next Thread | Previous Thread | Next Message | Previous Message ]


VoyUser Login ] Not required to post.
Post a public reply to this message | Go post a new public message
* Notice: Posting problems? [ Click here ]
* HTML allowed in marked fields.
Message subject (required):

Name (required):

  Expression (Optional mood/title along with your name) Examples: (happy, sad, The Joyful, etc.) help)

  E-mail address (optional):

Type your message here:

Choose Message Icon: [ View Emoticons ]

Notice: Copies of your message may remain on this and other systems on internet. Please be respectful.

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.