Hi,

I read from some earlier lists that I can do map of non-tcp/udp protocol by

    # if want to map all protocols
    map xl0 10.10.10.0/24 -> 192.168.1.1/32

    # if just want to map a particular protocol
    map xl0  10.10.10.0/24 port 0 -> 192.168.1.1/32 port 0 esp

However on FreeBSD 4.7, the later option to map just one protocol don't seem
to get pass the ipnat command parser. I looked around the code and found
that, if the command is "map", ipnat will only look for "proxy" or "portmap"
after the src-nat-ip.

I assume I can muck out a fix for the parser. However, can someone assure me
that the kernel ipfiltering code will do the right thing once that correct
protocol number is put into the ipnat structure.

Regards,
============================
   Ming Fu
   Borderware Technologies, Inc.
   http://www.borderware.com
   [EMAIL PROTECTED]
   (905)804-1855 Ext 229
BEGIN:VCARD
VERSION:2.1
N:Fu;Ming
FN:Ming Fu
ORG:Borderware Technologies Inc
TEL;WORK;VOICE:(905)804-1855 Ext 229
URL;WORK:http://www.borderware.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20030723T192458Z
END:VCARD

Reply via email to