Community discussions

MikroTik App
 
vik777
just joined
Topic Author
Posts: 2
Joined: Tue Dec 06, 2011 10:24 pm

Port forwarding using WebfigV5.2

Tue Dec 06, 2011 10:35 pm

Anyone have screen shots of how to do port forwarding using WebFigv5.2?

I need to forward 3 ports to 3 internal IP addresses.
I have 2 websites (80 and also 8080) on two different machines
And also an internal ftp machine (21)

I thought it was under IP > Firewall > NAT but I'm lost about the specific entry fields.

Screen shots would be awesome.

THX!!
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Port forwarding using WebfigV5.2

Tue Dec 06, 2011 11:34 pm

http://wiki.mikrotik.com/wiki/Manual:IP ... rt_mapping
That shows how to do it in the CLI. The field names in Winbox and Webfig mirror what the parameters are called on the CLI.
 
User avatar
ojsa
Member Candidate
Member Candidate
Posts: 181
Joined: Tue Jan 27, 2009 8:53 pm
Location: Norway

Re: Port forwarding using WebfigV5.2

Tue Dec 06, 2011 11:45 pm

The screenshot in webfig was to long. You can get the commandline from me and guess the rest ;-)

Here is a rule to connect with telnet to one of mye routers. External port is in this case 10023 and its redirected to 23, in your case you want 80 on both sides. If you want public access you can drop the src-address field.
add action=dst-nat chain=dstnat disabled=no dst-address=xxx.xx.7.2 \
    dst-port=10023 in-interface=ether5 protocol=tcp src-address=\
    159.148.172.205 to-addresses=192.168.230.51 to-ports=23
Remember to have a matching firewall rule.

Who is online

Users browsing this forum: No registered users and 108 guests