Jé pa l'temps #30 - Firewalls
Firewall package rules explanations
When you have openwrt, the server is the router.
INPUT: packets coming from the network and going to your server. OUTPUT: packets originating from your server and going to the network. FORWARD: packets forwarded by your server, if/when it acts as a router between different networks <= When the packet comes one zone to another without being addressed to the router
So basically when you want to host a wireguard peer on the router, your block all input traffic but you have to open wireguard port (think about it, it’s logic). So you do a specific rule on INPUT.
Sources
- How to configure OpenWrt as Firewall for your home network and Guest Wifi and IPTables explained
- StackOverflow
— — — — — — — — — — — — — — — — — — — — —
La série « Jé pa l’temps » est une série de tutoriels rapides en mode “prise de note” pour avoir une trace de tout ce dont je ne peux me rappeler et pourquoi pas le partager à d’autre. On va à l’essentiel, laissons les jolis pavés à d’autres sites comme medium… LOL !