diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-02 18:00:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 18:00:37 +0200 |
commit | 321ef11977274aa9df5ff46d7e668806bdd7ebbc (patch) | |
tree | d441b78b998a8dad0c4ecde63391c6eafb80323f | |
parent | cbdbbdceaad5fc02ca673bed199f666137a2ce73 (diff) | |
parent | ca61add5e7dea828c67ea074368196025f4cb4eb (diff) | |
download | vyos-1x-321ef11977274aa9df5ff46d7e668806bdd7ebbc.tar.gz vyos-1x-321ef11977274aa9df5ff46d7e668806bdd7ebbc.zip |
Merge pull request #559 from sever-sever/T2944
ntp: T2944: By default do not listen port 123 on any address
-rw-r--r-- | data/templates/ntp/ntp.conf.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/ntp/ntp.conf.tmpl b/data/templates/ntp/ntp.conf.tmpl index df8157a41..bb0067bfb 100644 --- a/data/templates/ntp/ntp.conf.tmpl +++ b/data/templates/ntp/ntp.conf.tmpl @@ -36,4 +36,10 @@ interface ignore wildcard {% for address in listen_address %} interface listen {{ address }} {% endfor %} +interface listen 127.0.0.1 +interface listen ::1 +{% else %} +interface ignore wildcard +interface listen 127.0.0.1 +interface listen ::1 {% endif %} |