Hello, I have a router for OpenWrt [LuCI] I need to block certain ports but I don’t know how to do it! I’ve rummaged through the entire Internet I can’t find anything!
On Windows OS, this is done in the firewall -> outbound rule! But I don’t understand how to implement this on a router with OpenWrt [LuCI]. Need your help.
It is necessary to block the ports of the game servers so that the staff does not play at work! For example, port 27015.
Tried like this:
iptables -I FORWARD -i br-lan -p tcp/udp -d 27015 -j DROP