This documentation mentions the use of PermittedPeer, but fails to say where to put it. Please add PermittedPeer to the quote below which comes from the same link. Add PermittedPeer to the imtcp section.
module(load="imuxsock") # local messages
module(load="imtcp" # TCP listener
StreamDriver.Name="gtls"
StreamDriver.Mode="1" # run driver in TLS-only mode
StreamDriver.Authmode="anon"
)
# make gtls driver the default and set certificate files
global(
DefaultNetstreamDriver="gtls"
DefaultNetstreamDriverCAFile="/path/to/contrib/gnutls/ca.pem"
DefaultNetstreamDriverCertFile="/path/to/contrib/gnutls/cert.pem"
DefaultNetstreamDriverKeyFile="/path/to/contrib/gnutls/key.pem"
)
# start up listener at port 6514
input(
type="imtcp"
port="6514"
)
This documentation mentions the use of PermittedPeer, but fails to say where to put it. Please add PermittedPeer to the quote below which comes from the same link. Add PermittedPeer to the imtcp section.