IPtables accounting ...
Hi
Where do I do iptables accounting?
For example: If I have users on a private LAN surfing via a proxy on the firewall and I have web servers in a DMZ also being routed via the firewall, where do I put my accounting rules? In the FORWARD chain, or the INPUT chain, or both?
Ray
Quoted 8 lines · Raymond Leach
Hi
Where do I do iptables accounting?
For example: If I have users on a private LAN surfing via a proxy on the firewall and I have web servers in a DMZ also being routed via the firewall, where do I put my accounting rules? In the FORWARD chain, or the INPUT chain, or both?
Not INPUT if you don't have a web server on your firewall. FORWARD is a good place.
Signature · 2 lines
Éric Leblond courriel : [email protected]
Quoted 5 lines · Eric Leblond
Quoted 4 lines · Raymond Leach
Hi
Where do I do iptables accounting?
Quoted 7 lines
Quoted 4 lines
For example: If I have users on a private LAN surfing via a proxy on the firewall and I have web servers in a DMZ also being routed via the firewall, where do I put my accounting rules? In the FORWARD chain, or the INPUT chain, or both?
Not INPUT if you don't have a web server on your firewall. FORWARD is a good place.
But he does have a web server on his firewall - he is running a proxy, which is both a server and a client in a single application.
Antony.
Signature · 1 line
Most people have more than the average number of legs.
Quoted 8 lines · Raymond Leach
Hi
Where do I do iptables accounting?
For example: If I have users on a private LAN surfing via a proxy on the firewall and I have web servers in a DMZ also being routed via the firewall, where do I put my accounting rules? In the FORWARD chain, or the INPUT chain, or both?
Packets being routed through your firewall go through the FORWARD chain and not through the INPUT chain.
Packets going to a proxy application running on your firewall go through the INPUT chain and not the FORWARD chain.
Antony.
Signature · 3 lines
Anything that improbable is effectively impossible. - Murray Gell-Mann, Nobel Prizewinner in Physics