two addresses and natd

Dmitry Tolstov dima at ibch.ru
Sun Aug 1 06:31:44 PDT 2004


  Hello everyone!

  I am running 4.9-RELEASE-p11 and natd. I am planning to get one more
  IP and I want it to be redirected to another box in the local network.
  
  Would it possible to run natd as somthing like this:
  natd -a <IP1> -p 8668 -redirect_address <localIP> <IP2>;
  
  or run two natd
  natd -a <IP1> -p 8668
  natd -a <IP2> -p 8778 -redirect_address <localIP> <IP2>
  with appropriate ipfw rules;

  or it is better to find a switch and up one more interface?


  Thank you.

  -Dmitry.



More information about the freebsd-stable mailing list