On Thu, Jun 23, 2005 at 01:12:50PM +1000, Michael Mansour wrote:
> Hi,
>
> When I run ntpd on SL3/4 and it listens on port 123 on all my interfaces,
> including virtual interfaces.
>
> How can I tell it to only listen on a certain IP/certain interface only?
>
> I've googled for this but can't find anything relevant.
>
> Thanks.
>
> Michael.
1) "geez my ntpd is listening on all interfaces. I don't like that. What can
I do?"
#!/bin/bash
[ -f ~/mycoolfunctions] && . ~/mycoolfunctions
man ntpd >/dev/null
case $? in
0) man ntpd;;
*) echo "damn no man page eek I'll have to google then"
links http://www.google.com;;
esac
2) "geez found nothing on google"
echo "How can I tell ntp to only listen on a certain IP/certain interface \
only please" | mail -s ntpd\ listen\ on [log in to unmask]