1. Short question - is there any way for iptables to mangle the DESTINATION
   ip address after routing a packet and the SOURCE ip address before
   routing it?

2. Big question - I have the following network setup at home:
                                _______
             (linux)      ______| PC1 | (linux)
      ADSL   ----------___|     ^^^^^^^
      =======| Router |---.      ______
             ----------   |_____| PC2 | (win)
                                ^^^^^^^
    I would like PC2 to have the same IP as the external ADSL link, so stuff
  like KaZaA will work best. I also like several ports to be forwarded to
  the win machine, while others should still be handled by the linux router.
    Also, I would like the router to do nat between PC1 and PC2, with
  minimum mangling as possible of the addresses. A solution to (1) will
  solve this problem.

    I perfer a solution without using the ROUTE target patch or policy
  routing if such solution exists.

  Alon

-- 
This message was sent by Alon Altman ([EMAIL PROTECTED]) ICQ:1366540
GPG public key at http://alon.wox.org/pubkey.txt
Key fingerprint = A670 6C81 19D3 3773 3627  DE14 B44A 50A3 FE06 7F24
--------------------------------------------------------------------------
 -=[ Random Fortune ]=-
Never explain.  Your friends do not need it and your enemies will never
believe you anyway.
                -- Elbert Hubbard

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to