M
M
Maxim4652019-08-11 19:44:14
network hardware
Maxim465, 2019-08-11 19:44:14

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

2 answer(s)
S
sim3x, 2019-08-11
@sim3x

https://superuser.com/questions/1393912/properly-b...
https://www.google.com.ua/search?q=iptables+block+port

D
Dmitry, 2019-08-12
@hempy80

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 question

Ask a Question

731 491 924 answers to any question