How it works…

In the preceding code, we have used iptables to set up a DMZ. In this script, we are allowing the internal traffic from the internet to the DMZ.

Get Bash Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.