LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-19-2002, 10:04 PM   #1
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Rep: Reputation: 15
Windows XP and Linux


I recently used Window XP Profressional's network setup wizard to share internet with my Linux computer. I have sshd2 installed on my Linux computer and I would like to be able to log on from outside. Because ICS isn't for Linux and the network setup wizard is really designed for other Windows computers, I have cannot give the other computer an IP (Windows doesn't recognize the other computer) in order to forward port 22 requests to my linux computer. Is there any way I can workaround this at all? I was told there's a way, but I don't know it.

Thanks!
 
Old 02-20-2002, 08:44 PM   #2
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
Anyone know?
 
Old 02-24-2002, 06:05 PM   #3
g0dzuki99
Member
 
Registered: Jan 2002
Posts: 56

Rep: Reputation: 15
Let me make sure I understand your problem... you want all incoming port 22 traffic to be forwarded via your XP box to a Linux box on your LAN.

You said you cant give the Linux box an IP... ? You'll have to get that going before you can forward traffic to it.

Once you get that out of the way, if you go into the advanced settings tab of your ICS connection you can create a new rule for what you want to do. I've never tried it out in XP; I've set up the same scenario with NAT on W2K server but it should work just fine.

~ Cheers
 
Old 04-16-2002, 06:00 PM   #4
picnic.table
LQ Newbie
 
Registered: Apr 2002
Posts: 5

Rep: Reputation: 0
anyone know at all?
 
Old 04-16-2002, 07:49 PM   #5
growler
Member
 
Registered: Apr 2002
Posts: 84

Rep: Reputation: 15
I can't think of any way to do it without giving the linux box an ip address. I don't think it can do anything network related without an ip....

what I would do is give the linux box an ip on the same subnet as the xp box, then term-serv into the xp box from outside, then run an ssh client from xp. sounds like a kludge, but I don't know how the sshd works on xp at all. still, windows terminal server client is pretty easy to figure out.
 
Old 04-21-2002, 09:46 PM   #6
picnic.table
LQ Newbie
 
Registered: Apr 2002
Posts: 5

Rep: Reputation: 0
How do you give it an IP and still use ICS? when XP always gives it a diffrent one?
 
Old 04-23-2002, 05:49 PM   #7
g0dzuki99
Member
 
Registered: Jan 2002
Posts: 56

Rep: Reputation: 15
When you set up ICS Windows will insist that it's IP be 192.168.0.1; which is fine. Your Linux box will have to have an IP on that same subnet (somewhere between 192.168.0.2 and192.168.0.254). You will also have to set the Gateway on the Linux side to 192.168.0.1; this way it will know where to go for addresses outside the 192.168.0 subnet.

Now, from the Windows side you want to allow incoming SSH trafic to be forworded to the Linux box... so from Windows go to the connection properties of your broadband connection (you do have to NICs in this PC right?); go to advanced; go to settings under ICS; click ADD; fill out information... it will look something like this:

Description: Incoming SSH
IP: The address of your Linux PC
Ext. Port: 22?
Int. Port: 22?

I dont know enough about SSH as I would like so those ports maybe wrong. Search the web for the corrects ones or maybe someone else reading this thread can indulge us.

That should work (granted I have not tried it!). You will need a PC extrernal to your LAN to test it... have a friend try to SSh into your Linux box.

Oh.. and make sure you have SSHd running on Linux.

Last edited by g0dzuki99; 04-23-2002 at 05:51 PM.
 
Old 04-24-2002, 09:24 AM   #8
picnic.table
LQ Newbie
 
Registered: Apr 2002
Posts: 5

Rep: Reputation: 0
thx
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 03:29 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 11:37 AM
Vnc only works linux to windows not windows to linux mbdayton Linux - Networking 2 04-16-2005 06:36 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
Samba - Linux box can see Windows, but WIndows can't see Linux Korff Linux - Networking 1 06-02-2003 10:23 AM

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

All times are GMT -5. The time now is 09: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