Web Server Problem

Dear colleque

i have this NAT Rule:
[admin@MikroTik] ip firewall nat> add action=dst-nat chain=dstnat
dst-address=10.0.0.216/32 to-addresses=192.168.0.4


put when i open explorer and try this Public IP i get this error

While trying to retrieve the URL: http://xx.xx.xx.xx/

The following error was encountered:

  • Connection Failed

The system returned:

(111) Connection refused

The remote host or network may be down. Please try the request again.



\



Please Advice


yup…
i hope this okay..

add action=dst-nat chain=dstnat dst-address=10.0.0.216/32 port=80 protocol=tcp to-addresses=192.168.0.4 to-ports=0-65535

assumsy your public ip is 10.0.0.216

regards
Hasbullah.com

Still not working man same error


so, sorry man
that code is working for my apache web server… :wink:
maybe anyone else have idea, please…

regards
Hasbullah.com

Try this where IP x.x.x.x is your public IP and ether1 is the public interface

add chain=dstnat in-interface=ether1 dst-address=x.x.x.x protocol=tcp
dst-port=80 action=dst-nat to-addresses=192.168.0.4 to-ports=80
comment=“Redireccion http” disabled=no

i did try it man not working also maybe i have something block this rules or ovveride it
!!!