Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 12:30:05 +0100 (CET)
From:      Szabados Jozsef <szabadosjozsef@freemail.hu>
To:        freebsd-ipfw@freebsd.org
Message-ID:  <freemail.20020227123005.5030@fm1.freemail.hu>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi!

I would need some starting info about transparent proxying.

So, first I forward the packet, on port xx to 127.0.0.1:xxxx
the proxy get the packet, and it will see the destination ip
127.0.0.1, isn't it? So how can I find out the original
destination
ip address of the packet?

Like linux with iptables:
getsockopt(... SO_ORIGINAL_DST ...)

Or with ipfilter's natlookup_t structure.
(Long to insert here)

But how, with ipfw?

Any help (man/rtfm ;-) is appreciated,
Best regards,

Szabados Jozsef
ps.: sorry for my bad english ;-)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ipfw" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?freemail.20020227123005.5030>