这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版 | |||
班牌使用pppoe拨号上网设置 [2020/12/08 15:14] – yangtianquan | 班牌使用pppoe拨号上网设置 [2020/12/08 15:21] (当前版本) – yangtianquan | ||
---|---|---|---|
行 8: | 行 8: | ||
lcp-echo-interval 10 | lcp-echo-interval 10 | ||
lcp-echo-failure 2 | lcp-echo-failure 2 | ||
- | ms-dns | + | ms-dns |
行 17: | 行 17: | ||
---------------/ | ---------------/ | ||
name * " | name * " | ||
- | test * “123456” * | + | test * "123456" |
4、 启动PPPoE Server: | 4、 启动PPPoE Server: | ||
行 54: | 行 54: | ||
[Install] | [Install] | ||
WantedBy=multi-user.target | WantedBy=multi-user.target | ||
+ | |||
+ | 7、开机自启 | ||
+ | systemctl enable ppp | ||
+ | |||
+ | 8、iptables持久化设置 | ||
+ | |||
+ | ### | ||
+ | iptables-save > / | ||
+ | |||
+ | ### | ||
+ | touch / | ||
+ | chmod +x / | ||
+ | ### | ||
+ | #!/bin/sh | ||
+ | iptables -F | ||
+ | / | ||
``` | ``` |