> I see info only in the source, ip_masq_ftp.c. The IP Masquerading
> HOWTO is old and does not contain fresh 2.2.19 info. This is a new 2.2.19
> feature.
As Julian said, me too, I couldn't find another place for this. It's
/usr/src/linux/net/ipv4/ip_masq_ftp.c:
* Multiple Port Support
* The helper can be made to handle up to MAX_MASQ_APP_PORTS (normally 12)
* with the port numbers being defined at module load time. The module
* uses the symbol "ports" to define a list of monitored ports, which can
* be specified on the insmod command line as
* ports=x1,x2,x3...
* where x[n] are integer port numbers. This option can be put into
* /etc/conf.modules (or /etc/modules.conf depending on your config)
* where modload will pick it up should you use modload to load your
* modules.
* Additional portfw Port Support
* Module parameter "in_ports" specifies the list of forwarded ports
* at firewall (portfw and friends) that must be hooked to allow
* PASV connections to inside servers.
* Same as before:
* in_ports=fw1,fw2,...
* Eg:
* ipmasqadm portfw -a -P tcp -L a.b.c.d 2021 -R 192.168.1.1 21
* ipmasqadm portfw -a -P tcp -L a.b.c.d 8021 -R 192.168.1.1 21
* modprobe ip_masq_ftp in_ports=2021,8021
And it is a new kernel feature, not LVS feature.
Best regards,
Roberto Nibali, ratz
--
mailto: `echo NrOatSz@xxxxxxxxx | sed 's/[NOSPAM]//g'`
|