可以让在路由器后面的主机在需要时单独拨号,以便获取独立的公网ip。
[Unit]
Description=pppoe relay
[Service]
Type=forking
ExecStart=/usr/sbin/pppoe-relay -S ens18 -C ens19
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
[Install]
WantedBy=multi-user.target
-S 服务端所在接口
-C 客户端所在接口
0 条评论