Hi!

I'm using netfilter (PREROUTING chain) on my router for redirecting all the
trafic passing through designated to certain port to a local port on my
router.

I'm interested in getting the original dest. address (adress before DNAT)
from my server (which listens on local port on the router).

I see there is a /proc/net/ip_conntrack file which shows connections active
on the machine, but I wonder is there easier way of getting that information
other than parsing that file?

Which would be the easyest way to do this?


Reply via email to