Community discussions

MikroTik App
 
dpcatkins1983
just joined
Topic Author
Posts: 1
Joined: Mon Sep 16, 2013 11:02 pm

Port Forwarding

Mon Sep 16, 2013 11:07 pm

Hi there, i've just brought myself a nice mikrotik 751G-2HnD Router. now i've got it working in terms of accessing the internet, but i'm not sure how to do port forwarding, it looks like its got the standard NAT on but i' need the following ports opening for a number of services

HTTPS: 443 pointing to 192.168.1.2
port 80: pointing to 192.168.1.2
RDP: 3389 pointing to 192.168.1.252

i need help ASAP as my client isn't getting any emails through to their exchange and OWA isn't working. Help
 
User avatar
asaleh75
Trainer
Trainer
Posts: 193
Joined: Thu Nov 17, 2011 2:51 pm
Location: Dhaka, Bangladesh
Contact:

Re: Port Forwarding

Sat Sep 21, 2013 4:36 pm

Hi there, i've just brought myself a nice mikrotik 751G-2HnD Router. now i've got it working in terms of accessing the internet, but i'm not sure how to do port forwarding, it looks like its got the standard NAT on but i' need the following ports opening for a number of services

HTTPS: 443 pointing to 192.168.1.2
port 80: pointing to 192.168.1.2
RDP: 3389 pointing to 192.168.1.252

i need help ASAP as my client isn't getting any emails through to their exchange and OWA isn't working. Help
Hi,Try wich following codes. x.x.x.x is the public ip of your router.
/ip firewall nat
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=443 protocol=tcp \
    to-addresses=192.168.1.2 to-ports=443
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=80 protocol=tcp \
    to-addresses=192.168.1.2 to-ports=80
add action=dst-nat chain=dstnat dst-address=x.x.x.x dst-port=3389 protocol=tcp \
    to-addresses=192.168.1.252 to-ports=3389
 
Rudios
Forum Veteran
Forum Veteran
Posts: 973
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: Port Forwarding

Sat Sep 21, 2013 6:20 pm

Also create forward chain allowances in the firewall filter

Who is online

Users browsing this forum: Ahrefs [Bot] and 100 guests