1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Want to NAT each user to fixed Wan:port(20,000-30,000)

Discussion in 'Tomato Firmware' started by winwin, Oct 19, 2008.

  1. winwin

    winwin LI Guru Member

    In my country, everyone who provides Internet to any user needs to record log of user's usages. (For example, log-in & log-out date time, Src-IP & Dst-IP, etc)

    For my case based on tomato, I would like to NAT each user to each range of Wan:port. For example user A (DHCP with, all traffic would be done NAT to Wan-IP and port number 10,000 - 20,000.

    What is a iptables command can get it work? Thank you for help.
  2. mstombs

    mstombs Network Guru Member

  3. winwin

    winwin LI Guru Member

    I got an answer now, thank you.

Share This Page