Community discussions

MikroTik App
 
User avatar
maroon
Member Candidate
Member Candidate
Topic Author
Posts: 230
Joined: Thu Oct 07, 2004 11:15 am
Location: Lebanon
Contact:

error publishing multiple services online!

Thu Mar 02, 2006 6:12 pm

Dear Mikrotik fans,

i'm facing a problem on mikrotik router 2.9.x. can't publish multiple services online {ssh,ftp,web server, tomcat server..} let's say I want to publish alll these. whenever I create a rule saying dst-address:xx.xx.xx53 to-dst-port=8080 action=(netmap or dst-nat) protocol=tcp to-dst-address=10.30.30.2 .. it works normally.

but if I create the same rule and link it to other dst-ports: 20-21 and to port:22 or any other .. only the rule at the top matches and it ignores the rules down.

what's wrong?

so I can only access the tomcat server on port 8080 but if i want to access ssh server I can't connection refused ...but if I arrange the rules so SSH at first and tomcat at the bottom .. so SSH works :S

Regards,
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Sun Mar 05, 2006 9:39 pm

You have to match the traffic by protocol:tcp and port:someportnumber

this way packets sent to the specific port will get will be deatlh with and the others - passed throu to the next rule.

Being an experienced user you should be doing this right hmmm... post your configs properly in here...
 
User avatar
maroon
Member Candidate
Member Candidate
Topic Author
Posts: 230
Joined: Thu Oct 07, 2004 11:15 am
Location: Lebanon
Contact:

Mon Mar 06, 2006 8:57 am

dude of course I'm matching the protocol and port ...
 
Gotmoh
newbie
Posts: 38
Joined: Fri Jul 15, 2005 8:56 am

Mon Mar 06, 2006 9:26 am

Strange. Im using publish rules for emule high id for my customers. Have about 60 dst-nat rules. All working fine (2.9.14 at this moment).

Who is online

Users browsing this forum: jdeckert and 50 guests