Layer (5,6,7) based NAT

Adam adam at
Sun Apr 29 15:42:23 CEST 2007

I am wondering weather this is possible. I have one port and one public IP
address lets say:

If I connect using SSH I want to DNAT to port 22, if I connect using SSL I
want to DNAT to port 443, if I connect using HTTP I want to DNAT to port

If this kind of upper layer protocol determination possible? If so, is
netfiter the application to do it?

More information about the netfilter mailing list