[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    ipfilter + ipnat + user-ppp + FreeBSD 4.7
From:       Andy Gale <andy () inty ! net>
Date:       2002-11-21 13:06:52
[Download RAW message or body]

Hello,

Can someone please confirm which order packets coming in an ethernet 
interface (fxp0) and going out via an tunnel interface (tun0) via ppp 
will hit the ipfilter, ipnat etc.    

The ipnat.rules file:

  map tun0 192.168.0.0/24 -> 0/32 proxy port ftp ftp/tcp
  map tun0 192.168.0.0/24 -> 0/32

The ipf.rules files:

  pass any to any via any

As I understand it, this will happen...

   packet comes into fxp0
  
                 |

         ipfilter firewall

                 |

            user-ppp 

                 |

              ipnat 
 
                 |

         ipfilter firewall
   
                 |

     packet goes out tun0

This seems to be what I'm experiencing.  Am I correct?

Cheers,

Andy
--
Andy Gale 
Developer, intY Ltd, Bristol, UK
[e: andy@inty.net w: www.inty.net t: +44 (0)1454 640500] 


intY has scanned this email for all known viruses (www.inty.com)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic