/etc/xinetd.conf


# /etc/xinetd.conf

# ...

service jetdirect
{
        socket_type     = stream
        protocol        = tcp
        flags           = IPv4
        wait            = no
        user            = nobody
        server          = /usr/bin/lpr
        server_args     = -Plp@pserver
        access_times    = 0:00-23:59
        instances       = 4
        log_on_failure += HOST USERID
        log_on_success += HOST USERID
        nice            = 7
        bind            = 10.xxx.yyy.41
        only_from       = 127.0.0.0/8 10.xxx.yyy.0/24 192.168.zzz.0/24
        disable         = no
}

service jetdirect
{
        socket_type     = stream
        protocol        = tcp
        flags           = IPv6
        wait            = no
        user            = nobody
        server          = /usr/bin/lpr
        server_args     = -Plp@pserver
        access_times    = 0:00-23:59
        instances       = 4
        log_on_failure += HOST USERID
        log_on_success += HOST USERID
        nice            = 7
        bind            = fdgg:hhhh:iiii:jjjj:kkkk:llll:mmmm:41
        only_from       = ::1/128 fdgg:hhhh:iiii:jjjj:kkkk:llll:mmmm:0/112
        disable         = no
}

# ...


Stephan K.H. Seidl