client command: sanewall-client

5
sanewall-client

sanewall-client

accept replies from a service

        client
        service
        action
        rule-params

## Description

The `client` subcommand defines a client of a service on an interface or router. Any `rule-params` given to a parent interface or router are inherited by the client, but are reversed.

For Sanewall a client is the source of a request. Even though this is more complex for some multi-socket services, to Sanewall a client always initiates the connection.

The `service` parameter is one of the supported service names from ref-services. Multiple services may be specified, space delimited in quotes.

The `action` can be any of the actions listed in ref-actions.

The ``rule-params`` define a set of rule parameters to further restrict the traffic that is matched to this service. See rule-params for more details.

## Examples

    client smtp accept

    client "smtp pop3" accept

    client smtp accept src 192.0.2.1

    client smtp accept log "mail packet" src 192.0.2.1

## See Also

- sanewall
- sanewall.conf
- def-interface
- def-router
- ref-services
- ref-actions
- rule-params