Port foward for https and http
Posted: Thu Dec 21, 2017 11:03 pm
Hi
This is my first post here
I have buy MikroTik RouterBoard that with help of a friend have make it work in my home network.
I have even got port forward for http to work to one of my webserver
so when I write http://domain.se it go to 192.168.1.5 that run a apache server on linux.
I use
but now I have two problem
Problem 1)
When I trying to connec to a subdomain that I http://subdomain.domain.se it was going to same IP address but I have config the apache server with Proxypass to another webserver.
It have work with my old router so I don't know why it does not working now.
Problem 2)
I have make same settings for https
but I can't connect to that apache2 server
Like I say, I have got it to work with the old router (a old netgear) but have problem to get it to work with my new router
I most have done something wrong or forgot something but not sure what.
This is my first post here

I have buy MikroTik RouterBoard that with help of a friend have make it work in my home network.
I have even got port forward for http to work to one of my webserver
so when I write http://domain.se it go to 192.168.1.5 that run a apache server on linux.
I use
Code: Select all
Chain=dstnat, Protocol=tcp, Dst-Port=80, Action=dst-nat, To-Addresses=192.168.1.5, To-Ports=80
Problem 1)
When I trying to connec to a subdomain that I http://subdomain.domain.se it was going to same IP address but I have config the apache server with Proxypass to another webserver.
It have work with my old router so I don't know why it does not working now.
Problem 2)
I have make same settings for https
Code: Select all
Chain=dstnat, Protocol=tcp, Dst-Port=443, Action=dst-nat, To-Addresses=192.168.1.8, To-Ports=443
Like I say, I have got it to work with the old router (a old netgear) but have problem to get it to work with my new router
I most have done something wrong or forgot something but not sure what.