download
from Zorp.Core import *
from Zorp.Http import *
Zorp.firewall_name = 'zorp@example.net'
InetZone("site-net", "192.168.1.0/24",
outbound_services=["intra_http"],
inbound_services=[])
InetZone("internet", "0.0.0.0/0",
inbound_services=["*"],
outbound_services=[])
def simple():
Service("intra_http", HttpProxy)
Listener(SockAddrInet("192.168.1.1", 50080), "intra_http")
|