I am attempting to set up a router which will forward the port 80 request from my ISP’s static IP of 67.143.224.198 to my local web server on 192.168.0.10. When I access 67.143.224.198 from a web browser I am ble to see the router welcome page, but it is not forwarding to my local web server. I followed the instructions on page 40 in the MT manual to set up the NAT as shown below with no luck. If anyone could offer any suggestions, it would be greatly appreciated.
Hi ;
Glad to write here .
first it is important to state the names of the interfaces correctly and they should match the interfaces names in the rules .
so the name of Ether2 = local2 should occur in the rules as well not interface1 as you wrote below also you wrote the public ip wrong and i do not know if what is below is from the router or you just wrote here :
here i think you will never be able to do what you want while you have only one public ip from your ISP ,
you should have more than one public ip , one to be natted to your server and another one to be used for the internet connection from your local network .
I am simply attempting to replace a linksys router. In the linksys I could go into the port forwarding and tell it to forward anything on port 80 to my webserver IP an my IIS would handle the rest. I have done a reset and changed my configuration as follows: Still not working.
Hi again ;
no i am used the names as you used it :
internet1 for internet connection
local2 for the local network
delete your nat rules , be sure that the ether NIC connected to internet have the name internet1 and the NIC for the local network named local2
just copy the codes in green colour and from new terminal paste them there and you will get the rules in the firewall nat window
check if this will help and give us your feedback .
with best regards .
Ok, I have done as prescribed, but it still does not work.
What are the ! before the IP address. From what I can tell that means anything but this IP. I could not even access the internet with the ! in place.
[admin@MikroTik] ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=internet1 src-address=192.168.0.0/24
action=masquerade
1 X chain=dstnat in-interface=internet1 dst-address=67.143.224.198
protocol=tcp dst-port=80 action=dst-nat to-addresses=192.168.0.1
to-ports=0-65535
Something doesnt look right to me on the static IP. Here are the settings that I have been using on my linksys router that I am replacing. It looks like the route is setting 67.143.224.198 as the pref-src. The gateway needs to be 67.143.224.197
Thanks Louis.
I changed it as directed, still doesnt work
[admin@MikroTik] ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=internet1 src-address=192.168.0.0/24
action=masquerade
[admin@MikroTik] ip firewall nat> pr
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=internet1 src-address=192.168.0.0/24
action=masquerade