Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Shorewall configuration files for better security on your Forge droplet

License

Notifications You must be signed in to change notification settings

Francois-Francois/homestead-shorewall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homestead-shorewall

Laravel Homestead comes with different applications to save time on site deployment. But, you can deploy quickly, and get a secured application on Forge

Shorewall is a gateway/firewall configuration tool for GNU/Linux. For a high level description of Shorewall, see the Introduction to Shorewall. To review Shorewall functionality, see the Features Page.

How to use it

Log in ssh to your VM and run :

sudo aptitude install shorewall
cd /etc/shorewall
sudo git clone https://github.com/rikless/homestead-shorewall.git
cd homestead-shorewall
sudo mv * ../ && cd ../
sudo rm -rf homestead-shorewall README.md

And then test your configuration :

sudo shorewall check

and be sure to get this message : Shorewall configuration verified

If there is any issue, be sure to disable the possibility to start shorewall :

Edit the /etc/shorewall/shorewall.conf and set :

STARTUP_ENABLED=No

This is temporary, fix the problem, check shorewall configuration again, and get back to Yes when you have : Shorewall configuration verified.

And finaly, edit /etc/default/shorewall

startup=1

Start your firewall

Now that all is ok, you can run :

sudo /etc/init.d/shorewall start

About

Shorewall configuration files for better security on your Forge droplet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published