PFServices allow you to replace the FORWARD rules of iptables, and configure application-level and packet-filter rules from Zorp.
Note |
---|
The PFService class transfers packet-filter level services. |
Example 5.39. PFService example |
---|
The following packet-filtering service transfers TCP connections
that arrive to port PFService(name="intranet_PF5555_internet", router=TransparentRouter()) The following example defines a few classes: the client and server zones, a simple services, and a rule that starts the service. Zone('internet', ['0.0.0.0/0']) Zone('intranet', ['192.168.0.0/16']) def demo() : PFService(name="intranet_PF5555_internet", router=TransparentRouter()) Rule(dst_port=5555, src_zone='intranet', dst_zone='internet', service='PFService' ) |
Published on May 30, 2024
© BalaSys IT Ltd.
Send your comments to support@balasys.hu