On 9/13/06, Monah Baki <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Yesterday I just received 8 public IP addresses from my ISP. I'm running
> ppp on my OpenBSD 3.9 server (DSL).
> My xl0 has the public IP address (67.100.x.x) provided to me by my ISP, my
> xl1 interface is my 192.168.3.1
> Once I run /usr/sbin/ppp -ddial pppoe, my tun0 gets created
>
> If I issue a netstat -an, I see the 5 other public IP addresses given to
> me.
>
> Now I have 4 other machines behind the OBSD box, in the 192.168.3.x IP
> range.
>
> My NAT rule is:
> nat on xl1 from 192.168.3.0/24 to any -> xl0
>
> Now if I were to assign the gateway on my internal hosts the IP address of
> xl1 on my BSD box, I can't seem to access the internet.
>
> Now if I were to assign one of the public interfaces on one of the
> internal machines, and the gateway is the IP address of xl0 on my BSD box,
> it works fine.
>
>
> Hope this makes sense, cause I'm completely lost as to why something that
> was working on a single IP, I introduced 8 other IP's and it does not work
> anymore.
> Nothing has changed in my pf.rule file, only the new 8 IP addresses.
>
>
> Thank you
>
> BSD Networking, Microsoft Notworking
>
>

Maybe I'm wrong, but usually you perform NAT on the external interface (in
your case it looks to be xl0).  You might also want to read the FAQ on how
to do NAT properly.  Based on your description (which is a bit unclear so
maybe I'm wrong) it doesn't sound like you ever had NAT working properly...

Also, post your pf.conf and take Joachim's advice about tcpdump'ing on
pflog0 and the other interfaces.

Kian

Reply via email to