firmware-version "SonicOS Enhanced 7.0.1-5111"
interface X0
ip-assignment LAN static
ip 192.168.168.168 netmask 255.255.255.0
comment "LAN"
exit
interface X1
ip-assignment WAN static
ip 203.0.113.2 netmask 255.255.255.252
gateway 203.0.113.1
exit
interface X2
ip-assignment DMZ static
ip 172.16.0.1 netmask 255.255.255.0
exit
interface X0:V100
vlan 100
ip-assignment LAN static
ip 10.100.0.1 netmask 255.255.255.0
exit
address-object ipv4 "web server"
name "web server"
uuid 5e1a2b3c-0000-0001-0200
zone DMZ
host 172.16.0.10
exit
address-object ipv4 "lan-net"
zone LAN
network 192.168.168.0 255.255.255.0
exit
address-object ipv4 "vendors"
zone WAN
range 198.51.100.10 198.51.100.20
exit
address-object ipv4 "cdn"
zone WAN
fqdn "cdn.example.com"
exit
address-object ipv6 "v6host"
host 2001:db8::1
exit
address-group ipv4 "servers"
name "servers"
uuid 5e1a2b3c-0000-0002-0200
address-object ipv4 "web server"
address-object ipv4 "vendors"
exit
service-object "App 8443"
name "App 8443"
protocol tcp
port 8443 8443
exit
service-group "web-services"
service-object "HTTP"
service-object "App 8443"
exit
access-rule ipv4 from LAN to WAN action allow
from LAN
to WAN
action allow
source address any
service any
destination address any
comment "Internet access"
enable
logging
exit
access-rule ipv4 from WAN to DMZ action allow
source address any
service name "HTTPS"
destination address name "web server"
exit
access-rule ipv4 from LAN to DMZ action allow
source address name "lan-net"
service group "web-services"
destination address group "servers"
exit
access-rule ipv4 from WAN to LAN action deny
source address any
service name "Strange Custom Service"
destination address name "LAN Subnets"
exit
access-rule ipv4 from LAN to DMZ action allow
source address name "X0 Subnet"
service name "Ping"
destination address name "X2 IP"
no enable
exit
nat-policy ipv4
inbound X1
outbound X1
exit
