On 23/02/09 10:28 PM, Hao Wu wrote:
Hi,

Anyone knows if we could redirect the packets to IP tunnel interface
using ipf. I wrote the below rule,
pass out quick on bge0 to ip.tun0 from 192.168.1.16 to any

Try writing it like this:

pass out quick on bge0 to ip.tun0:A.B.C.D from 192.168.1.16 to any


Where "A.B.C.D" is the address of the other end of the tunnel.

I hope that all the packets matching this rule could go through the
IPsec tunnel and be encapsulated via IP-IP. But it seems that it didn't
work!

Have you looked at using ipsecconf?

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to