(no subject)
netfilter-devel:
Our demand is like this now, a linux gateway, two network cards, one(eth0) is Intranet's address 192. 168. 85. 1, the other
(eth1) is extranet's address 202. 116. 93. 66, has tied 202 . 116. 83. 80-93 so many real address, Intranet is 192.168. 85.
10-23 so many timid address, require oneself write one netfilter module, make sure timid address and real address one-to-one
correspondence. because in future we will use ip address pool(about 4096 ipaddresses) to assign real ip for user dynamicly,
so we can't use systematic nat function.
My method is that , at postroute hook ,if eth0,convert source ip to 202.116.93.*.at preroute hook,if eth1,convert des ip to
192.168.85.*. I think it finish nat function in theory like this , but when i test this module ,it seems there is no
forward packet, the checksum of tcp udp and ip has done .i whatto know what is wrong with my idea, any idea will be
appreciate.
[email protected]
2005-07-10