Skip to content

Instantly share code, notes, and snippets.

View ljwobker's full-sized avatar

LJ Wobker ljwobker

  • United States
View GitHub Profile
#!/usr/bin/env python3
rules = {
# 'pinhole name/comment' : [outside_port, protocol, inside_host, inside_port]
'Joe web server' : ['80' , 'tcp', '192.168.1.35', '80' ],
'trusted inside SSH' : ['1999' , 'tcp', '192.168.1.40', '22' ],
}
inside_subnet = '192.168.15.0/24'