Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/bookshandbookfirewalls_index/ru/units/?format=api&page=3
{ "count": 711, "next": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/units/?format=api&page=4", "previous": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/units/?format=api&page=2", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "To forward IPv6 traffic, use:" ], "previous_source": "", "target": [ "Для переадресации IPv6-трафика используйте:" ], "id_hash": 1958409696299674905, "content_hash": 1958409696299674905, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:377", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 103, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/358131/?format=api", "priority": 100, "id": 1786495, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=9b2dab3e209f6d19", "url": "https://translate-dev.freebsd.org/api/units/1786495/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.360500Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "# sysctl net.inet6.ip6.forwarding=1\n" ], "previous_source": "", "target": [ "# sysctl net.inet6.ip6.forwarding=1\n" ], "id_hash": -2442052225866260108, "content_hash": -2442052225866260108, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:381", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 104, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/358133/?format=api", "priority": 100, "id": 1786496, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=5e1c16706a4a2174", "url": "https://translate-dev.freebsd.org/api/units/1786496/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.361047Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "To enable these settings at system boot, use man:sysrc[8] to add them to [.filename]#/etc/rc.conf#:" ], "previous_source": "", "target": [ "Чтобы включить эти настройки при загрузке системы, используйте man:sysrc[8] для их добавления в [.filename]#/etc/rc.conf#:" ], "id_hash": 8421986100976894966, "content_hash": 8421986100976894966, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:384", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 105, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/358135/?format=api", "priority": 100, "id": 1786497, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=f4e0e7bcbc0143f6", "url": "https://translate-dev.freebsd.org/api/units/1786497/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.361579Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "# sysrc gateway_enable=yes\n# sysrc ipv6_gateway_enable=yes\n" ], "previous_source": "", "target": [ "# sysrc gateway_enable=yes\n# sysrc ipv6_gateway_enable=yes\n" ], "id_hash": 2279976988272925301, "content_hash": 2279976988272925301, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:389", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 106, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/358137/?format=api", "priority": 100, "id": 1786498, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=9fa41afdb2129a75", "url": "https://translate-dev.freebsd.org/api/units/1786498/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.362147Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Verify with `ifconfig` that both of the interfaces are up and running." ], "previous_source": "", "target": [ "Проверьте с помощью `ifconfig`, что оба интерфейса активны и работают." ], "id_hash": -7078589090511080042, "content_hash": -7078589090511080042, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:392", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 107, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/358139/?format=api", "priority": 100, "id": 1786499, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=1dc3ccb9e521b596", "url": "https://translate-dev.freebsd.org/api/units/1786499/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.362651Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Next, create the PF rules to allow the gateway to pass traffic. While the following rule allows stateful traffic from hosts of the internal network to pass to the gateway, the `to` keyword does not guarantee passage all the way from source to destination:" ], "previous_source": "", "target": [ "Далее создайте правила PF, чтобы позволить шлюзу передавать трафик. Хотя следующее правило разрешает трафик с сохранением статуса от хостов внутренней сети проходить к шлюзу, ключевое слово `to` не гарантирует прохождение всего пути от источника до назначения:" ], "id_hash": 6395663101713776836, "content_hash": 6395663101713776836, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:395", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 108, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 44, "source_unit": "https://translate-dev.freebsd.org/api/units/1219736/?format=api", "priority": 100, "id": 1786500, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=d8c1f5b490b900c4", "url": "https://translate-dev.freebsd.org/api/units/1786500/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.363238Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "pass in on xl1 from xl1:network to xl0:network port $ports keep state\n" ], "previous_source": "", "target": [ "pass in on xl1 from xl1:network to xl0:network port $ports keep state\n" ], "id_hash": -2793092489843812911, "content_hash": -2793092489843812911, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:399", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 109, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/358143/?format=api", "priority": 100, "id": 1786501, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=593cf12dce0c55d1", "url": "https://translate-dev.freebsd.org/api/units/1786501/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.363793Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "That rule only lets the traffic pass in to the gateway on the internal interface. To let the packets go further, a matching rule is needed:" ], "previous_source": "", "target": [ "Это правило разрешает прохождение трафика только внутрь шлюза на внутреннем интерфейсе. Чтобы пакеты могли идти дальше, требуется соответствующее правило:" ], "id_hash": 7546935599554099819, "content_hash": 7546935599554099819, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:403", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 110, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate-dev.freebsd.org/api/units/1219738/?format=api", "priority": 100, "id": 1786502, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=e8bc19f1422bfa6b", "url": "https://translate-dev.freebsd.org/api/units/1786502/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.364307Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "pass out on xl0 from xl1:network to xl0:network port $ports keep state\n" ], "previous_source": "", "target": [ "pass out on xl0 from xl1:network to xl0:network port $ports keep state\n" ], "id_hash": -440456584338698144, "content_hash": -440456584338698144, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:407", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 111, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/358147/?format=api", "priority": 100, "id": 1786503, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=79e32f11f7829060", "url": "https://translate-dev.freebsd.org/api/units/1786503/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.364844Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "While these two rules will work, rules this specific are rarely needed. For a busy network admin, a readable ruleset is a safer ruleset. The remainder of this section demonstrates how to keep the rules as simple as possible for readability. For example, those two rules could be replaced with one rule:" ], "previous_source": "", "target": [ "Хотя эти два правила будут работать, столь специфичные правила редко требуются. Для занятого сетевого администратора читаемый набор правил — это более безопасный набор правил. В оставшейся части этого раздела показано, как сохранять правила максимально простыми для удобочитаемости. Например, эти два правила можно заменить одним:" ], "id_hash": 3331196732019510446, "content_hash": 3331196732019510446, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:413", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 112, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 52, "source_unit": "https://translate-dev.freebsd.org/api/units/1219740/?format=api", "priority": 100, "id": 1786504, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=ae3ac9c740f70cae", "url": "https://translate-dev.freebsd.org/api/units/1786504/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.365383Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "pass from xl1:network to any port $ports keep state\n" ], "previous_source": "", "target": [ "pass from xl1:network to any port $ports keep state\n" ], "id_hash": -2251787503825291504, "content_hash": -2251787503825291504, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:417", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 113, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/358151/?format=api", "priority": 100, "id": 1786505, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=60c00b321cd47710", "url": "https://translate-dev.freebsd.org/api/units/1786505/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.365957Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "The `interface:network` notation can be replaced with a macro to make the ruleset even more readable. For example, a `$localnet` macro could be defined as the network directly attached to the internal interface (`$xl1:network`). Alternatively, the definition of `$localnet` could be changed to an _IP address/netmask_ notation to denote a network, such as `192.168.100.1/24` for a subnet of private addresses." ], "previous_source": "", "target": [ "Обозначение `interface:network` может быть заменено макросом для повышения читаемости набора правил. Например, можно определить макрос `$localnet` как сеть, непосредственно подключённую к внутреннему интерфейсу (`$xl1:network`). Или определение `$localnet` может быть изменено на _IP-адрес/маску сети_ для обозначения сети, например `192.168.100.1/24` для подсети частных адресов." ], "id_hash": -5017821112684097674, "content_hash": -5017821112684097674, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:422", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 114, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 60, "source_unit": "https://translate-dev.freebsd.org/api/units/1219742/?format=api", "priority": 100, "id": 1786506, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=3a5d1e4898024f76", "url": "https://translate-dev.freebsd.org/api/units/1786506/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.366480Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "If required, `$localnet` could even be defined as a list of networks. Whatever the specific needs, a sensible `$localnet` definition could be used in a typical pass rule as follows:" ], "previous_source": "", "target": [ "Если требуется, `$localnet` можно определить даже как список сетей. Независимо от конкретных потребностей, разумное определение `$localnet` может быть использовано в типичном правиле пропуска следующим образом:" ], "id_hash": -6692055859551758816, "content_hash": -6692055859551758816, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:425", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 115, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate-dev.freebsd.org/api/units/1219744/?format=api", "priority": 100, "id": 1786507, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=23210aa6da589620", "url": "https://translate-dev.freebsd.org/api/units/1786507/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.367054Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "pass from $localnet to any port $ports keep state\n" ], "previous_source": "", "target": [ "pass from $localnet to any port $ports keep state\n" ], "id_hash": 2622397293001338777, "content_hash": 2622397293001338777, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:429", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 116, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/358157/?format=api", "priority": 100, "id": 1786508, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=a464a071a54a6f99", "url": "https://translate-dev.freebsd.org/api/units/1786508/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.367598Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "The following sample ruleset allows all traffic initiated by machines on the internal network. It first defines two macros to represent the external and internal 3COM interfaces of the gateway." ], "previous_source": "", "target": [ "Следующий пример набора правил разрешает весь трафик, инициированный машинами во внутренней сети. Сначала определяются два макроса для представления внешнего и внутреннего интерфейсов 3COM настраиваемого шлюза." ], "id_hash": 3701977370232083555, "content_hash": 3701977370232083555, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:433", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 117, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate-dev.freebsd.org/api/units/1219746/?format=api", "priority": 100, "id": 1786509, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=b36010cde737d463", "url": "https://translate-dev.freebsd.org/api/units/1786509/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.368134Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "For dialup users, the external interface will use [.filename]#tun0#. For an ADSL connection, specifically those using PPP over Ethernet (PPPoE), the correct external interface is [.filename]#tun0#, not the physical Ethernet interface." ], "previous_source": "", "target": [ "Для пользователей коммутируемого доступа внешний интерфейс будет использовать [.filename]#tun0#. Для ADSL-подключения, особенно тех, которые используют PPP через Ethernet (PPPoE), правильный внешний интерфейс — это [.filename]#tun0#, а не физический Ethernet-интерфейс." ], "id_hash": 8578767233012246317, "content_hash": 8578767233012246317, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:438", "context": "", "note": "type: delimited block = 4", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 118, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/1219748/?format=api", "priority": 100, "id": 1786510, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=f70de7589e74a72d", "url": "https://translate-dev.freebsd.org/api/units/1786510/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.368711Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "ext_if = \"xl0\"\t# macro for external interface - use tun0 for PPPoE\nint_if = \"xl1\"\t# macro for internal interface\nlocalnet = $int_if:network\n# ext_if IP address could be dynamic, hence ($ext_if)\nnat on $ext_if from $localnet to any -> ($ext_if)\nblock all\npass from { lo0, $localnet } to any keep state\n" ], "previous_source": "", "target": [ "ext_if = \"xl0\"\t# macro for external interface - use tun0 for PPPoE\nint_if = \"xl1\"\t# macro for internal interface\nlocalnet = $int_if:network\n# ext_if IP address could be dynamic, hence ($ext_if)\nnat on $ext_if from $localnet to any -> ($ext_if)\nblock all\npass from { lo0, $localnet } to any keep state\n" ], "id_hash": 9010251535765416222, "content_hash": 9010251535765416222, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:449", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 119, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 54, "source_unit": "https://translate-dev.freebsd.org/api/units/358163/?format=api", "priority": 100, "id": 1786511, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=fd0ad8088e37291e", "url": "https://translate-dev.freebsd.org/api/units/1786511/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.369288Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "This ruleset introduces the `nat` rule which is used to handle the network address translation from the non-routable addresses inside the internal network to the IP address assigned to the external interface. The parentheses surrounding the last part of the nat rule `($ext_if)` is included when the IP address of the external interface is dynamically assigned. It ensures that network traffic runs without serious interruptions even if the external IP address changes." ], "previous_source": "", "target": [ "Этот набор правил вводит правило `nat`, которое используется для обработки преобразования сетевых адресов из не маршрутизируемых адресов внутри внутренней сети в IP-адрес, назначенный внешнему интерфейсу. Скобки вокруг последней части правила nat `($ext_if)` включаются, когда IP-адрес внешнего интерфейса назначается динамически. Это гарантирует, что сетевой трафик будет работать без серьёзных перебоев, даже если внешний IP-адрес изменится." ], "id_hash": 7964836720871368394, "content_hash": 7964836720871368394, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:454", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 120, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 72, "source_unit": "https://translate-dev.freebsd.org/api/units/1219750/?format=api", "priority": 100, "id": 1786512, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=ee88c8cc518666ca", "url": "https://translate-dev.freebsd.org/api/units/1786512/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.369852Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Note that this ruleset probably allows more traffic to pass out of the network than is needed. One reasonable setup could create this macro:" ], "previous_source": "", "target": [ "Обратите внимание, что этот набор правил, вероятно, разрешает больше трафика для выхода из сети, чем необходимо. Один из разумных вариантов настройки может создать этот макрос:" ], "id_hash": 4422070750807105264, "content_hash": 4422070750807105264, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:457", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 121, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/1219752/?format=api", "priority": 100, "id": 1786513, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=bd5e59eb31809ef0", "url": "https://translate-dev.freebsd.org/api/units/1786513/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.370501Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "client_out = \"{ ftp-data, ftp, ssh, domain, pop3, auth, nntp, http, \\\n https, cvspserver, 2628, 5999, 8000, 8080 }\"\n" ], "previous_source": "", "target": [ "client_out = \"{ ftp-data, ftp, ssh, domain, pop3, auth, nntp, http, \\\n https, cvspserver, 2628, 5999, 8000, 8080 }\"\n" ], "id_hash": -2095790889801554245, "content_hash": -2095790889801554245, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:462", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 122, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/358169/?format=api", "priority": 100, "id": 1786514, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=62ea414a29e0e6bb", "url": "https://translate-dev.freebsd.org/api/units/1786514/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.371068Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "to use in the main pass rule:" ], "previous_source": "", "target": [ "для использования в основном правиле пропуска:" ], "id_hash": -6289266672762476133, "content_hash": -6289266672762476133, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:465", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 123, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/358171/?format=api", "priority": 100, "id": 1786515, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=28b80948784a299b", "url": "https://translate-dev.freebsd.org/api/units/1786515/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.371597Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "pass inet proto tcp from $localnet to any port $client_out \\\n flags S/SA keep state\n" ], "previous_source": "", "target": [ "pass inet proto tcp from $localnet to any port $client_out \\\n flags S/SA keep state\n" ], "id_hash": -7083416437994764925, "content_hash": -7083416437994764925, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:470", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 124, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/358173/?format=api", "priority": 100, "id": 1786516, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=1db2a6477928c583", "url": "https://translate-dev.freebsd.org/api/units/1786516/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.372146Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "A few other pass rules may be needed. This one enables SSH on the external interface:" ], "previous_source": "", "target": [ "Еще могут понадобиться несколько других правил пропуска . Это правило включает SSH на внешнем интерфейсе:" ], "id_hash": -2273469272069119727, "content_hash": -2273469272069119727, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:474", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 125, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1219754/?format=api", "priority": 100, "id": 1786517, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=607303be0e8de111", "url": "https://translate-dev.freebsd.org/api/units/1786517/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.372677Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "pass in inet proto tcp to $ext_if port ssh\n" ], "previous_source": "", "target": [ "pass in inet proto tcp to $ext_if port ssh\n" ], "id_hash": 1516637976016874648, "content_hash": 1516637976016874648, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:478", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 126, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/358177/?format=api", "priority": 100, "id": 1786518, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=950c2e34255a6c98", "url": "https://translate-dev.freebsd.org/api/units/1786518/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.373206Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "This macro definition and rule allows DNS and NTP for internal clients:" ], "previous_source": "", "target": [ "Это определение макроса и правило разрешают DNS и NTP для внутренних клиентов:" ], "id_hash": 5984835539465966938, "content_hash": 5984835539465966938, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:481", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 127, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/358179/?format=api", "priority": 100, "id": 1786519, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=d30e6836d100955a", "url": "https://translate-dev.freebsd.org/api/units/1786519/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.373710Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "udp_services = \"{ domain, ntp }\"\npass quick inet proto { tcp, udp } to any port $udp_services keep state\n" ], "previous_source": "", "target": [ "udp_services = \"{ domain, ntp }\"\npass quick inet proto { tcp, udp } to any port $udp_services keep state\n" ], "id_hash": 8218688664375857623, "content_hash": 8218688664375857623, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:486", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 128, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate-dev.freebsd.org/api/units/358181/?format=api", "priority": 100, "id": 1786520, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=f20ea5cbb7a711d7", "url": "https://translate-dev.freebsd.org/api/units/1786520/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.374267Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Note the `quick` keyword in this rule. Since the ruleset consists of several rules, it is important to understand the relationships between the rules in a ruleset. Rules are evaluated from top to bottom, in the sequence they are written. For each packet or connection evaluated by PF, _the last matching rule_ in the ruleset is the one which is applied. However, when a packet matches a rule which contains the `quick` keyword, the rule processing stops and the packet is treated according to that rule. This is very useful when an exception to the general rules is needed." ], "previous_source": "", "target": [ "Обратите внимание на ключевое слово `quick` в этом правиле. Поскольку набор правил состоит из нескольких правил, важно понимать взаимосвязи между ними. Правила обрабатываются сверху вниз, в порядке их написания. Для каждого пакета или соединения, оцениваемого PF, _последнее совпадающее правило_ в наборе является тем, которое применяется. Однако, когда пакет совпадает с правилом, содержащим ключевое слово `quick`, обработка правил прекращается, и пакет обрабатывается в соответствии с этим правилом. Это очень полезно, когда требуется исключение из общих правил." ], "id_hash": -7617055959750202911, "content_hash": -7617055959750202911, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:494", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 129, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 99, "source_unit": "https://translate-dev.freebsd.org/api/units/1219756/?format=api", "priority": 100, "id": 1786521, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=164ac7f624d129e1", "url": "https://translate-dev.freebsd.org/api/units/1786521/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.374805Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Creating an FTP Proxy" ], "previous_source": "", "target": [ "Создание FTP-прокси" ], "id_hash": -3077233700092432215, "content_hash": -3077233700092432215, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:496", "context": "", "note": "type: Title ====", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 130, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/358185/?format=api", "priority": 100, "id": 1786522, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=554b7840ef2130a9", "url": "https://translate-dev.freebsd.org/api/units/1786522/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.375411Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Configuring working FTP rules can be problematic due to the nature of the FTP protocol. FTP pre-dates firewalls by several decades and is insecure in its design. The most common points against using FTP include:" ], "previous_source": "", "target": [ "Настройка рабочих правил FTP может быть проблематичной из-за особенностей протокола FTP. Протокол FTP появился на несколько десятилетий раньше межсетевых экранов и небезопасен по своей конструкции. Наиболее распространённые аргументы против использования FTP включают:" ], "id_hash": -6375395589783654930, "content_hash": -6375395589783654930, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:501", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 131, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://translate-dev.freebsd.org/api/units/1219758/?format=api", "priority": 100, "id": 1786523, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=27860b7d485a6dee", "url": "https://translate-dev.freebsd.org/api/units/1786523/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.375940Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Passwords are transferred in the clear." ], "previous_source": "", "target": [ "Пароли передаются в открытом виде." ], "id_hash": 6317499128629012956, "content_hash": 6317499128629012956, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:503", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 132, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/358189/?format=api", "priority": 100, "id": 1786524, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=d7ac43fc66c5a9dc", "url": "https://translate-dev.freebsd.org/api/units/1786524/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.376508Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "The protocol demands the use of at least two TCP connections (control and data) on separate ports." ], "previous_source": "", "target": [ "Протокол требует использования как минимум двух TCP-соединений (управляющего канала и канала данных) на отдельных портах." ], "id_hash": -4165313678800241527, "content_hash": -4165313678800241527, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:504", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 133, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/358191/?format=api", "priority": 100, "id": 1786525, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=4631d54725093c89", "url": "https://translate-dev.freebsd.org/api/units/1786525/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.377030Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "When a session is established, data is communicated using randomly selected ports." ], "previous_source": "", "target": [ "Когда сеанс установлен, данные передаются с использованием случайно выбранных портов." ], "id_hash": -980200177618563272, "content_hash": -980200177618563272, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:505", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 134, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/358193/?format=api", "priority": 100, "id": 1786526, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=7265a121bc454f38", "url": "https://translate-dev.freebsd.org/api/units/1786526/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.377552Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "All of these points present security challenges, even before considering any potential security weaknesses in client or server software. More secure alternatives for file transfer exist, such as man:sftp[1] or man:scp[1], which both feature authentication and data transfer over encrypted connections." ], "previous_source": "", "target": [ "Все эти моменты представляют собой проблемы безопасности, даже без учёта потенциальных уязвимостей в клиентском или серверном программном обеспечении. Более безопасные альтернативы для передачи файлов существуют, например, man:sftp[1] или man:scp[1], которые обеспечивают аутентификацию и передачу данных через зашифрованные соединения." ], "id_hash": -5981544611236561569, "content_hash": -5981544611236561569, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:508", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 135, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 41, "source_unit": "https://translate-dev.freebsd.org/api/units/1443482/?format=api", "priority": 100, "id": 1786527, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=2cfd48de1f17bd5f", "url": "https://translate-dev.freebsd.org/api/units/1786527/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.378082Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "For those situations when FTP is required, PF provides redirection of FTP traffic to a small proxy program called man:ftp-proxy[8], which is included in the base system of FreeBSD. The role of the proxy is to dynamically insert and delete rules in the ruleset, using a set of anchors, to correctly handle FTP traffic." ], "previous_source": "", "target": [ "Для случаев, когда требуется FTP, PF предоставляет возможность перенаправления FTP-трафика на небольшую прокси-программу под названием man:ftp-proxy[8], которая включена в базовую систему FreeBSD. Роль прокси заключается в динамическом добавлении и удалении правил в наборе правил, используя набор якорей, для корректной обработки FTP-трафика." ], "id_hash": -5701890535054646372, "content_hash": -5701890535054646372, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:511", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 136, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 54, "source_unit": "https://translate-dev.freebsd.org/api/units/1219762/?format=api", "priority": 100, "id": 1786528, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=30ded0c4ade7e39c", "url": "https://translate-dev.freebsd.org/api/units/1786528/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.378655Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "To enable the FTP proxy, add this line to [.filename]#/etc/rc.conf#:" ], "previous_source": "", "target": [ "Чтобы включить FTP-прокси, добавьте следующую строку в [.filename]#/etc/rc.conf#:" ], "id_hash": 7130140426301460073, "content_hash": 7130140426301460073, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:513", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 137, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/358199/?format=api", "priority": 100, "id": 1786529, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=e2f358f0cc59ce69", "url": "https://translate-dev.freebsd.org/api/units/1786529/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.379206Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "ftpproxy_enable=\"YES\"\n" ], "previous_source": "", "target": [ "ftpproxy_enable=\"YES\"\n" ], "id_hash": -1854123482362062937, "content_hash": -1854123482362062937, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:517", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 138, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/358201/?format=api", "priority": 100, "id": 1786530, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=6644d484301957a7", "url": "https://translate-dev.freebsd.org/api/units/1786530/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.379808Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Then start the proxy by running:" ], "previous_source": "", "target": [ "Затем запустите прокси, выполнив:" ], "id_hash": 6964231528324742296, "content_hash": 6964231528324742296, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:520", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 139, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1443484/?format=api", "priority": 100, "id": 1786531, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=e0a5ebad4b5f3c98", "url": "https://translate-dev.freebsd.org/api/units/1786531/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.380336Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "# service ftp-proxy start\n" ], "previous_source": "", "target": [ "# service ftp-proxy start\n" ], "id_hash": -8093069514814945338, "content_hash": -8093069514814945338, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:524", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 140, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1443486/?format=api", "priority": 100, "id": 1786532, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=0fafa427bae987c6", "url": "https://translate-dev.freebsd.org/api/units/1786532/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.380865Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "For a basic configuration, three elements need to be added to [.filename]#/etc/pf.conf#. First, the anchors which the proxy will use to insert the rules it generates for the FTP sessions:" ], "previous_source": "", "target": [ "Для базовой конфигурации необходимо добавить три элемента в [.filename]#/etc/pf.conf#. Во-первых, якоря, которые прокси будет использовать для вставки правил, генерируемых для FTP-сессий:" ], "id_hash": 838773345247667330, "content_hash": 838773345247667330, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:528", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 141, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 30, "source_unit": "https://translate-dev.freebsd.org/api/units/1219764/?format=api", "priority": 100, "id": 1786533, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=8ba3ebe9da8da482", "url": "https://translate-dev.freebsd.org/api/units/1786533/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.381405Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "nat-anchor \"ftp-proxy/*\"\nrdr-anchor \"ftp-proxy/*\"\n" ], "previous_source": "", "target": [ "nat-anchor \"ftp-proxy/*\"\nrdr-anchor \"ftp-proxy/*\"\n" ], "id_hash": -2546152312631379935, "content_hash": -2546152312631379935, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:533", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 142, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/358207/?format=api", "priority": 100, "id": 1786534, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=5caa3ff635913821", "url": "https://translate-dev.freebsd.org/api/units/1786534/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.381962Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Second, a pass rule is needed to allow FTP traffic in to the proxy." ], "previous_source": "", "target": [ "Во-вторых, необходимо правило pass, чтобы разрешить FTP-трафик к прокси." ], "id_hash": 6892973353788687312, "content_hash": 6892973353788687312, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:536", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 143, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/358209/?format=api", "priority": 100, "id": 1786535, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=dfa8c2bea6cec3d0", "url": "https://translate-dev.freebsd.org/api/units/1786535/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.382474Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Third, redirection and NAT rules need to be defined before the filtering rules. Insert this `rdr` rule immediately after the `nat` rule:" ], "previous_source": "", "target": [ "Третье, правила перенаправления и NAT должны быть определены до правил фильтрации. Вставьте это правило `rdr` сразу после правила `nat`:" ], "id_hash": 4831080055263519347, "content_hash": 4831080055263519347, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:539", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 144, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/1219766/?format=api", "priority": 100, "id": 1786536, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=c30b71b6cf74e273", "url": "https://translate-dev.freebsd.org/api/units/1786536/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.383012Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "rdr pass on $int_if proto tcp from any to any port ftp -> 127.0.0.1 port 8021\n" ], "previous_source": "", "target": [ "rdr pass on $int_if proto tcp from any to any port ftp -> 127.0.0.1 port 8021\n" ], "id_hash": -5405399351996047742, "content_hash": -5405399351996047742, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:543", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 145, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/358213/?format=api", "priority": 100, "id": 1786537, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=34fc29edab261e82", "url": "https://translate-dev.freebsd.org/api/units/1786537/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.383553Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Finally, allow the redirected traffic to pass:" ], "previous_source": "", "target": [ "Наконец, разрешите перенаправленному трафику проходить:" ], "id_hash": -441116596742129483, "content_hash": -441116596742129483, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:546", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 146, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/358215/?format=api", "priority": 100, "id": 1786538, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=79e0d6cadaa7f8b5", "url": "https://translate-dev.freebsd.org/api/units/1786538/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.384070Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "pass out proto tcp from $proxy to any port ftp\n" ], "previous_source": "", "target": [ "pass out proto tcp from $proxy to any port ftp\n" ], "id_hash": -1024335652528536078, "content_hash": -1024335652528536078, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:550", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 147, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/358217/?format=api", "priority": 100, "id": 1786539, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=71c8d426b444c5f2", "url": "https://translate-dev.freebsd.org/api/units/1786539/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.384614Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "where `$proxy` expands to the address the proxy daemon is bound to." ], "previous_source": "", "target": [ "где `$proxy` раскрывается в адрес, к которому привязан демон прокси." ], "id_hash": -8766822840260769431, "content_hash": -8766822840260769431, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:553", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 148, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/358219/?format=api", "priority": 100, "id": 1786540, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=0655fd134d79c969", "url": "https://translate-dev.freebsd.org/api/units/1786540/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.385136Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Save [.filename]#/etc/pf.conf#, load the new rules, and verify from a client that FTP connections are working:" ], "previous_source": "", "target": [ "Сохраните [.filename]#/etc/pf.conf#, загрузите новые правила и проверьте с клиента, что FTP-подключения работают:" ], "id_hash": 2546159409987626132, "content_hash": 2546159409987626132, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:555", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 149, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/358221/?format=api", "priority": 100, "id": 1786541, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=a355c67e45d4a494", "url": "https://translate-dev.freebsd.org/api/units/1786541/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.385645Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "This example covers a basic setup where the clients in the local network need to contact FTP servers elsewhere. This basic configuration should work well with most combinations of FTP clients and servers. As shown in man:ftp-proxy[8], the proxy's behavior can be changed in various ways by adding options to the `ftpproxy_flags=` line. Some clients or servers may have specific quirks that must be compensated for in the configuration, or there may be a need to integrate the proxy in specific ways such as assigning FTP traffic to a specific queue." ], "previous_source": "", "target": [ "Этот пример описывает базовую настройку, когда клиенты в локальной сети должны обращаться к FTP-серверам в других местах. Данная базовая конфигурация должна хорошо работать с большинством комбинаций FTP-клиентов и серверов. Как показано в man:ftp-proxy[8], поведение прокси можно изменить различными способами, добавляя параметры в строку `ftpproxy_flags=`. Некоторые клиенты или серверы могут иметь специфические особенности, которые необходимо учитывать в конфигурации, или может возникнуть необходимость интегрировать прокси определённым образом, например, назначить FTP-трафик в определённую очередь." ], "id_hash": -2890325774267692513, "content_hash": -2890325774267692513, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:565", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 150, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 91, "source_unit": "https://translate-dev.freebsd.org/api/units/1219768/?format=api", "priority": 100, "id": 1786542, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=57e380059b9e4a1f", "url": "https://translate-dev.freebsd.org/api/units/1786542/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.386185Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "For ways to run an FTP server protected by PF and man:ftp-proxy[8], configure a separate `ftp-proxy` in reverse mode, using `-R`, on a separate port with its own redirecting pass rule." ], "previous_source": "", "target": [ "Для способов запуска FTP-сервера, защищённого PF и man:ftp-proxy[8], настройте отдельный `ftp-proxy` в обратном режиме с использованием `-R` на отдельном порту с собственным правилом перенаправления pass." ], "id_hash": -2868922918643726374, "content_hash": -2868922918643726374, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:567", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 151, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/358225/?format=api", "priority": 100, "id": 1786543, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=582f89ce424387da", "url": "https://translate-dev.freebsd.org/api/units/1786543/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.386841Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/ru/?format=api", "source": [ "Managing ICMP" ], "previous_source": "", "target": [ "Управление ICMP" ], "id_hash": -8328268451715588370, "content_hash": -8328268451715588370, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:569", "context": "", "note": "type: Title ====", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 152, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/358227/?format=api", "priority": 100, "id": 1786544, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/ru/?checksum=0c6c0bf7dd665eee", "url": "https://translate-dev.freebsd.org/api/units/1786544/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-05-25T08:02:58.387394Z" } ] }