Re: Implementing NAT function with java
Monday, November 18, 2002 02:28 PM
We where looking at something like this at one time. After many false starts we have came to the conclusion that we needed to write a kernal module (we where using Linux) to work at the ethernet level. This is not a trivial exercise; you have to deal with ARP, DNS as well as standard IP packets. And in the DNS packet you need to modify the packet Payload. If all you want to do is NAT, then I believe you can find a Linux router that will do it for you, coyote is one such implementation.