Hello,
I would like to run PPPoE Server on FreeBSD, in FreeBSD handbook it's configuring FreeBSD as client only and I've read ppp(8), but unfortunately for me it's very hard to understand luckily it's mentioned /usr/share/examples/ppp/ppp.conf.sample as example. so I found PPPoE server example which it didn't work.
So any idea about what I've missed? plus I didn't find any howto at google
And I wonder if the pppd built-in FreeBSD or net/mpd5 is better option and why, thank you for your continues support
I would like to run PPPoE Server on FreeBSD, in FreeBSD handbook it's configuring FreeBSD as client only and I've read ppp(8), but unfortunately for me it's very hard to understand luckily it's mentioned /usr/share/examples/ppp/ppp.conf.sample as example. so I found PPPoE server example which it didn't work.
Code:
# ppp supports ppp over ethernet (PPPoE). Beware, many PPP servers cache
# the MAC address that connects to them, making it impossible to switch
# your PPPoE connection between machines.
#
# The current implementation requires Netgraph, so it doesn't work with
# OpenBSD or NetBSD.
#
# The client should be something like this:
#
pppoe:
set device PPPoE:de0:pppoe-in
enable lqr echo
set cd 5
set dial
set login
set redial 0 0
# And the server should be running
#
# /usr/libexec/pppoed -p pppoe-in fxp0
#
# See rc.conf(5)
#
pppoe-in:
allow mode direct # Only for use on server-side
enable lqr echo proxy # Enable LQR and proxy-arp
enable chap pap passwdauth # Force client authentication
set ifaddr 10.0.0.1 10.0.0.100-10.0.0.199 # Hand out up to 100 IP numbers
accept dns # Allow DNS negotiation
So any idea about what I've missed? plus I didn't find any howto at google
And I wonder if the pppd built-in FreeBSD or net/mpd5 is better option and why, thank you for your continues support