Community discussions

MikroTik App
 
WildWurger
just joined
Topic Author
Posts: 24
Joined: Mon Jan 13, 2014 2:36 am

Multiple Web Servers (with custom port)

Mon Jan 13, 2014 2:51 am

Hi all, I need some help from on configuring my MikroTik.

I have a RM2011IN

And after meddling for a few days trying to achieve what I wanted, I hit some issues
while the "Multiple Web Servers" configuration works, it works only for port 80 (internal server)
I have a few servers which (SYnology) that running on port 5000.

no matter what i change under the "WEb Proxy Access" rule, it seems only will look for port 80, but not for other ports like 5000

may I know how to make it work?

Thanks in advance for any help...

This is what i trying to achieve:
-workable, but not what i want
Internet -> host1.domain.com:80 -> mikrotik web proxy (from 80 to 8080) -> to host1:80

-not workable, in the web proxy access rule, if i put dst port as 5000 but there will no hit at all, and will default to access denied, my last rule is deny)
Internet -> host1.domain.com:80 -> mikrotik web proxy (from 80 to 8080) -> to host1:5000 (or any port number)
-if i change the dst port to 80 (despite my host uses 5000) it will give error (ERROR: Gateway Timeout) and (Connection refused)
Internet -> host1.domain.com:80 -> mikrotik web proxy (from 80 to 8080) -> to host1:80 (or any port number)

Thank you very much


*Thanks for approving my post
 
WildWurger
just joined
Topic Author
Posts: 24
Joined: Mon Jan 13, 2014 2:36 am

Re: Multiple Web Servers (with custom port)

Tue Jan 14, 2014 4:58 am

Hi all, any help? basically want to forward port 80 to 5000 after web proxy 8080. i have been cracking my head trying to figure this... NAT, filter, redirect seems cannot make it work...