[Japanese] [English]

source is found at ftp://ftp.fml.org/pub/libtransparent/

Brief description is within my home page.

ipfilter_modify_dst(fd, dstp)
     int fd;
     struct sockaddr_in *dstp;
ipfilter_modify_dst() overwrite *dstp to the real destination.

You can use this function to make application level gateway with ipfilter. For example, consider ssh proxy (ssh-gw). Firstly run proxy which listens 10022/tcp. Secondly redirect ssh connection from 22/tcp to localhost 10022/tcp at the internal interface by ipfilter (ipnat). You can get ssh-gw.

$FML: index.html.en,v 1.3 2002/01/20 09:28:36 fukachan Exp $