Personal tools
You are here: Home Tips and Tricks (old) Using PPPoE with PF on FreeBSD Mini-HOWTO
Document Actions

Using PPPoE with PF on FreeBSD Mini-HOWTO

by xenophon — last modified 2005-09-15 18:50

The user-space PPP client includes its own firewall software that is incompatible with PF. Instead, one must use MPD (a multi-link PPP daemon for FreeBSD), configuring it to start PF with the PPPoE connection.

These instructions are based in part on the Daemon News article "DSL Router for FreeBSD with MPD and PF", written by Jan Stocker.

This document assumes FreeBSD 5.3 is installed, with certain tools from the ports tree already installed and configured.

To install and configure MPD with support for PF:

  1. Install net/mpd from the ports tree with the following commands:
    portinstall -m BATCH=yes net/mpd
    rehash
    
  2. MPD uses netgraph(4) but does not include commands to load netgraph in MPD's startup scripts. Configure netgraph to load at boot time with the following commands:
    ed /boot/loader.conf
    a
    # net/mpd (multi-link PPP daemon)
    ng_ether_load="YES"
    .
    wq
    kldload ng_ether
    
« November 2008 »
Su Mo Tu We Th Fr Sa
1
2345678
9101112131415
16171819202122
23242526272829
30
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: