Provided by: sanewall-doc_1.0.2+ds-2_all
NAME
sanewall-server, sanewall-route - accept requests to a service
SYNOPSIS
server service action [rule-params] route service action [rule-params]
DESCRIPTION
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.
EXAMPLES
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
SEE ALSO
Sanewall program: sanewall(1) Sanewall configuration: sanewall.conf(5) interface definition: sanewall-interface(5) router definition: sanewall-router(5) services list: sanewall-services(5) actions for rules: sanewall-actions(5) optional rule parameters: sanewall-rule-params(5)
AUTHOR
Sanewall Team
COPYRIGHT
Copyright © 2012, 2013 Phil Whineray <phil@sanewall.org>