Logs

Hi. I'm configuring Flint 2 router and I'm trying to secure the network in and out.
So far, I have Blocked all WAN to LAN and all LAN to WAN traffic. However when I check the logs there seem to be not showing what wants to get out from LAN to WAN or or who is knocking on my door.
Is there a way to view this? I'm trying to inspect all traffic and decide if I should let it out of my network.

Thanks

Hi,

There is not really a need to add extra rules to block inbound wan, it does this by default.

It is important to know though that any basic firewall wether from the router or by a system follows a flow from source to destination.

What does that mean?

Basically every time something orginates from your lan to wan, a line is created to respond back, and the device on the opposite is allowed to communicate in return, if you did not made the first communication then the packets get dropped by the firewall, unless of course you allowed it by using portforwarding or by ACL ruling.

Sometimes there are even complexer situations where the line is created but the opposite connection invites other connections, you see this often in multiplayer games and it is a smart way people can join your game, that phenomen is also called port hole punching, but the limitation is people cannot join you directly the 'middleman' i.e a server board/auth server has to advertise others to you on this same line.

Often it is also not really feasible to log these unsolicitated inbound attemps because they are already blocked, and secondly basically every public ip on the internet is under constant attack by botnets scanning for ports being open, that is just the normal.

To get back to your question about what is going outbound of your connection:

You could enable DPI statistics this can give you a broad example what is going out.

But you may also resort to something like nextdns or pihole/adguardhome with the dns override option so that you can have some control over this and eventually sinkhole domains.

On luci there are also statistics for connections which you can track.

If you are technical enough you could also try using tcpdump and then manually compare those destination addresses to abuse sites, optionally you could create a pcap file and load it in wireshark.

There are also tools where you can use the pcap file on, if you search for pcap and virustotal.

Hi,

The GL.iNet admin panel currently doesn’t provide a built-in view of all blocked inbound and outbound traffic.

For temporary inspection, you could use tcpdump, as suggested above. Custom firewall logging or tracing is another advanced option, depending on your firmware, but falls outside our standard support scope.

We don’t recommend leaving verbose packet logging or continuous captures enabled long term, as they can generate large amounts of data and affect router performance.