Как настроить сервер как маршрутизатор с формированием трафика

См. ss64:

set Manipulate shell variables and functions. Syntax set [--abBCefhHkmnpPtuvx] [-o option] [argument ...] If no options or arguments are supplied, set displays the names and values of all shell variables and functions, sorted according to the current locale, in a format that may be reused as input. When options are supplied, they set or unset shell attributes. Options Using + rather than - will cause the option to be turned off. -a Mark variables which are modified or created for export. -o allexport -b Cause the status of terminated background jobs to be reported immediately, rather than before printing the next primary prompt. -o notify -B The shell will perform brace expansion. This option is on by default. -o braceexpand -C Prevent output redirection using `>', `>&', and `' from overwriting existing files. -o noclobber -e Exit immediately if a simple command exits with a non-zero status, unless the command that fails is part of an until or while loop, part of an if statement, part of a && or || list, or if the command's return status is being inverted using !. -o errexit -f Disable file name generation (globbing). -o noglob -h Locate and remember (hash) commands as they are looked up for execution. This option is enabled by default. -o hashall -H Enable `!' style history substitution This option is on by default for interactive shells. -o histexpand -k All arguments in the form of assignment statements are placed in the environment for a command, not just those that precede the command name. -o keyword -m Job control is enabled. -o monitor -n Read commands but do not execute them; this may be used to check a script for syntax errors. This option is ignored by interactive shells. -o noexec -o option-name Set the option corresponding to `option-name' The `option-names' are listed above and below (in bold) emacs : Use an emacs-style line editing interface . history : Enable command history, this option is on by default in interactive shells. ignoreeof : An interactive shell will not exit upon reading EOF. posix : Change the behavior of Bash to match the POSIX 1003.2 standard. vi : Use a vi-style line editing interface. -p Turn on privileged mode. In this mode, the $BASH_ENV and $ENV files are not processed, shell functions are not inherited from the environment, and the SHELLOPTS variable, if it appears in the environment, is ignored. If the shell is started with the effective user (group) id not equal to the real user (group) id, and the -p option is not supplied, these actions are taken and the effective user id is set to the real user id. If the -p option is supplied at startup, the effective user id is not reset. Turning this option off causes the effective user and group ids to be set to the real user and group ids. -o privileged -P If set, do not follow symbolic links when performing commands. The physical directory is used instead. -o physical -t Exit after reading and executing one command. -o onecmd -u Treat unset variables as an error when performing parameter expansion. An error message will be written to the standard error, and a non-interactive shell will exit. -o nounset -v Print shell input lines as they are read. -o verbose -x Print a trace of simple commands and their arguments after they are expanded and before they are executed. -o xtrace -- If no arguments follow this option, then the positional parameters are unset. Otherwise, the positional parameters are set to the arguments, even if some of them begin with a `-'. - Signal the end of options, cause all remaining arguments to be assigned to the positional parameters. The `-x' and `-v' options are turned off. If there are no arguments, the positional parameters remain unchanged. Examples Set the variable 'mydept' equal to 'Sales' : mydept=Sales To make the change permanent: export mydept
3
задан 7 January 2012 в 20:54

6 ответов

Zentyal, ранее eBox выглядит как хороший вариант. Это серверная система малого бизнеса с брандмауэром шлюза и возможностями формирования трафика. Я не уверен в том, может ли он сообщать оскорбительных пользователях, но вы можете проверить его для себя.

Домашняя страница находится здесь:

http://www.zentyal.org/

Документация по конфигурации сети приведена здесь: http://www.zentyal.org/

Существует более старое руководство по HowtoForge для eBox, которое все еще может быть Соответствующий. Он находится здесь:

http://www.howtoforge.com/using-ebox-as-a-gateway-firewall-traffic-shaping-http-proxy-and-more

учтите, что, хотя eBox может быть установлен на существующем сервере Ubuntu LTS, рекомендуется использовать установочный компакт-диск, предоставленный Zentyal.

4
ответ дан 25 May 2018 в 15:23

Уход за простым решением, не связанным с Ubuntu? Я сталкиваюсь с этой проблемой в школах, и простой выход для нас не является техническим: это OpenDNS Enterprise. Вы можете запретить такую ​​деятельность: warez, porn, proxies и т. Д., Принуждая AUP арендного дома. Это, безусловно, намного дешевле, чем гонорары адвокатов, гораздо проще реализовать, и доказывает, что у вас есть контрмеры! :)

Oh - и он может быть настроен для работы по-разному (или же) в разных местах.

1
ответ дан 25 May 2018 в 15:23
  • 1
    Спасибо, мы рассмотрим это как вариант резервного копирования, но наш первый выбор будет решением Ubuntu, поскольку на ПК нет ОС, и сначала нам нужно будет приобрести копию Windows, если мы будем использовать программное обеспечение на основе Windows. – Andre 7 January 2012 в 23:22

У меня есть простое решение: любой прокси-сервер. Squid, Polipo, Privoxy. Он заставляет всех пользователей войти в Интернет через сервер. Веб-браузеры должны быть настроены для подключения к прокси до выхода из локальной сети. Он фильтрует www.traffic, разрешает доступ к сайту или лишает доступ к сайту и генерирует отчеты о том, кто в настоящее время использует прокси-службу, сколько трафика протекает через сервер и ограничивает скорость загрузки / выгрузки в Интернете. Эти программы имеют много отличных функций, которые вам пригодится в вашей ситуации. Видео Polipo здесь Privoxy видео здесь Squid видео здесь

0
ответ дан 25 May 2018 в 15:23

Уход за простым решением, не связанным с Ubuntu? Я сталкиваюсь с этой проблемой в школах, и простой выход для нас не является техническим: это OpenDNS Enterprise. Вы можете запретить такую ​​деятельность: warez, porn, proxies и т. Д., Принуждая AUP арендного дома. Это, безусловно, намного дешевле, чем гонорары адвокатов, гораздо проще реализовать, и доказывает, что у вас есть контрмеры! :)

Oh - и он может быть настроен для работы по-разному (или же) в разных местах.

1
ответ дан 25 May 2018 в 15:23

Уход за простым решением, не связанным с Ubuntu? Я сталкиваюсь с этой проблемой в школах, и простой выход для нас не является техническим: это OpenDNS Enterprise. Вы можете запретить такую ​​деятельность: warez, porn, proxies и т. Д., Принуждая AUP арендного дома. Это, безусловно, намного дешевле, чем гонорары адвокатов, гораздо проще реализовать, и доказывает, что у вас есть контрмеры! :)

Oh - и он может быть настроен для работы по-разному (или же) в разных местах.

1
ответ дан 25 May 2018 в 15:23

Уход за простым решением, не связанным с Ubuntu? Я сталкиваюсь с этой проблемой в школах, и простой выход для нас не является техническим: это OpenDNS Enterprise. Вы можете запретить такую ​​деятельность: warez, porn, proxies и т. Д., Принуждая AUP арендного дома. Это, безусловно, намного дешевле, чем гонорары адвокатов, гораздо проще реализовать, и доказывает, что у вас есть контрмеры! :)

Oh - и он может быть настроен для работы по-разному (или же) в разных местах.

1
ответ дан 25 May 2018 в 15:23

Другие вопросы по тегам:

Похожие вопросы: