Community discussions

MikroTik App
 
Eduardo
newbie
Topic Author
Posts: 45
Joined: Thu Aug 18, 2016 12:20 pm

Recommende "IP/IP Settings"

Thu Sep 01, 2016 9:04 pm

What are the recommended "IP/IP Settings" for normal "home router" usage?

I read http://wiki.mikrotik.com/wiki/Manual:IP/Settings but that seems outdated (some items are missing), and doesn't help me much, unfortunately...

Thanks!
 
Zorro
Long time Member
Long time Member
Posts: 675
Joined: Wed Apr 16, 2014 2:43 pm

Re: Recommende "IP/IP Settings"

Fri Sep 02, 2016 11:11 am

kill redirects(very insecured/exploitable), bump icmp rate limitation a bit(to say 50-100-500), disable fast-path if you not use it(if you not ISP - you perhaps not), put RP filtering to "strict"(if you not use gear in corporate setup with (relatively)complex routing of multiple sub-networks, multinetting and other bogus, tricky stuff.

p.s.
latest research shows that icmp rate limits aside being violated by some apps(that in result lead to their connectivity issues. such as some online games, like say BF and CoD franchise, and early versions of Arma2/3)in recent kernel and netfilter - also contain code that make implementation very exploitable aswell and allow very neat "side-channel" attack on connections.
thats irrelevant for current ROS kernel/netfilter, but considering ROS7 future and chance that MT may backport frome code from, including affected - mean to take that with serious consideration.
 
User avatar
BrasDeutscher
newbie
Posts: 41
Joined: Sat Sep 03, 2016 12:31 am
Location: Brazil

Re: Recommende "IP/IP Settings"

Mon Sep 05, 2016 3:05 am

tcp-syncookies: yes
 
User avatar
amt
Long time Member
Long time Member
Posts: 529
Joined: Fri Jan 16, 2015 2:05 pm

Re: Recommende "IP/IP Settings"

Fri Mar 30, 2018 8:32 am

kill redirects(very insecured/exploitable), bump icmp rate limitation a bit(to say 50-100-500), disable fast-path if you not use it(if you not ISP - you perhaps not), put RP filtering to "strict"(if you not use gear in corporate setup with (relatively)complex routing of multiple sub-networks, multinetting and other bogus, tricky stuff.

p.s.
latest research shows that icmp rate limits aside being violated by some apps(that in result lead to their connectivity issues. such as some online games, like say BF and CoD franchise, and early versions of Arma2/3)in recent kernel and netfilter - also contain code that make implementation very exploitable aswell and allow very neat "side-channel" attack on connections.
thats irrelevant for current ROS kernel/netfilter, but considering ROS7 future and chance that MT may backport frome code from, including affected - mean to take that with serious consideration.
when i put RP filtering to "strict" PPTP start to not working.
 
solar77
Long time Member
Long time Member
Posts: 586
Joined: Thu Feb 04, 2016 11:42 am
Location: Scotland

Re: Recommende "IP/IP Settings"

Fri Mar 30, 2018 12:00 pm

Interesting. Never touched setting here. Good advice!
Just to confirm RP filtering set to Strict does not effect my PPTP client
 
solar77
Long time Member
Long time Member
Posts: 586
Joined: Thu Feb 04, 2016 11:42 am
Location: Scotland

Re: Recommende "IP/IP Settings"

Fri Mar 30, 2018 12:19 pm

RP filtering has to be set to loose for my load-balance to work, as suggested in the wiki
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 23425
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Recommende "IP/IP Settings"

Fri Mar 30, 2018 6:14 pm

Zorro
In my box, Send Redirects and Secure Redirects are checked, and Accept Redirects is NOT checked.
Are you stating all the Redirect options should be UNCHECKED??

Do you also recommend tcp-syn cookies should be Checked?
Also being a newbie I am assuming fast path and fasttrack are not the same so not using fastpath is totally okay?


Somewhere I also read to add these drop forward rules........ any comments as to whether they are worthwhile or are they a waste of CPU time........

add action=drop chain=forward comment="Non RFC Packets" protocol=tcp \
tcp-flags=fin,syn
add action=drop chain=forward protocol=tcp tcp-flags=fin,urg
add action=drop chain=forward protocol=tcp tcp-flags=fin,!ack
add action=drop chain=forward protocol=tcp tcp-flags=syn,rst
add action=drop chain=forward protocol=tcp tcp-flags=rst,urg
add action=drop chain=forward protocol=tcp src-port=0
add action=drop chain=forward dst-port=0 protocol=tcp
add action=drop chain=forward protocol=udp src-port=0
add action=drop chain=forward dst-port=0 protocol=udp