LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Networking ??? (https://www.linuxquestions.org/questions/fedora-35/networking-469841/)

mickeyboa 08-01-2006 03:09 PM

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

acid_kewpie 08-01-2006 03:34 PM

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...

mickeyboa 08-01-2006 03:59 PM

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

acid_kewpie 08-01-2006 04:07 PM

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?

Brian1 08-01-2006 04:56 PM

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

isuck@linux 08-01-2006 05:15 PM

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.

Nylex 08-02-2006 09:12 AM

If you use SSH, then you can transfer files to and from the machine using SFTP.

mickeyboa 08-02-2006 10:58 AM

Yes, I'm familiar with SFTP, it it is avery good app.
The one I like is Fish from KDE/Konqueror.

Jim

mickeyboa 08-02-2006 11:10 AM

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

acid_kewpie 08-02-2006 12:46 PM

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.

mickeyboa 08-03-2006 04:37 PM

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.

acid_kewpie 08-04-2006 07:09 AM

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.


All times are GMT -5. The time now is 08:21 AM.