[Click] Re: some question about Click router

Eddie Kohler kohler at icir.org
Mon Jul 7 21:49:53 EDT 2003


Hi Lan,

> Please ignore the questions I mentioned about the IP version
> CheckIPHeader() complains and the extra packets. They are solved. Another
Oh good!

> question I have is that whether Click can be configured to be a NAT? If
> so, could you give me some clue on what elements should be used?

Yes. Check out in particular the IPRewriter element and friends
(TCPRewriter, RoundRobinIPMapper, FTPPortMapper). Described in
http://www.icir.org/kohler/pubs/rewriter-openarch02.pdf
that paper. Here is a configuration using the elements:
http://www.pdos.lcs.mit.edu/click/ex/mazu-nat.html

Eddie


More information about the click mailing list