Community discussions

MUM Europe 2020
 
WirelessRudy
Forum Guru
Forum Guru
Topic Author
Posts: 3089
Joined: Tue Aug 08, 2006 5:54 pm
Location: Spain

masquerading srce-nat still showing internal IP

Thu Jun 25, 2015 12:03 pm

How can it be my AP in the associated CPE list at times still shows an internal IP of an attached MT CPE?
The CPE is functioning as router and has scr-nat rule to masq. all internal IP to its wlan IP.

In some occasions I see this, and usually an update or just a reboot solves the issue. But it should not happen, isn't it?
/ip firewall nat
add action=masquerade chain=srcnat comment="Masq all other lan ip to dynamic wlan ip" src-address=192.168.50.0/24 \
    to-addresses=0.0.0.0
Show your appreciation of this post by giving me Karma! Thanks.

Rudy R. Puister

WISP operator based on MT routerboard & ROS.
 
User avatar
lordkappa
Member Candidate
Member Candidate
Posts: 133
Joined: Wed May 16, 2012 1:53 pm
Location: Vancouver, Canada

Re: masquerading srce-nat still showing internal IP

Sat Jun 27, 2015 12:10 am

Use
out-interface=
instead of
to-addresses=
Masquerade used without an out-interface specified is liable to wreak all kinds of havok. :? That's likely causing your issue.
 
WirelessRudy
Forum Guru
Forum Guru
Topic Author
Posts: 3089
Joined: Tue Aug 08, 2006 5:54 pm
Location: Spain

Re: masquerading srce-nat still showing internal IP

Sat Jun 27, 2015 10:36 pm

Use
out-interface=
instead of
to-addresses=
Masquerade used without an out-interface specified is liable to wreak all kinds of havok. :? That's likely causing your issue.
well, always used the masq. for the internal network. Ever seen that in an example on the wiki/forum years ago. Since then (10+ years) doing this. But I can give your suggestion a try. Basically it does the same but more general and specific so why not....
Show your appreciation of this post by giving me Karma! Thanks.

Rudy R. Puister

WISP operator based on MT routerboard & ROS.

Who is online

Users browsing this forum: No registered users and 81 guests