HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   NAT external IP to look like internal (http://www.howtoforge.com/forums/showthread.php?t=57979)

thabangk 18th July 2012 11:22

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


All times are GMT +2. The time now is 16:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.