Community discussions

MikroTik App
 
ravin
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Mon Jan 29, 2007 3:59 pm
Location: mym

ICMP issue in src-nat

Wed May 23, 2018 1:58 pm

I have following rule configured in MT CCR:

Code: Select all

chain=srcnat action=src-nat to-addresses=x.x.x.x src-address=10.60.0.0/31 log=no log-prefix=""
where x.x.x.x is my public IP.

I am not able to ping this public IP from outside. Traceroute ends at CCR wan port and not reaching to endpoint i.e. 10.60.0.1.
Thanks.
 
User avatar
karlisi
Member
Member
Posts: 439
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Re: ICMP issue in src-nat

Wed May 23, 2018 2:13 pm

This is expected, src-nat works for outgoing packets from internal network to outside. To deliver packets from outside to internal network You need dst-nat rule.
 
ravin
Member Candidate
Member Candidate
Topic Author
Posts: 173
Joined: Mon Jan 29, 2007 3:59 pm
Location: mym

Re: ICMP issue in src-nat

Wed May 23, 2018 3:04 pm

Thanks. This worked.

Who is online

Users browsing this forum: Ahrefs [Bot], anav, l0pes, li77616211, patrikg, sas2k, sebi099 and 104 guests