Community discussions

MikroTik App
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu May 20, 2010 7:23 pm

URL Binding / Redirection from single public IP

Wed May 25, 2016 6:37 pm

I'm interested in Binding URLs to different servers inside our network from one public IP. Typically this is done on the web server with a single IP and URLs are binded in the server config. Can this be done from the edge firewall with traffic inspection via mangle or something?
User avatar
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

Re: URL Binding / Redirection from single public IP

Wed May 25, 2016 7:01 pm

This is called a reverse proxy.
If you configure a host inside the network to be the reverse proxy, then forward ports 80 (and 443 if you're doing SSL) to the reverse proxy host, and let it make proxy requests to the various internal servers based on the URL of the incoming requests.

You can do this with the IP HTTP Proxy feature, but be very careful not to allow it to proxy for anything that goes back out to the Internet, otherwise, your router will get discovered as an open proxy and hijacked by the forces of evil who will use it to either anonymize their activities or participate in DDoS activities.
When given a spoon,
you should not cling to your fork.
The soup will get cold.

Who is online

Users browsing this forum: No registered users and 10 guests