LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-13-2013, 06:45 PM   #1
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 462

Rep: Reputation: 30
vpn to my home computer


I would like to set up a vpn connection to my home computer from a wireless hotspot. My setup is:
home pc: opensuse 12.2
laptop: small live linux distro on cd
Home network side has a router. I wish to use the home pc's services such as web browsing or file sharing. What services do I need to run and configure to set up a vpn tunnel?
 
Old 10-13-2013, 07:30 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,539

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
no need to setup a vpn at all, just use ssh with X11 forwarding if you wish to browse the web etc... using your home ISP vs the remote ISP you are connected on via your laptop.
 
1 members found this post helpful.
Old 10-14-2013, 08:26 AM   #3
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 462

Original Poster
Rep: Reputation: 30
Ok, I understand what secure shell is. I use it to locally ssh into my pcs on my lan using filezilla. What is x11 forwarding and how is it implemented?
 
Old 10-14-2013, 10:26 AM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,539

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
there are a few steps that i dont have memorized for exact detail but i can give you enough to do a little google searching for fine configuration.

1. check out the links in my sig for setting up your ssh keys, this will make life simpler.

2. you will need to enable X11Forwarding in your sshd.conf, again check google for exact details for notes on your distro.

3. on the server you will need at least xauth installed, no need for a full GUI.

4. you wll also need what ever tools/applications you wish to run via X11 forwarding installed on the server. ie: if you wish to browse the web, then your favorite web browser needs to be installed, same for mail client, chat, etc... you can even run OOo and perform your productivity applications via X11. Heck ive even run the GUI front end of a VM via X11.... WARNING... doing that is very very very painfully slow.

5. you will either require a static IP at your home, or some type of dynamic DNS service so you can have access to your home LAN 24/7 without worrying about your IP rolling.

6. configure port forwarding (port 22) to map to your servers LAN side IP.

on your client (laptop im guessing) you would just issue a command something like this:

Code:
ssh -X user@IP
and once connected you can fire up your applications via CLI commands.
 
Old 10-14-2013, 10:26 AM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,539

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
edit.... sorry for duplicate post.

Last edited by lleb; 10-14-2013 at 10:27 AM.
 
Old 10-18-2013, 06:55 PM   #6
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora
Posts: 462

Original Poster
Rep: Reputation: 30
Thanks for the general steps on x11 forwarding. I will send an update on my progress.
 
  


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
[SOLVED] using ssh on remote computer to connect to home computer behind two routers Volofrog Linux - Networking 8 12-25-2012 03:02 PM
Simple VPN to link my home network to my father's and fiancees home networks christiansacks Linux - Networking 3 09-14-2012 01:55 PM
cant ssh from home vpn but okay at work musthavelu Linux - Newbie 1 08-21-2012 08:28 PM
LXer: Quarter 1, 2012: Home Theater, Home Server, Gaming, & Personal Computer System Design Guide & LXer Syndicated Linux News 0 04-14-2012 02:00 AM
Unable To VPN From Home carlosinfl Linux - Security 1 09-04-2008 06:37 PM


All times are GMT -5. The time now is 09:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration