![]() TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 Iptables -table nat -append POSTROUTING -out-interface $ -j REJECT All scripts in this directory are run every time a tunnel comes up so an if statement checks that this script is relevant by matching the IPPARAM value passed by the PPP script. This script configures the iptables firewall and changes the default route to use the PPPoE tunnel. lsĠ000usepeerdns 000resolvconf eircom MPN-UK 0clampmss Ip-down.d ipv6-down ipv6-up.d pap-secretsĬreate a new startup script for the PPPoE service to set up the firewall rules and change the default route. lsĬhap-secrets ip-up ipv6-down.d options peers To manually start the eircom PPPoE pon eircomĪll scripts in /etc/ppp/ip-up.d are run whenever a tunnel comes up. Username and password are stored in a separate file /etc/ppp/chap-secrets cat * "broadband1" Create a file in /etc/ppp/peers with the PPPoE details. Internet connectivity is provided by eircom broadband using PPPoE.
0 Comments
Leave a Reply. |