Community discussions

MikroTik App
 
archer24
just joined
Topic Author
Posts: 1
Joined: Wed Feb 22, 2017 8:15 am

Nat rules dst from out to out

Wed Feb 22, 2017 8:18 am

We need to forward port from the external network via Mikrotik (OS v.6.33.3) in the external network. We can not do it. It allows to redirect ports only to the internal (local) network. Help!!

213.128.9.224 - external ip

chain=dstnat action=dst-nat to-addresses=213.128.9.224 to-ports=80 protocol=tcp dst-port=443 log=no log-prefix=""
 
User avatar
scotthammersley
Member Candidate
Member Candidate
Posts: 230
Joined: Fri Feb 22, 2013 7:16 pm
Location: Jackson, MS
Contact:

Re: Nat rules dst from out to out

Wed Feb 22, 2017 6:03 pm

chain=dstnat action=dst-nat to-addresses=213.128.9.224 to-ports=80 protocol=tcp dst-port=443 log=no log-prefix="" -----> this says anything recieved on any interface destined for TCP 443 will be forwarded to itself on port 80. Absolutely will not work.

What is the IP of the device you are trying to forward to? Even then, you are probably going to break state with forwarding 443 if you are not careful.

Who is online

Users browsing this forum: Ahrefs [Bot], CGGXANNX, mantouboji and 57 guests