Community discussions

MikroTik App
 
bes
just joined
Topic Author
Posts: 20
Joined: Fri Feb 24, 2006 10:01 pm

ftp not work at policy routing mark

Mon Mar 06, 2006 10:35 pm

hi,
i mark ftp packets:
chain=prerouting protocol=tcp dst-port=21 action=mark-routing new-routing-mark=ftp_21_tcp passthrough=yes

And add route witch routing mark.

Ftp connect ok,but not listing file list(error ).
Witch default route all connect is good.

Mon Mar 06 22:30:52 2006 Connecting hdd1.takas.lt:21
Mon Mar 06 22:30:52 2006 Connecting hdd1.takas.lt [IP=82.135.223.195:21]
Mon Mar 06 22:30:52 2006 Socket connected, Waiting for welcome message.
Mon Mar 06 22:32:15 2006 Connecting hdd.takas.lt:21
Mon Mar 06 22:32:15 2006 Connecting hdd.takas.lt [IP=82.135.223.194:21]
Mon Mar 06 22:32:15 2006 Socket connected, Waiting for welcome message.
Mon Mar 06 22:32:15 2006 220-Microsoft FTP Service
Mon Mar 06 22:32:15 2006 -=HDD.takas.lt virtualios saugyklos paslauga=-
Mon Mar 06 22:32:15 2006 Demesio!
Mon Mar 06 22:32:15 2006 Paslaugos teikejas neatsako uz paslaugos vartotoju saugykloje pateiktos informacijos (failu) turini ir jo nekontroliuoja.
Mon Mar 06 22:32:15 2006 Paslaugos vartotojas savarankiskai atsako uz visus savo veiksmus, atliktus naudojantis Paslaugos teikejo teikiama paslauga.
Mon Mar 06 22:32:15 2006 Paslaugos vartotojas yra savarankiskai atsakingas uz jam suteikto atpazinimo kodo atskleidima tretiesiems asmenims.
Mon Mar 06 22:32:15 2006 220 Paslaugos teikejas niekaip neatsako uz paslaugos vartotojo patirta zala ar nuostolius, susijusius su paslaugos teikimu.
Mon Mar 06 22:32:15 2006 USER besas@dsl.takas.lt
Mon Mar 06 22:32:16 2006 331 Password required for besas@dsl.takas.lt.
Mon Mar 06 22:32:16 2006 PASS ********
Mon Mar 06 22:32:16 2006 230-Isbandykite paslauga "Failu keitykla":
Mon Mar 06 22:32:16 2006 http://www.takas.lt/dsl/keitykla.php
Mon Mar 06 22:32:16 2006 230 User besas@dsl.takas.lt logged in.
Mon Mar 06 22:32:16 2006 Login Successful
Mon Mar 06 22:32:16 2006 REST 100
Mon Mar 06 22:32:16 2006 350 Restarting at 100.
Mon Mar 06 22:32:16 2006 This site can resume broken downloads.
Mon Mar 06 22:32:16 2006 REST 0
Mon Mar 06 22:32:16 2006 350 Restarting at 0.
Mon Mar 06 22:32:16 2006 PWD
Mon Mar 06 22:32:16 2006 257 "/" is current directory.
Mon Mar 06 22:32:16 2006 TYPE A
Mon Mar 06 22:32:16 2006 200 Type set to A.
Mon Mar 06 22:32:16 2006 PASV
Mon Mar 06 22:32:16 2006 227 Entering Passive Mode (82,135,223,194,49,81).
Mon Mar 06 22:32:16 2006 LIST -la
Mon Mar 06 22:32:22 2006 Time out.
Mon Mar 06 22:32:22 2006 Error occured!
Mon Mar 06 22:32:22 2006 Wait 5 second for retry
 
changeip
Forum Guru
Forum Guru
Posts: 3810
Joined: Fri May 28, 2004 5:22 pm

Tue Mar 07, 2006 1:37 am

FTP uses more than just port 21. Typically 20 is ftp-data and 21 is ftp-control. Are you running thru NAT? Using service helpers? Try dst-port=20-21 and see what happens.

Sam

Who is online

Users browsing this forum: anav and 123 guests