DNAT on iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Harald,
  
  i use iptables 1.2.8 , &  i have to give a static nat for three different ip in my internal network  with 3 different external IPs for example


    172.16.0.134  --> mapped to 210.x.x.2
    172.16.0.138 -->  mapped to 210.x.x.3
     172.16.0.139 --> mapped to 210.x.x.4, 
 
i added the following in PREROUTING
iptables -t nat -A PREROUTING -d 210.x.x.2 -j DNAT --to-destination 172.16.0.134, similarly for other 2 also..
when i tried this , i was not able to reach the internal ip.

Inside segment 172.16.0.0/24--eth1
outside ip address 202.x.x.212--eth0

Please Help ME ! ! ! .
Thanks in advance

Regards
Natraj.E
SIFY LTD.,
Tidal Park
Chennai

Ph    : 91-44- 
Mobile: 98402-65831


-- 
______________________________________________
http://www.india.com
Now with POP3/SMTP access for only US$14.95/yr

Powered by Outblaze


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux