[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [FW1] how to translate the destination IP using (LINUX IPchains and Mas querading)
Hi... I just built a LINUX firewall between two network in our company Network A:60.100.100.0/24, interface IP in A is 60.100.100.101 Network B:192.168.3.0/24, interface IP in B is 192.168.3.2 >From my workstation (60.100.100.99), I want to connect to a SERVER (192.168.3.100) in network B using a FAKE address in network A 60.100.100.102. First I did a proxy ARP to map 192.100.100.102 IP to 60.100.100.101's MAC address. So, I want to translate source IP from 60.100.100.0 network to firewall interface IP in B 192.168.3.2 when it go out from firewall and I can do it using Ipchains command in Linux "ipchains -A forward -s 60.100.100.0/24 -j MASQ (I don't want to change server's routing table) But I also need to translate the destination IP from 60.100.100.102 to 192.168.3.100 while it is in Linux firewall. What is the command to do it in Linux way?? Can it be done??? Thanks ================================================================== De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================================== The information contained in this message may be confidential and is intended to be exclusively for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. ================================================================== ================================================================================ To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================================================
|