LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

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


Hi,

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, 09:36 AM   #2
ascii2k
Member
 
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, 10:38 AM   #3
teeno
Member
 
Registered: Jul 2001
Posts: 72

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

port=1024
while [ $port -le 65535 ]
do
/usr/sbin/ipmasqadm portfw -a -P tcp -L $EXTERNAL $port -R $LOCALIP $port
port=$((port+1))
done


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


Reply


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 07:14 PM
what is my ns3 ; ns2 adresses murat1 Linux - Networking 1 04-21-2004 04:26 PM
cant see .forward file in home directory >> mail forward/copy steve_babbage Linux - Newbie 0 03-02-2004 07:25 AM
Network IP Adresses greggery Linux - General 1 12-01-2003 04:30 PM
CUPS and network adresses ionmich Slackware 1 09-27-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:18 PM.

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