Community discussions

MikroTik App
 
saibarker
newbie
Topic Author
Posts: 45
Joined: Tue Jun 06, 2017 11:50 am

DMZ ping and hide from traceroute?

Tue Mar 17, 2020 2:41 am

Hi there,

What im trying to do is, DMZ all traffic to a local host including ping requests. I also want to hide my RB from trace-routes... Is this possible?

Thanks,
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: DMZ ping and hide from traceroute?

Thu Mar 19, 2020 3:41 am

Sure it is. First is simple dstnat, same thing like when you forward ports, only you skip protocol and it will take all. And for second, use mangle to increase ttl by one, and block ttl exceeded packets from RB to client using filter in output.
 
saibarker
newbie
Topic Author
Posts: 45
Joined: Tue Jun 06, 2017 11:50 am

Re: DMZ ping and hide from traceroute?

Mon Mar 23, 2020 3:32 am

Sure it is. First is simple dstnat, same thing like when you forward ports, only you skip protocol and it will take all. And for second, use mangle to increase ttl by one, and block ttl exceeded packets from RB to client using filter in output.
Thanks Sob, I get the first dst-nat part but don't get the second. Would you have an example command for this?
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: DMZ ping and hide from traceroute?

Tue Mar 24, 2020 4:54 am

In fact, dropping packets is not necessary, just change TTL. For example, this will cause client 192.168.80.10 to not see router in traceroute:
/ip firewall mangle
add action=change-ttl chain=prerouting new-ttl=increment:1 passthrough=yes src-address=192.168.80.10
 
saibarker
newbie
Topic Author
Posts: 45
Joined: Tue Jun 06, 2017 11:50 am

Re: DMZ ping and hide from traceroute?

Tue Mar 24, 2020 5:47 am

In fact, dropping packets is not necessary, just change TTL. For example, this will cause client 192.168.80.10 to not see router in traceroute:
/ip firewall mangle
add action=change-ttl chain=prerouting new-ttl=increment:1 passthrough=yes src-address=192.168.80.10
Awesome! thanks Sob.

Ill give it a test tonight
 
dice4real
just joined
Posts: 2
Joined: Sat Dec 26, 2020 3:23 am

Re: DMZ ping and hide from traceroute?

Thu Feb 08, 2024 3:15 am

I'm a newbie and wanted to hide my ISP Router. Can you provide a physical configuration for Mikrotik Thank you in advance...