PPPoE pass-through

Written by

in

, ,

Setup PPPoE pass-through to connect to external with regular port via IPv6 environment.

Install PPP

Now a days, using PPP and PPPoE module is a trend for PPPoE pass-through.

$ sudo pacman -S ppp

Create connection configuration file

$ sudo vi /etc/ppp/peers/dsl-provider
plugin pppoe.so

# Network interface
eth0

# Login name
name "<<LOGIN NAME>>"

usepeerdns
persist
defaultroute
hide-password
noauth

Notice: Here, <<LOGIN NAME>> is your login name of your provider. And the login name should be double quated.

Create secrets file

$ sudo vi /etc/ppp/chap-secrets
"<<LOGIN NAME>>" * "<<PASSWORD>>"

Notice: Here, <<LOGIN NAME>> is your login name and <<PASSWORD>> is your password of your provider. The login name and the password should be double quoated.

Link to provider

$ sudo ln -s /etc/ppp/peers/dsl-provider
  /etc/ppp/peers/provider

Notice: You must use absolute path to make a link.

Connect and Disconnect

Connect

$ sudo pon

Disconnect

$ sudo poff provider

Connect on boot

Edit /etc/modules-load.d/ppp_generic.conf

$ sudo vi /etc/modules-load.d/ppp_generic.conf

Add the following line.

ppp_generic

Enable ppp@provider service.

$ sudo systemctl enable ppp@provider.service

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *