User’s Manual
71
ConsoleMessage "Starting system log"
if [ -f /etc/syslog.conf ]; then
if ! pid=$(GetPID syslog); then
rm -f /dev/log
syslogd
fi
else
echo "Warning: syslogd was not started"
fi
}
--
2. Add a parameter
-u
to the end of the line that starts the
daemon:
syslogd -u
3. Save the file.
4. We also want to configure the system logger to use a spe-
cific file for messages from the router. We'll assume that
the router has been configured to use facility local5.
Edit
/etc/syslog.conf
and add a line for the router:
# Router is using local5
local5.* /var/log/router.log
This says that all messages with facility local5 should be
logged in
/var/log/router.log
. (Note that the two portions of
the line in syslog must be separated by tabs. Don't put any
spaces between the two.)
5. Now restart the system logger:
root# /System/Library/StartupItems/SystemLog/SystemLog
restart
6. You should also be using a firewall to protect your server.
Open the
Sharing Preference
pane in System Preferences.
7. Click on the Firewall tab and click
New...
to add a new
rule.
Содержание FriendlyNET VR2004 Series
Страница 1: ...FriendlyNET VR2004 Series VPN Security Routers User s Manual ...
Страница 10: ...FriendlyNET VPN Security Router 10 ...
Страница 12: ...FriendlyNET VPN Security Router 12 ...
Страница 40: ...FriendlyNET VPN Security Router 40 ...
Страница 50: ...FriendlyNET VPN Security Router 50 ...
Страница 54: ...FriendlyNET VPN Security Router 54 ...
Страница 60: ...FriendlyNET VPN Security Router 60 ...
Страница 62: ...FriendlyNET VPN Security Router 62 ...
Страница 64: ...FriendlyNET VPN Security Router 64 ...