Community discussions

MikroTik App
 
rayman1366
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Mon Feb 20, 2012 1:49 am

Forwarding All traffic

Mon Jan 19, 2015 11:46 pm

Hello
i have Mikrotik SXT , bridged WAN+LAN with 192.168.1.0/24 address.

now i want forward All traffic (like port 80,443) from above range to this ip : 192.168.1.90

i tested some dst nat but not worked :(
 
rayman1366
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Mon Feb 20, 2012 1:49 am

Re: Forwarding All traffic

Tue Jan 20, 2015 8:54 pm

any idea?
 
rayman1366
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Mon Feb 20, 2012 1:49 am

Re: Forwarding All traffic

Wed Jan 21, 2015 8:38 am

add action=dst-nat chain=dstnat disabled=no dst-address=192.168.1.0/24 dst-port=\
80 protocol=tcp to-addresses=192.168.1.90 to-ports=80

not work
 
rayman1366
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 71
Joined: Mon Feb 20, 2012 1:49 am

Re: Forwarding All traffic

Sat Jan 24, 2015 2:40 am

what about forwarding port 80 ?

i remember before i do it , and it work, but now i dont know what is wrong,
can somebody help me?
:)
 
travisres
just joined
Posts: 17
Joined: Wed May 29, 2013 11:53 pm

Re: Forwarding All traffic

Sun Jan 25, 2015 9:55 pm

lots of options to you, but my general port forward.
add action=dst-nat chain=dstnat dst-port=80 in-interface=ether1-Gateway protocol=tcp to-addresses=192.168.1.90 
if I need to route an external port to a different internal port
add action=dst-nat chain=dstnat dst-port=8081 in-interface=ether1-Gateway protocol=tcp to-addresses=192.168.1.90 to-ports=80
I think maybe where you are getting held up is the dst-address=192.168.1.0/24

Who is online

Users browsing this forum: k6ccc and 59 guests