Home
Configure
Kernel Configurations
Kernel for PPPoE or PPTP servers
Configure
Kernel Configurations
Kernel for PPPoE or PPTP servers | Kernel for PPPoE or PPTP server |
|
|
|
For building a PPPoE or PPTP server with mpd you will need netgraph support in kernel. Copy GENERIC file to a new file, for example SERVER (GENERIC file is
located in /usr/src/sys/i386/conf) then edit and add the following
options: # -------- append this to SERVER kernel configuration file ------------- options NETGRAPH options NETGRAPH_PPPOE options NETGRAPH_SOCKET options NETGRAPH_CISCO options NETGRAPH_ECHO options NETGRAPH_FRAME_RELAY options NETGRAPH_HOLE options NETGRAPH_KSOCKET options NETGRAPH_LMI options NETGRAPH_RFC1490 options NETGRAPH_TTY options NETGRAPH_ASYNC options NETGRAPH_BPF options NETGRAPH_ETHER options NETGRAPH_IFACE options NETGRAPH_KSOCKET options NETGRAPH_L2TP options NETGRAPH_MPPC_ENCRYPTION options NETGRAPH_PPP options NETGRAPH_PPTPGRE options NETGRAPH_TEE options NETGRAPH_UI options NETGRAPH_VJC options BRIDGE options DEVICE_POLLING options IPSTEALTH # ------------------ end of SERVER configuration file Comments: To this PPPoE or PPTP server using MPD you might need to use a firewall and a traffic shaping application so you might want to add support for IPFW or PF (with ALTQ) in kernel. For adding IPFW support see this page. For adding PF support in kernel visit this page. |



