Community discussions

MikroTik App
 
CREATIVELINK
newbie
Topic Author
Posts: 31
Joined: Thu Nov 30, 2006 1:32 pm

Redirecting Problem

Fri Dec 22, 2006 1:17 pm

i need to redirect all the traffic on port 80 coming from the real IP to a internal web server , i added this nat rule
0 chain=dstnat in-interface=real dst-address=xx.xxx.xxx.x protocol=tcp
dst-port=80 action=dst-nat to-addresses=192.168.0.216 to-ports=80

but when i try connect to my real ip from the internet i get the mikrotik administration login page


any help please
and my web proxy is enabled
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Fri Dec 22, 2006 1:21 pm

in /ip services disable or change port number for MT default page.
 
CREATIVELINK
newbie
Topic Author
Posts: 31
Joined: Thu Nov 30, 2006 1:32 pm

Fri Dec 22, 2006 1:27 pm

in /ip services disable or change port number for MT default page.
when i disable the port 80 it give me page connot be displayed
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Fri Dec 22, 2006 1:55 pm

please check if you web server is working
and if this rule is first one.
 
CREATIVELINK
newbie
Topic Author
Posts: 31
Joined: Thu Nov 30, 2006 1:32 pm

Fri Dec 22, 2006 2:03 pm

please check if you web server is working
and if this rule is first one.
yes man this is the first rule and my web server is runing for sure
 
User avatar
balimore
Forum Veteran
Forum Veteran
Posts: 884
Joined: Mon Apr 10, 2006 3:38 am

Fri Dec 22, 2006 2:31 pm

----
Hai Friends
we killed Mikrotik's Login page with this, we are not aggree when our customers/clients see that page.... :wink:
so, we are so sorry to Mikrotik and Team, because our router is not destination but it make routes for users from or to.
chain=dstnat dst-address=[public_ip_or_local_ip_router] protocol=tcp dst-port=80 action=dst-nat to-addresses=xx.xx.xx.1 to-ports=0-65535
*) www disabled=yes on /ip service
*) ip=xx.xx.xx.1 is local websebserver address

regards
Hasbullah.com
----
 
CREATIVELINK
newbie
Topic Author
Posts: 31
Joined: Thu Nov 30, 2006 1:32 pm

Fri Dec 22, 2006 2:54 pm

----
Hai Friends
we killed Mikrotik's Login page with this, we are not aggree when our customers/clients see that page.... :wink:
so, we are so sorry to Mikrotik and Team, because our router is not destination but it make routes for users from or to.
chain=dstnat dst-address=[public_ip_or_local_ip_router] protocol=tcp dst-port=80 action=dst-nat to-addresses=xx.xx.xx.1 to-ports=0-65535
*) www disabled=yes on /ip service
*) ip=xx.xx.xx.1 is local websebserver address

regards
Hasbullah.com
----
i fully aggree with you but still the same problem page cannot be displayed when i turn the www off
 
User avatar
balimore
Forum Veteran
Forum Veteran
Posts: 884
Joined: Mon Apr 10, 2006 3:38 am

Fri Dec 22, 2006 3:04 pm

----
Hai Friends
we killed Mikrotik's Login page with this, we are not aggree when our customers/clients see that page.... :wink:
so, we are so sorry to Mikrotik and Team, because our router is not destination but it make routes for users from or to.
chain=dstnat dst-address=[public_ip_or_local_ip_router] protocol=tcp dst-port=80 action=dst-nat to-addresses=xx.xx.xx.1 to-ports=0-65535
*) www disabled=yes on /ip service
*) ip=xx.xx.xx.1 is local websebserver address

regards
Hasbullah.com
----
i fully aggree with you but still the same problem page cannot be displayed when i turn the www off
----
so, sorry man we don't have problem about it..
maybe recheck for firewall policy...

regards
Hasbullah.com
---