Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-16-2001, 07:58 AM   #1
Registered: Jul 2001
Posts: 72

Rep: Reputation: 15
Unhappy How do I forward IP Adresses?


I am having big problems trying to forward all traffic coming in from an EXTERNAL IP address to an INTERANAL IP address.

I have a number of external IP addresses. I neen some of these IP addresses to be map to machine on my LAN. Is it possable? I want to be able it use NetMeeting from six computers on the LAN. The others need access to the internet. I am using IP masquerading to able internet address though one other my IP addresses.

I will be greate full of any help.

Thank you.
Old 07-16-2001, 08:36 AM   #2
Registered: Dec 2000
Location: Indiana
Distribution: Red Hat 7.3/Mandrake 8.2/9.0
Posts: 154

Rep: Reputation: 30
Well, I don't know how to map and IP to a different machine, but I think you could forward the ports you need for netmeeting to work. As for internet access, you just need to set the DNS and gateway addresses to a machine that IS connected to the internet and setup a IPCHAINS rule to forward outbound traffic. I don't know the exact command for that but you could probably check the HOW-TO's and find it. It's not too difficult.
Old 07-16-2001, 09:38 AM   #3
Registered: Jul 2001
Posts: 72

Original Poster
Rep: Reputation: 15
I have tried to using port forwarding using this command:

while [ $port -le 65535 ]
/usr/sbin/ipmasqadm portfw -a -P tcp -L $EXTERNAL $port -R $LOCALIP $port

However, it takes too long. Is there an easier way to enable port forwarding on all these ports or the whole IP address?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
reject certain mac-adresses ekkins Linux - Networking 1 06-19-2005 06:14 PM
what is my ns3 ; ns2 adresses murat1 Linux - Networking 1 04-21-2004 03:26 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 06:25 AM
Network IP Adresses greggery Linux - General 1 12-01-2003 03:30 PM
CUPS and network adresses ionmich Slackware 1 09-27-2003 12:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration