libresh / libre.sh

Moved to https://lab.libreho.st/libre.sh/compose.libre.sh
GNU Affero General Public License v3.0
189 stars 22 forks source link

Add firewall #108

Closed pierreozoux closed 6 years ago

JOduMonT commented 7 years ago

what about IPTables ? https://github.com/jodumont/libre.sh/blob/master/user_data_firewalled

it work pretty well for me

if you need more flexibility you just need to remove the interface

-A INPUT -i enp0s20f0 -p tcp -m tcp --dport 22 -j ACCEPT