compiled and installed.....

I think I am close. I have PPPoE setup and its giving me my correct
address (see below). I did run routeadm and setup IP forwarding.


bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 index 2
        inet 192.168.1.1 netmask ffffff00 broadcast 192.168.1.255
        ether 0:d:60:f:e7:3c
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,ROUTER,IPv4,FIXEDMTU> mtu 1492 index 4
        inet 65.x.x.131 --> 65.x.x.1 netmask ff000000
        ether 0

I ran ifconfig {} modlist and see the following:
# ifconfig bge0 modlist
0 arp
1 ip
2 pfil
3 bge

and I did add 'plink' to /etc/ppp/options
and when sppp0 comes up..it has 'pfil' in it as it should.

my ipf.conf is simple:
----------------------
# Pass LAN traffic on bge0 to WAN on sppp0
pass in quick on bge0 all keep state keep frags
pass out quick on bge0 all keep state keep frags

# Pass traffic to WAN and keep state
pass out quick on sppp0 proto tcp all flags S keep state keep frags
pass out quick on sppp0 proto udp all keep state keep frags
pass out quick on sppp0 proto icmp all keep state keep frags
----------------------

and my ipnat.conf:
------------------
map bge1 192.168.1.0/24 -> 65.x.x.131/32 portmap tcp/udp auto
map bge1 192.168.1.0/24 -> 65.x.x.131/32


When I try and use my network...nothing is passed out.

ipnat -l
shows NO list of active sessions. I dont even see any efforts to create nat to send traffic out...

How can I trouble shoot this??

-JD

Reply via email to