DNF Установка iptables-services –y
echo net.ipv4.ip_forward = 1> /etc/sysctl.conf
Systemctl inable –-now iptables neptables –t nat –a opstrouting –1166.06.0.06.06.0.06.0.06.0.06.0.0.06.0.0.06.0.06. MASQUERADE
iptables –t nat –a postrouting –s 172.16.50.0/28 –O ENS3 –J MASQUERADE
iptables-save>/etc/sysconfig/iptables
Systemctl Aptart Iptables lysctables systemctlart lyptables systemctlart systemctlart systemctlart systemctl -p
iptables –l –t nat
nano/etc/sysconfig/iptables yadalitth do Commit (?) 172.16.50.14
В nmtui
To hq – 172.16.40.14/28
To br – 172.16.50.14/28
HQ-RTR
en
conf t
int isp
ip Добавить 172.16.40.1/28
incapsulation te0
service-instance toisp
incapsulation untagged
connect interface isp
do />en
conf t
int ISP
ip add 172.16.50.1/28
port te0
service-instance toISP
encapsulation untagged
connect ip interface ISP
do wr mem
К. С. 172.16.50.0/28
Подробнее здесь: https://stackoverflow.com/questions/796 ... %b0-red-os
Настройка роутеров на RED OS [closed] ⇐ Linux
1748489892
Anonymous
DNF Установка iptables-services –y
echo net.ipv4.ip_forward = 1> /etc/sysctl.conf
Systemctl inable –-now iptables neptables –t nat –a opstrouting –1166.06.0.06.06.0.06.0.06.0.06.0.0.06.0.0.06.0.06. MASQUERADE
iptables –t nat –a postrouting –s 172.16.50.0/28 –O ENS3 –J MASQUERADE
iptables-save>/etc/sysconfig/iptables
Systemctl Aptart Iptables lysctables systemctlart lyptables systemctlart systemctlart systemctlart systemctl -p
iptables –l –t nat
nano/etc/sysconfig/iptables yadalitth do Commit (?) 172.16.50.14
В nmtui
To hq – 172.16.40.14/28
To br – 172.16.50.14/28
HQ-RTR
en
conf t
int isp
ip Добавить 172.16.40.1/28
incapsulation te0
service-instance toisp
incapsulation untagged
connect interface isp
do />en
conf t
int ISP
ip add 172.16.50.1/28
port te0
service-instance toISP
encapsulation untagged
connect ip interface ISP
do wr mem
К. С. 172.16.50.0/28
Подробнее здесь: [url]https://stackoverflow.com/questions/79643256/%d0%9d%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d1%80%d0%be%d1%83%d1%82%d0%b5%d1%80%d0%be%d0%b2-%d0%bd%d0%b0-red-os[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия