Re: User PPP and PF interoperability problem
From: Michel Talon (talon_at_lpthe.jussieu.fr)
Date: 03/27/05
- Next message: Understudy: "Re: dell gx260 sound answer"
- Previous message: Matthew X. Economou: "User PPP and PF interoperability problem"
- In reply to: Matthew X. Economou: "User PPP and PF interoperability problem"
- Next in thread: David Magda: "Re: User PPP and PF interoperability problem"
- Reply: David Magda: "Re: User PPP and PF interoperability problem"
- Reply: Matthew X. Economou: "Re: User PPP and PF interoperability problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Mar 2005 21:21:41 +0000 (UTC)
Matthew X. Economou <xenophon+usenet@irtnog.org> wrote:
> All,
>
> I am trying to use the PF firewall with user PPP. (The Internet
> connection at that location uses PPPoE.) Unfortunately, if I disable
> NAT mode in PPP and enable the PF firewall in its place, I am unable
> to access the Internet. Of course, routing is enabled
> ('gateway_enable="YES"' in /etc/rc.conf), and the PF NAT appears to be
> configured properly (e.g. 'nat on tun0 proto {tcp udp icmp} from
> 10.64.0.0/24 to any -> (tun0)'). A scan of the relevant documentation
> on www.freebsd.org and on groups.google.com (freebsd "user ppp" pf)
> doesn't result in any helpful documentation
>
> Any suggestions? A few articles mentioned having to compile IPFW into
> the kernel in order to use it with user PPP. Does anyone know why?
> Does the same limitation apply to PF? Can I cheat by changing the
> order in which PF and user PPP are enabled by the startup scripts
> (i.e. perhaps there is some interface initialization that should
> happen within PF before user PPP brings up tun0)?
Here i am using ipfilter with the following rule:
map ueagle0 192.168.0.0/24 -> my.external.ip.adress/32
where ueagle0 is my adsl modem (tun0 fro you).
This works great. From reading the pf.conf man page i suspect you need
nat on ppp0 from 10.64.0.0/24 to any -> your.external.ip.adress
Anyways no need to use ipfw natd and all that stuff.
>
> Best wishes,
> Matthew
>
-- Michel TALON
- Next message: Understudy: "Re: dell gx260 sound answer"
- Previous message: Matthew X. Economou: "User PPP and PF interoperability problem"
- In reply to: Matthew X. Economou: "User PPP and PF interoperability problem"
- Next in thread: David Magda: "Re: User PPP and PF interoperability problem"
- Reply: David Magda: "Re: User PPP and PF interoperability problem"
- Reply: Matthew X. Economou: "Re: User PPP and PF interoperability problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|