LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-01-2006, 03:09 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Networking ???


FC5
I want to connect from my Laptop to My home computer over the internet
to my Router 65.0.0.0 (internet connected) and to my PC 192.168.1.2.
to fix problems, transfer files.
Please give all examples you can.
I know just enough about Linux to be Dangerous.

Jim
 
Old 08-01-2006, 03:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
examples of what?? vpns? ssh tunnels? apache? what do you actually want to achieve?? you also need to give a lot more info about your current networks, routers etc...
 
Old 08-01-2006, 03:59 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
What do you want all my secrets ?
Yes Vpn, ssh, heck!!, I don't know what I'm doing, that's why I ask you, your the Redhat certified man, i figure if anyone knows what he's talking about, it would be you.

Jim
 
Old 08-01-2006, 04:07 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you don't want to give useful information, we can't give useful advice. what do you want to achieve? what would be good enough? what would not be good enough? do you want fries with that?
 
Old 08-01-2006, 04:56 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
The best way to start is setup ssh on the local machine. Setup passphrase keys is more secure. Check out these links on ssh. The first one from Mark is a very good doc.
http://www.suso.org/docs/shell/ssh.sdf
http://www.stearns.org/doc/ssh-techniques.current.html

Okay you have sshd setup and running. Now open port 22 on the local machine if a firewall is up on it. May have to alter SELinux if using. Now open port 22 on the external port of the router and then setup a port forward of external port 22 to the local machine using port 22. This gives you a great command line usage.

Setup of the router info may have come with the router or on the manufactors site if one of those simply store bought routers.

If you need to run a few X apps on the connecting machine that reside on the remote machine. Then you can use the -Y option. ssh -Y username@xxx.xxx.xxx.xxx

If you need to use an X app that requires root then it may or may not work. There are several ways to accomplish this if there are issues. Easiest way is to install gksu on the sshd machine and run X apps that way.

Last but not least depends on the provider you have. They block access to common ports like http, ftp, ssh and so on. This is where you just need to change the router configuration only to say open port 10000 on the external IP and then portforward to port 22 on the remote machine.

Or one can try VNC over ssh connection. Lots of info here and on Google to set this up. It is recomended to not make connections directly to VNC since not secure. Doing over an ssh connection provides encrytion of the connection.
Good link to setup VNC on a Redhat type clone. http://fedoranews.org/tchung/vnc/

Final thoughts If you open any computer to the outside then it is recommended to secure as much of the inside network with firewalls and strong passwords in the event you are hacked.

Brian1
 
Old 08-01-2006, 05:15 PM   #6
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
I've been reading this posts and still don't know what to write about. Confusing. Why don't you ask an specific subject and we start from there. There are books written in every one of the networking subjects you are talking about.
 
Old 08-02-2006, 09:12 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you use SSH, then you can transfer files to and from the machine using SFTP.
 
Old 08-02-2006, 10:58 AM   #8
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Yes, I'm familiar with SFTP, it it is avery good app.
The one I like is Fish from KDE/Konqueror.

Jim
 
Old 08-02-2006, 11:10 AM   #9
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Well isuck@linux, You name explains pretty well your having problems
understanding what I'm looking for, I Think Brian1 has got the ideal as to what I,m looking for.
So I guess you and I are in the same boat, I for one am going to pay close attention to what Brian1 is saying.
Truefully, i don't know anymore, than what I have ask for, so I'm
going to let Brian! teach me. THANKS!! BRIAN1 .
Boy, these Indiana boys are smart.

Jim

Last edited by mickeyboa; 08-02-2006 at 11:18 AM.
 
Old 08-02-2006, 12:46 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by mickeyboa
Well isuck@linux, You name explains pretty well your having problems
understanding what I'm looking for, I Think Brian1 has got the ideal as to what I,m looking for.
So I guess you and I are in the same boat, I for one am going to pay close attention to what Brian1 is saying.
Truefully, i don't know anymore, than what I have ask for, so I'm
going to let Brian! teach me. THANKS!! BRIAN1 .
Boy, these Indiana boys are smart.

Jim
Mickeyboa, like myself, this guy is clearly aware that you did not ask a particularly specific question. there are so many ways to "connect" to something, you must appreciate that unless people go out on a limb and guess at what you might be interested in. it seems that Brian1 got lucky and described somethign you seem interested in, but he could have written just that much again about stuff like openswan, and for all we know you'd not have had a clue what he was talking about... try to appreciate what your questions read like from the other side in future ehh? 500+ posts, you're clearly no stranger to lq.org, so next time describe your problems and needs clearly and concisely and you'll get better help sooner.
 
Old 08-03-2006, 04:37 PM   #11
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Look guys, i apologize for the way I may have come across.
But I think what i'm looking for is; I have a friend in Florida
that has a Suse-10.1 computer and knows nothing about Computers.
His ISP supplies a DHCP connection to his computer,by Cable. I want to be able to fix problems that may arise in Linux on his computer.,
I want to do a remote connection from my FC5 computer across the internet to his, I have a SBC phone connected through a 2WIRE router,DHCP to my computer 192.168.x.x.
Where can I find Howto that would help me, with a lot of examples.

Last edited by mickeyboa; 08-03-2006 at 04:42 PM.
 
Old 08-04-2006, 07:09 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
right, that's a lot clearer, and i would certainly suggest the SSH option. all that they need to do is 1) enable port forwarding on a port for ssh (i would suggest NOT using a default port, pick something in the 10'000's) on the router so that ssh requests made to his internet ip on port 14933 or somethign will get sent to his computer on port 22. see portforward.com for a guide on this bit.

you then connect to him, e.g. "ssh -p 14933 12.34.56.78" and log in. that will give you a console login to fix stuff.

to expand on this i would also suggest you expore ssh tunnelling. essentially you can use this single connection to tunnel any other protocol, e.g. vnc, securely without anything else being exposed on the internet. i'm fairly sure there's a pretty good LinuxAnswer about ssh tunnelling in out tutorial section.
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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