LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-06-2004, 02:51 PM   #1
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Rep: Reputation: 30
Creating a Server in a LAN Environment


Ok... I dont know how to put this together. But I'll try to explain it the best I can.
Say I have 2 computers. Both of them are connected to the internet on the same connection using a router. Now they all have a lan IP. Ex - 192.168.0.100 and 192.168.0.101. But from the internet, they both have the same IP (the IP assigned by the ISP) (So my router has this IP?).

Now what i want to do this is make a server on one of them and keep the other for regular use. The server will stay online 24/7 listening to, let's say port 1234. So if anyone from the internet type "my_real_ip:1234", they will gain access to the server. But this server's lan IP is 192.168.0.101. And the other computer that I use for normal stuff (192.168.0.100, doesnt stay online all the time).

Is this possible to do? How do I do it?
 
Old 11-06-2004, 02:58 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
From router forward port 1234 to the computer that is on 24/7, no problems, it can be done.
 
Old 11-06-2004, 03:04 PM   #3
Nukem
Member
 
Registered: May 2003
Location: Canada, TO.
Distribution: Slackware: in progress, Mandrake 9.2, Libranet, Vector
Posts: 373

Original Poster
Rep: Reputation: 30
I have a Dlink router and it says something about

Quote:
Virtual Server
Virtual Server is used to allow Internet users access to LAN services
Can this be about port forwarding?
 
Old 11-06-2004, 03:38 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Nukem
I have a Dlink router and it says something about



Can this be about port forwarding?
I would assume so, I have never used a dlink router, check the manual, I'm sure it tells you how to do port forwarding to an internal LAN IP.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set default Desktop environment while creating user accounts?? mayank_a Linux - Software 5 10-05-2005 06:26 AM
Creating desktop environment without Gnome/KDE Artik Linux - Software 2 08-07-2005 08:01 AM
creating a good test environment ddaas Linux - General 1 01-05-2005 12:11 PM
Creating a test environment - server mirroring stillontheedge Debian 8 05-24-2004 04:05 PM
Problem in creating Lan in Linux and windows environment ann6260 Linux - Networking 2 08-12-2003 01:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:54 AM.

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