Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up internal and external network using ISPConfig Showa General 4 1st November 2010 18:11
Howto analyse a IPTables firewall issue? chillifire Installation/Configuration 2 27th August 2008 07:23
Postfix + DKIM - Error in log donb01 Server Operation 2 24th July 2008 17:59
FTP Client Recieving Internal NAT IP blindphaze Installation/Configuration 1 23rd January 2008 09:39


All times are GMT +2. The time now is 12:27.


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