Answer the question
In order to leave comments, you need to log in
OpenWrt [LuCI] How to block ports?
Hello, I have an OpenWrt [LuCI] router, I need to block certain ports, but I don't know how to do it! I've looked all over the internet and can't find anything!
On OC Windows, this is done in the firewall -> outbound rule! But I don’t understand how to implement it on a router with OpenWrt [LuCI]. I need your help.
Answer the question
In order to leave comments, you need to log in
https://superuser.com/questions/1393912/properly-b...
https://www.google.com.ua/search?q=iptables+block+port
Well, first of all, you need to understand how the firewall works. In short, there are three chains
INPUT - incoming connections addressed to the node itself
OUTPUT - outgoing connections initiated by the
FORWARD node - transit connections. passing through the node.
Depending on the task, you need to set up filtering rules in the desired chain. OpenWRT has a pretty handy web interface for this. Specify what exactly you need to block.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question