This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_pppoe [2020/09/02 08:31] val |
сервис_pppoe [2023/01/27 18:51] (current) val [pppoe-relay] |
||
---|---|---|---|
Line 4: | Line 4: | ||
* [[Сервисы Gateway и routing]] | * [[Сервисы Gateway и routing]] | ||
* [[Сервис NAT]] | * [[Сервис NAT]] | ||
+ | * Сервис Firewall [[Сервис Firewall#Конфигурация для шлюза WAN - LAN]] | ||
* [[Сервис PPP]] | * [[Сервис PPP]] | ||
Line 87: | Line 88: | ||
[gate:~] # /etc/rc.d/routing restart | [gate:~] # /etc/rc.d/routing restart | ||
+ | </code> | ||
+ | |||
+ | ===== pppoe-relay ===== | ||
+ | |||
+ | <code> | ||
+ | # apt install pppoe | ||
+ | |||
+ | # ip l set eth0 up | ||
+ | |||
+ | # sysctl net.ipv4.ip_forward=1 | ||
+ | |||
+ | # pppoe-relay -S eth1 -C eth0 | ||
</code> | </code> | ||