Community discussions

MikroTik App
 
User avatar
Bitnik
just joined
Topic Author
Posts: 12
Joined: Sun Jan 21, 2007 12:48 pm

Another Redirect question...

Sat Jul 28, 2007 1:40 pm

:? ppl, got problem with redirection 80 and 21 port...
we got MK v2.9.2 server and ftp & web server on lan with ip 192.168.0.114. Need to redirect ftp & web connections to that server (so people can browse our web page and ftp trough internet)... Please HELP !!! (Need real Work Examples)

:D well you can view // just view ;) \\ our server...

IP: 89.41.69.97
LOGIN: User
PASS: ooo999ooo
 
itsh.net
Member Candidate
Member Candidate
Posts: 115
Joined: Mon Jan 23, 2006 12:00 pm
Location: Germany
Contact:

Re: Another Redirect question...

Sat Jul 28, 2007 2:03 pm

/ip firewall nat

add chain=dstnat action=netmap to-addresses=192.168.0.114 to-ports=21 \
dst-address=89.41.69.97 dst-port=21 protocol=tcp comment="NAT FTP \
SERVER Port 21" disabled=no
add chain=dstnat action=netmap to-addresses=192.168.0.114 to-ports=80 \
dst-address=89.41.69.97 dst-port=80 protocol=tcp comment="NAT \
Webserver Port 80" disabled=no
 
User avatar
Bitnik
just joined
Topic Author
Posts: 12
Joined: Sun Jan 21, 2007 12:48 pm

Re: Another Redirect question...

Sat Jul 28, 2007 2:15 pm

:shock: srange I done all like you sayd, but it doesn't work...

http://89.41.69.97
ftp://89.41.69.97
 
itsh.net
Member Candidate
Member Candidate
Posts: 115
Joined: Mon Jan 23, 2006 12:00 pm
Location: Germany
Contact:

Re: Another Redirect question...

Sat Jul 28, 2007 5:53 pm

from me worked!

on your FTP can i read your Info.txt
and from your HTTP see i the 404 Page from your Webserver
 
cmacneill
Member Candidate
Member Candidate
Posts: 293
Joined: Sun Apr 01, 2007 10:51 pm
Location: Christchurch, New Zealand

Re: Another Redirect question...

Sat Jul 28, 2007 6:25 pm

Bitnik,

It depends where you try to connect from, you need to be somewhere out on the Internet to test it properly. If your test system is connected to the private side of the MT Router, i.e. on the same network as the public addresses are configured for, initially all your packets will be routed to your ISP and they may well not bounce them back to you.
 
User avatar
Bitnik
just joined
Topic Author
Posts: 12
Joined: Sun Jan 21, 2007 12:48 pm

Re: Another Redirect question...

Sat Jul 28, 2007 10:08 pm

:lol: Wooowwww yes BIG thx then all for help, I searched for that over two mounths (im newbie in MK so THX !!!) now we all save :) Now this topic can be succesfuly closed :)