Community discussions

MikroTik App
 
spavkov
newbie
Topic Author
Posts: 39
Joined: Mon Sep 06, 2004 11:23 am

Why users that connect to ftp have same 192.168.1.1 address?

Wed Feb 09, 2005 11:03 pm

Hi all!

i have a small problem that i would like to solve...

i have two interfaces...
one wireless prism interface with hotspot set up on 10.5.50.1
and other interface is ethernet NIC with 192.168.1.0 network...

mikrotik has a 192.168.1.1 address for that second ethernet interface...

and i have a ftp server installed on machine that is connected on this second ethernet NIC. This machine has (suprisingly :lol: ) 192.168.1.2 address...

all hotspot users from 10.5.50.0 network can connect to my ftp server on 192.168.1.2 ....

BUT ftp server sees them all as clients connecting from 192.168.1.1 !!!!
and this causes that when one user connects to ftp he 'kicks' out the previous one...
it seems that the second one somehow 'steals' the connection from the fitst one...
the first client remains connected but his upload/download stops......

is there a solution to this problem???
im sure its some configuration problem...
can i configure mikrotik so that FTP server on 192.168.1.2 recognises all users with their real private address and that everything works fine...???

just to say that no masquerading is set up for this 192.168.1.0 network...


any clues ??? pliiiiiz ??
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27037
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Thu Feb 10, 2005 9:22 am

check your src-nat rules. looks like you have a masquerade rule with the interface=all - set that to interface=public (or whatever is your public interface called)
 
spavkov
newbie
Topic Author
Posts: 39
Joined: Mon Sep 06, 2004 11:23 am

Tnx!

Fri Feb 11, 2005 1:35 pm

normis , thank you !!!

your clue solved my problem 100%....
i guess my knowledge of mikrotik is still not so advanced...
but with help of this forum, i learn every day...

:D

THANK YOU A MILLION TIMES !!!

Slobo