Re: DIOCCHANGEADDR in 3.3-stable

2003-08-10 Thread Daniel Hartmeier
On Fri, Aug 08, 2003 at 05:15:16PM -0400, Jonathan S. Keim wrote: Has anyone used the pf(4) DIOCCHANGEADDR ioctl(2) in 3.3-stable or -current that might have some example code for how it's meant to be used? I've been beating my head against it for a whole day and all I'm getting is a bruise

multiple redirects and spamd

2003-08-10 Thread Johan Huldtgren
Hi, I am trying to protect my mailserver from spam with pf and spamd and have run into some problems. My mailserver sits on my LAN protected by my 3.3-current firewall. The firewall redirects smtp, web, and so on to the appropriate machine on the lan, my smtp rdr is as follows: rdr on $ext_if

Re: Nat broken, using PPP (PPPoE)

2003-08-10 Thread j knight
james silliman wrote: Which one should I use, #1 with tun0, or 2 with dc0? 1. nat on tun0 from 192.168.1.0/24 to any - tun0 This one. Make sure you're using tun0 in your filtering rules as well because dc0 will only see the encapsulated packets. .joel