Hello.

I have two computers behind NAT with
IP's 192.168.10.1 & 192.168.20.1. ipnat.conf
now contains:

map ed1 192.168.0.0/16 -> 62.148.133.34/32 proxy port 21 ftp/tcp
map ed1 192.168.0.0/16 -> 62.148.133.34/32 portmap tcp/udp auto
map ed1 192.168.0.0/16 -> 62.148.133.34/32

Should I change these rules or they can work ok ?
Sometimes I see "Unknown command" response from ftp servers,
or something like "Only client IP address allowed for PORT
command".
At that time we can see:

List of active sessions:
MAP 192.168.10.2 4461 <- -> 62.148.133.34 4461 [62.148.136.156 21]
proxy ftp/6 use 1 flags 0
proto 6 flags 0 bytes 1557 pkts 26 data YES size 392
FTP Proxy:
passok: 1
Client:
seq e392d36ce392d36c len 0 junk 0 cmds 1
buf [PORT 192,168,10,2,17,110\015\012\000]
Server:
seq 224bf133224bf133 len 54 junk 0 cmds 531
buf [530 Only client IP address allowed for PORT command.\015\012s as password.\015\012\000]


or sometimes client buffer contains something like:

\123\079\RT 192,168,10,2,3,34

and if I retry in few seconds all may work properly. :(
I use only active FTP mode.

--
Andrew N. Below, Zenon N.S.P., technical support department
Moscow: +7 095 2323736, SPb: +7 812 3264468, http://www.zenon.net

Reply via email to