Skip to content

Instantly share code, notes, and snippets.

@Callisto88
Callisto88 / iptables.sh
Last active March 19, 2018 21:24 — forked from thomasfr/iptables.sh
HEIG-VD / SRX / Labo firewall / script iptables
#!/bin/bash
IPT="sudo /sbin/iptables"
# IPs
FIREWALL_IP="192.168.100.254"
DMZ_IP="192.168.200.100"
LAN_IP="192.168.100.100"
LAN_SUBNET="192.168.100.0/24"
# Your DNS servers you use: cat /etc/resolv.conf