LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-16-2009, 01:12 PM   #1
h725
Member
 
Registered: Apr 2008
Posts: 114

Rep: Reputation: 15
Vpn under Linux?


Hi,

in my home network I've a D-Link DSL router and few workstation/server.
My private address is classic 192.168.1.0/24
The Dlink router doesn't manage vpn.
My goal is to connect from outside, having an ip address like 192.168.1.*

How can I obtain this?
Thank you
 
Old 12-16-2009, 01:56 PM   #2
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
you won't be able to connect directly using the 192.x.x.x ip. You will have to use the IP assigned to you by your ISP then forward the vpn port to your local ip. You can use something like dyndns to setup a domain name to help make it a little easier.
 
Old 12-16-2009, 07:57 PM   #3
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
if your net (192.168.1.x) is connected to internet, and if router support port forward, you may use that feature. in addition to this you may use SSH tunneling instead of configuring of VPN. or: probably(i never did that with merging openvpn subnet with the real one, but i suspect it is possible if you put your nic into PROMISC mode) you can use OpenVPN if you need encrypted channel into your entire LAN.
 
Old 12-17-2009, 05:37 PM   #4
h725
Member
 
Registered: Apr 2008
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bret381 View Post
you won't be able to connect directly using the 192.x.x.x ip. You will have to use the IP assigned to you by your ISP then forward the vpn port to your local ip. You can use something like dyndns to setup a domain name to help make it a little easier.
Yes I know.. but I need to reach all my private network from outside, not only one computer.
So, openvpn isn't my solution.
 
Old 12-17-2009, 08:26 PM   #5
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
openvpn is great for this. you will just have to forward your assigned IP to your local IP on whatever port you run your vpn server on. (if your router supports port forwarding)
 
Old 12-17-2009, 08:47 PM   #6
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
OpenSSH port forwarding work fine for me, I can connect to my virtual machines, use sshfs to mount my drives and ssh -Y to open applications remotly
 
Old 12-17-2009, 08:59 PM   #7
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49
Quote:
Originally Posted by h725 View Post
Yes I know.. but I need to reach all my private network from outside, not only one computer.
So, openvpn isn't my solution.
Huh? OpenVPN will let you do exactly that.
 
Old 12-22-2009, 09:11 PM   #8
jag2000
Member
 
Registered: Sep 2003
Location: Ohio
Distribution: Ubuntu 12.04
Posts: 315
Blog Entries: 2

Rep: Reputation: 31
you can also try hamachi vpn as well its free.
 
  


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
Dynamic IP VPN between IpSec(OpenBSD) and Linux VPN software Peter_APIIT Linux - Server 2 04-09-2008 05:08 AM
Configure Linux VPN Server for a Windows VPN Client xbaez Linux - Networking 4 04-28-2006 03:29 PM
Linux VPN Software - How to Connect to a Windows VPN wfernley Linux - Software 2 02-07-2006 09:40 AM
VPN: linux VPN server behind Linksys router hamish Linux - Networking 14 08-25-2005 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:22 PM.

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