conntrack/nat w monolithic kernel: how to ftp to servers on portother than 21?

2002-06-13 Thread Rainer Schweitzer
Hi, consider the following: You want to connect to an ftp server running on, say, port 5432 from Your internal LAN. Between is a Linux box with netfilter, masquerading or S'natting respectively the internal addresses. All works fine with ftp servers on port 21, but on port 5432 connection

Re: conntrack/nat w monolithic kernel: how to ftp to servers onport other than 21?

2002-05-18 Thread Rainer Schweitzer
On Sat, 2002-05-18 at 13:29, Magnus Boden wrote: I don't know about what parameters to give the kernel but If you wan't to change the code I can help you. linux/net/ipv4/netfilter/ip_conntrack_ftp.c static int __init init(void) { int i, ret; if(ports[0] == 0)

conntrack/nat w monolithic kernel: how to ftp to servers on portother than 21?

2002-05-17 Thread Rainer Schweitzer
Hi, I wrote this mail yesterday, but it seemed not to came through. If it will appear a second time, please ignore. consider the following: You want to connect to an ftp server running on, say, port 5432 from Your internal LAN. Between is a Linux box with netfilter, masquerading or S'natting