NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
handy1
Mar 05, 2013Aspirant
[SOLVED] NTP-Server & Firewall port settings:
I need a little help with this one please? I've been using the NTP-Server add-on on my Duo v.1. for many months now. It serves my Linux boxes beautifully. Anyway, the problem(?): I just modi...
handy1
Mar 08, 2013Aspirant
I ended up deleting the gufw rules & then using a small run once config file which setup just the basics for ufw & of course ntp. Then I added my incoming rules via gufw ('cause its so easy).
It works.
Now when I boot I wait for ~ 8 seconds instead of 90 seconds whilst ntp sorts itself out.
Here is a copy of my script called my_ufw.conf.sh
Add the following incoming rules, using the In drop down menu option in gufw:
993 TCP = IMAP
143 TCP & UDP
110 TCP = POP3
22 TCP = SSH
9418 TCP = GIT
It works.
Now when I boot I wait for ~ 8 seconds instead of 90 seconds whilst ntp sorts itself out.
Here is a copy of my script called my_ufw.conf.sh
#!/bin/sh
#######################################################################
# Run this script only once, to setup your UFW - uncomplicated firewall
#######################################################################
# disable firewall
ufw disable
# reset all firewall rules
ufw reset
# set default rules: deny all incoming traffic, allow all outgoing traffic
ufw default deny incoming
ufw default allow outgoing
# open ports for Transmission-Daemon
ufw allow 9091
ufw allow 20500:20599/tcp
ufw allow 20500:20599/udp
# open port for GIT
ufw allow 9418/tcp
# open port for network time protocol (ntpd)
ufw allow ntp
# enable firewall
ufw enable
# list all firewall rules
ufw status verbose
Add the following incoming rules, using the In drop down menu option in gufw:
993 TCP = IMAP
143 TCP & UDP
110 TCP = POP3
22 TCP = SSH
9418 TCP = GIT
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!