Port Forwarding Issue

Hello ,

I would like to know how to to port forwards ALL ports instead of one by one .
Also how to apply forwarded ports as “permanently” ? Because i have problem that forwarded ports stopped works after some time :frowning: .
We used this tutorial .
http://wiki.mikrotik.com/wiki/Forwarding_a_port_to_an_internal_IP

Some info

Customer's config
IP Address : 192.168.88.XX (Assigned by DHCP)
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.88.1
DHCP Server : 192.168.88.1
DNS Server : 192.168.88.1
202.55.176.10
202.55.176.10

External IP 
202.55.183.xxx

Thank you

Cheers

If you do not assign any port then default value: all ports (0-65535) is used. What kind of traffic do you need to forward (UDP, TCP, all traffic)? Please post forwarding NAT rules that stop working and how you determine that they stopped working.

Thanks for the reply , kirshteins

I think he used this to forward the port .

/ip firewall nat add chain=dstnat dst-address=69.69.69.69 protocol=tcp dst-port=5900 \
    action=dst-nat to-addresses=192.168.1.101 to-ports=5900

Can you please post the rule that forward all ports ?

Based on this info

Customer's config
IP Address : 192.168.88.XX (Assigned by DHCP)
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.88.1
DHCP Server : 192.168.88.1
DNS Server : 192.168.88.1
202.55.176.10
202.55.176.10

External IP
202.55.183.xxx

Leave out the dst-port and to-port arguments and replace IPs as required.

How about this ?

/ip firewall nat add chain=dstnat dst-address=202.55.183.xxx protocol=tcp dst-port= \ action=dst-nat to-addresses=192.168.88.XX to-ports=

arguments, not their values =)

/ip firewall nat add chain=dstnat dst-address=202.55.183.xxx protocol=tcp \
action=dst-nat to-addresses=192.168.88.XX