Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    После рестарта затирается /etc/hosts

    Scheduled Pinned Locked Moved Russian
    6 Posts 3 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sundoom
      last edited by

      Добавляю некоторые строчки в  /etc/hosts, но после рестарта PFSense все возвращается к первоначальному виду.
      Как можно сделать, чтобы после перезапуска /etc/hosts оставался прежним после его редактирования?

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        http://forum.pfsense.org/index.php/topic,22839.msg253315.html#msg253315

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • S
          sundoom
          last edited by

          @dvserg:

          http://forum.pfsense.org/index.php/topic,22839.msg253315.html#msg253315

          НЕт в squid.xml даже намека на /etc/hosts

          1 Reply Last reply Reply Quote 0
          • D
            dr.gopher
            last edited by

            @sundoom:

            Добавляю некоторые строчки в  /etc/hosts, но после рестарта PFSense все возвращается к первоначальному виду.
            Как можно сделать, чтобы после перезапуска /etc/hosts оставался прежним после его редактирования?

            Если очень хочется чтобы файл не изменялся:
            chflags uchange /etc/hosts

            статья по флагам:
            http://thin.kiev.ua/index.php?option=com_content&view=article&id=551:flags&catid=28:current-users&Itemid=44

            FAQ PfSense 2.0

            И не забываем про Adblock дабы не видеть баннеров.

            И многое другое на www.thin.kiev.ua

            1 Reply Last reply Reply Quote 0
            • D
              dvserg
              last edited by

              @sundoom:

              @dvserg:

              http://forum.pfsense.org/index.php/topic,22839.msg253315.html#msg253315

              НЕт в squid.xml даже намека на /etc/hosts

              За-то есть информация почему он перезаписывается.

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

              1 Reply Last reply Reply Quote 0
              • S
                sundoom
                last edited by

                Спасибо за инфу! Но проблему я решил другим способом - у меня не был правильно настроен (а вернее не был вообще настроен) DNS Forwarding в PFSense.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.