CODE
root@gw2:/usr/src/sys/contrib/ipfilter/netinet/>#grep -in large_nat *h ip_nat.h:30:#undef LARGE_NAT /* define this if you're setting up a system to NATip_nat.h:38:# ifdef LARGE_NATip_nat.h:45:# ifdef LARGE_NATip_nat.h:52:# ifdef LARGE_NATip_nat.h:59:# ifdef LARGE_NATip_nat.h:66:# ifdef LARGE_NATroot@gw2:/usr/src/sys/contrib/ipfilter/netinet/>#head -50 ip_nat.h | tail -21#undefLARGE_NAT /* define this if you're setting up a system to NAT * LARGE numbers of networks/hosts - i.e. in the * hundreds or thousands.In such a case, you should * also change the RDR_SIZE and NAT_SIZE below to more * appropriate sizes.The figures below were used for * a setup with 1000-2000 networks to NAT. */#ifndef NAT_SIZE# ifdef LARGE_NAT#define NAT_SIZE 2047# else#define NAT_SIZE 127# endif#endif#ifndef RDR_SIZE# ifdef LARGE_NAT#define RDR_SIZE 2047# else#define RDR_SIZE 127# endif#endif 既然要在freebsd下编译,哪还要M0N0WALL_NET45XX这个配置文件干什么?m0n0下载地址:http://m0n0.ch/wall/downloads里的 net45xx-1.2b7.img 和generic-pc-1.2b7.img这2个镜像有什么区别? img文件不是你需要的,建议看handbook。
页:
1
[2]