Some tips for troubleshooting. (This section is under construction).
For further help, subscribe to the freebsd-net@freebsd.org
mailing list and ask your question there.
Make sure you have set gateway_enable="YES"
in /etc/rc.conf
, otherwise your FreeBSD box will not
route packets.
Alternately, invoke sysctl -w net.inet.ip.forwarding=1
for immediate effect.
Also, check your firewall settings. Mpd will create new interfaces which may need to be incorporated into your firewall rules. If you're doing PPTP, you need to allow TCP port 1723 and IP protocol 47 (GRE).
Make sure you have all the required netgraph KLD's loaded.
You can check them by doing kldstat -v | grep ng_
.
Usually these are loaded on demand. If not, you can load them
manually using kldload(8)
.
The following node types are or may be needed:
ng_ppp
ng_socket
ng_iface
ng_bpf
ng_vjc
ng_mppc
ng_pptpgre
ng_ksocket
ng_tty
ng_pppoe
Upgrade to a version of FreeBSD newer than 4.7-RELEASE. Or apply this patch manually.