Community discussions

MikroTik App
 
vlad8
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 61
Joined: Wed Feb 09, 2011 3:42 pm

nat 1:1

Thu Sep 20, 2012 6:00 pm

Hi, this is how is configured a RB750:

ip address
4 ***.***.***.130/28 ***.***.***.128 ***.***.***.143 ether5_WAN
5 ***.***.***.131/28 ***.***.***.128 ***.***.***.143 ether5_WAN
6 ***.***.***.140/28 ***.***.***.128 ***.***.***.143 ether5_WAN
7 192.168.1.10/24 192.168.1.0 192.168.1.255 ether3_LAN

ip firewall nat
1 chain=srcnat action=masquerade out-interface=ether5_WAN
2 chain=srcnat action=src-nat to-addresses=***.***.***.140 src-address=192.168.1.250
3 chain=dstnat action=dst-nat to-addresses=192.168.1.250 dst-address=***.***.***.140

The rule #3 is working well, when i try to connect to the public ip ***.***.***.140, services on 192.168.1.250 answer correctly, but when i check the outgoing public ip it tells me ***.***.***.130 instead of the .140, so the #2 rule doesn't seem to work.

How can i do? is there something wrong in the rule #2? Thanks
 
rado3105
Member
Member
Posts: 492
Joined: Sat Jan 12, 2008 11:45 pm

Re: nat 1:1

Sat Sep 22, 2012 12:28 am

it is hard to understand your configuration and your targets
 
remit
newbie
Posts: 25
Joined: Mon Jan 09, 2012 9:53 pm

Re: nat 1:1

Sat Sep 22, 2012 6:24 am

Not sure I am reading it right, but your 1:1 rules need to be above your masq rules in the firewall->Nat

Who is online

Users browsing this forum: mada3k, MMakinskis, robo, Techsystem and 40 guests