Answer the question
In order to leave comments, you need to log in
Mikrotik how to bring a server outside with a different public ip?
There is a subnet from the provider /28 conditionally 10.0.0.14-25
At the router address 10.0.0.17
I want to set up a web server with a public address 10.0.0.14 and port 443
, I make the rules
/ip firewall nat
add chain=dstnat dst-address=10.0.0.14 protocol =tcp port=443 action=dst-nat to-addresses=192.168.0.241 to-ports=443
add chain=srcnat src-address=192.168.0.241 protocol=tcp port=443 action=src-nat to-addresses=10.0. 0.14
add chain=srcnat src-address=192.168.0.0/24 dst-address=192.168.0.241 action=masquerade
I create a record 10.0.0.14 server.domain.ru at the host
and something went wrong, I can’t get to https: //server.domain.ru
please tell me where and how much I messed up?
Answer the question
In order to leave comments, you need to log in
At the initial stage, you already have a problem with the calculation of the /28 mask; with a starting address of .14, a final .25 does not seem to happen.
Either 10.0.0.0 - 10.0.0.15 or 10.0.0.16 - 10.0.0.31.
Well, not the point. Dalle
What for? harpin nat tried to do? split dns, as it were.
From the network behind the router in general 192.168.0.241 which web server shows? Counters on the rules run up? firewall? Is 10.0.0.14 added to the external interface of the router?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question