Archive for March, 2009
The most competent console tool for this in FreeBSD is probably Mpd5. It’s quite easy to work with but you’ll need to get all the details right otherwise it just won’t work. The following mpd.conf configuration file worked for me and allowed me to successfully connect to a Windows VPN. One of the keys were to disable EAP, this particular VPN server just plain refused to work with it enabled
Save it to a file, say mpd.conf in /usr/local/etc/mpd.conf and simply run mpd5 mpd.conf and with some luck you’ll be connected the the VPN. The order of the statements are important. As they only apply to the current selected link (create link) or bundle (create bundle). Keep this in mind when editing. Windows logon nameIf you’re connecting to a Windows network you’ll probably need to use “DOMAIN\\username” as the authname (with the quotes and double backslash). Firewall and NAT issuesThe PPTP protocol is far from ideal. If you’re behind NAT chances are you won’t be able to do multiple PPTP connections to the same VPN server from within your LAN. You’ll also need to allow the GRE protocol through, with Free/OpenBSD pf (packet filter) the following line is enough (you still won’t be able to do simultaneous connections to the same server though) pass out on $ext_if proto gre from ($ext_if) to any keep state Replace $ext_if with your external network interface.
Mar
03
2009
DSPAM: Converting from the hash driver to MySQL driverPosted by fli in Tech, tags: DSPAM, hash, MySQL, SQL…or annoyances with the DSPAM hash driverI’ve been running DSPAM for a long time and the spam classification is great, unfortunately the maintenance tools are not as it turns out. This is the tale of why and more especially HOW I moved from the hash driver to the mysql driver as a backend for my DSPAM installation.
|
Entries (RSS)