Re: Routing with external interface doesn't work after a while

2006-10-18 Thread Erik Norgaard
Martin Turgeon wrote: You're right on this, the filtering rules aren't written with the brackets. But isn't pf routing the packets to an interface instead of an IP address. I can't tell you if this affects your setup since I have't seen the ruleset. You're going to tag then nat and then fil

RE: Routing with external interface doesn't work after a while

2006-10-18 Thread Martin Turgeon
1 À : Martin Turgeon Cc : freebsd-pf@freebsd.org; [EMAIL PROTECTED]; freebsd-questions@freebsd.org Objet : Re: Routing with external interface doesn't work after a while Martin Turgeon wrote: > The NAT rules are already written that way: > > nat on $wan_if tag LAN_WAN_NAT tagged LAN

Re: Routing with external interface doesn't work after a while

2006-10-18 Thread Erik Norgaard
Martin Turgeon wrote: The NAT rules are already written that way: nat on $wan_if tag LAN_WAN_NAT tagged LAN_WAN -> ($wan_if) nat on $wan_if tag WLS_WAN_NAT tagged WLS_WAN -> ($wan_if) nat on $wan_if tag AP_WAN_NAT tagged AP_WAN -> ($wan_if) nat on $wan_if tag VPN_WAN_NAT tagged VPN_WAN -> ($wan_

Re: Routing with external interface doesn't work after a while

2006-10-18 Thread Erik Norgaard
Martin Turgeon wrote: I've been reading the mailing list for a while, but it's my first post. I'm not sure what is causing the problem so I'm posting to multiple lists. I'm running FreeBSD 6.1 on a Celeron 2.8GHz with 512Mo of RAM. It looks likes after a while (a couple of weeks) the routing isn

RE: Routing with external interface doesn't work after a while

2006-10-18 Thread Martin Turgeon
hanks anyway Martin -Message d'origine- De : Erik Norgaard [mailto:[EMAIL PROTECTED] Envoyé : 18 octobre 2006 10:30 À : Martin Turgeon Cc : freebsd-pf@freebsd.org; [EMAIL PROTECTED]; freebsd-questions@freebsd.org Objet : Re: Routing with external interface doesn't work after a while

Re: Routing with external interface doesn't work after a while

2006-10-18 Thread Joe
Erik Norgaard wrote: There is some trick to handle that, IIRC something like this would do: ext_if=fxp0 # external interface nat on $ext_if from to ! -> ($ext_if) The () means that pf will lookup the ip on that interface, and update dynamically when the ip changes. That is correct. __

Re: Routing with external interface doesn't work after a while

2006-10-18 Thread Erik Norgaard
Martin Turgeon wrote: I've been reading the mailing list for a while, but it's my first post. I'm not sure what is causing the problem so I'm posting to multiple lists. I'm running FreeBSD 6.1 on a Celeron 2.8GHz with 512Mo of RAM. It looks likes after a while (a couple of weeks) the routing isn

Routing with external interface doesn't work after a while

2006-10-18 Thread Martin Turgeon
Hi everyone, I've been reading the mailing list for a while, but it's my first post. I'm not sure what is causing the problem so I'm posting to multiple lists. I'm running FreeBSD 6.1 on a Celeron 2.8GHz with 512Mo of RAM. It looks likes after a while (a couple of weeks) the routing isn't worki