View Single Post
  #1  
Old 18th July 2012, 11:22
thabangk thabangk is offline
Member
 
Join Date: Sep 2009
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation NAT external IP to look like internal

Hi All

I have a linux firewall with 2 NICS
eth0 [192.168.0.20]
eth1 [41.31.167.23]

and i have an internal router which is on [192.168.0.10]

and it forwards the internal traffic to [10.10.0.0\24] range and it only allow this range only 192.168.0.0/24 range to the destination [10.10.0.0\24]

So i want to do port forwarding to [10.10.0.21] on the firewall but the external ip traffic should be natted as if it comes from my internal range [10.10.0.0\24]

Can someone please help me,the answer is needed tommorrow and im a beginner on this iptables thing
Reply With Quote
Sponsored Links