View previous topic :: View next topic |
Author |
Message |
Cyberwizzard Apprentice
Joined: 02 Apr 2004 Posts: 244 Location: Norway
|
Posted: Mon May 24, 2004 4:14 pm Post subject: Iptables and MRTG |
|
|
Hi,
I'm using iptables to divide incoming traffic into multiple chains, each of which give me the bytes transferred over this chain. However, this normally is only the incoming traffic. Once the application at the desired port responds, this traffic goes out the backdoor as its traffic for an existing connection.
Is there a way to reroute traffic through a chain so it shows the incoming as well as outgoing traffic? (I'll probably need 2 chains for in and out but that won't be a problem). |
|
Back to top |
|
|
jkt Retired Dev
Joined: 06 Feb 2004 Posts: 1250 Location: Prague, Czech republic, EU
|
Posted: Fri May 28, 2004 6:44 pm Post subject: |
|
|
yes, just insert one chain into INPUT table ond other to the OUTPUT table. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|