Manuale Turtle Firewall | ||
---|---|---|
<<< Previous | Next >>> |
There isn't any web interface to define a service, so you have to work directly on the fwservices.xml file which is XML-based.
We already saw that Turtle Firewall rules are based on services (http, ftp, etc.), now we will see how to define our services that we will be able to use and set in the firewall. In this case the configuration provides the use of a separated XML file which allows to define the characteristics that every packet must have to be considered valid for a determinate service. If you want to define a new service you should use the logic followed to define a new firewall rule. Essentially you have to define a certain number of filters which allow the packets traffic, if a packet doesn't satisfy any filter it will be rejected.
The XML definitions file must have the root tag services (<services>) that has inside the servicetags which define the single service. A service tag has two attributes: name and description, the former to define the name, the latter for a short description of the service. A service tag contains the filter tags, which indicate how the valid packets for that service are selected.
<<< Previous | Home | Next >>> |
Masquerade | FILTER |