Skip to contentSkip to conversation

Transparent Proxy

DISCUSSION Cyril COUPEL 1 participant 1 message Nov 25, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,
First here is my network architecture:
3 Linux Box, B act has router (A and C can even be a group of PCs):

------     ------     ------
|  A  |----|  B  |----|  C  |
------     ------     ------

I need to REDIRECT (DNAT) the traffic from A to B, to a kind of PROXY, and then forward it to C.

For it, I need to retreave on B the real server address requested by A to open a new connection from B to C.

My Question is:
How to retreave the conntrack informations for a connection, without parsing the /proc/net/ipv4/ip_conntrack?

Thank in advance.

Signature · 1 line
Cyril COUPEL <[email protected]>