sanewall-server, sanewall-route
accept requests to a service
- Provided by: sanewall-doc (Version: 1.0.2+ds-2)
- Source: sanewall
- Report a bug
accept requests to a service
server service action [rule-params]
route service action [rule-params]
The server subcommand defines a server of a service on an interface or router. Any rule-params given to a parent interface or router are inherited by the server.
For Sanewall a server is the destination of a request. Even though this is more complex for some multi-socket services, to Sanewall a server always accepts requests.
The route subcommand is an alias for server which may only be used in routers.
The service parameter is one of the supported service names from services list: sanewall-services(5). Multiple services may be specified, space delimited in quotes.
The action can be any of the actions listed in actions for rules: sanewall-actions(5).
The rule-params define a set of rule parameters to further restrict the traffic that is matched to this service. See optional rule parameters: sanewall-rule-params(5) for more details.
server smtp accept server "smtp pop3" accept server smtp accept src 192.0.2.1 server smtp accept log "mail packet" src 192.0.2.1
Sanewall Team
Copyright © 2012, 2013 Phil Whineray <phil@sanewall.org>