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.
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
Now that all is ok, you can run :
sudo /etc/init.d/shorewall start