Out to in will be no problem.
Default firewall will block that already.
In to out:
Add a drop firewall rule in forward chain for 192.168.0.0/24 BUT FIRST put in accept for the 192.168.0.x address which is the gateway.
Move those 2 rules (accept before drop !!) above the first drop rule in forward chain.
If you put drop before accept, you can not get out at all anymore.
Default firewall will block that already.
In to out:
Add a drop firewall rule in forward chain for 192.168.0.0/24 BUT FIRST put in accept for the 192.168.0.x address which is the gateway.
Move those 2 rules (accept before drop !!) above the first drop rule in forward chain.
If you put drop before accept, you can not get out at all anymore.
Statistics: Posted by holvoetn — Mon Dec 18, 2023 8:59 am