LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-11-2013, 10:02 AM   #1
vignesh4sh
Member
 
Registered: Oct 2012
Posts: 69

Rep: Reputation: Disabled
Access url from local browser using vpn


Hi,

I have url:'example.com'. This address only can access from server. so, we need to access this url from local machine.

How to configure vpn access from browser?

SERVER : ubuntu 12.04
LOCAL MACHINE : ubuntu 12.10

Please need suggestions.

Thanks in advance
 
Old 09-12-2013, 01:22 PM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I'm sorry, but I don't quite understand your question.
If you mean that 'example.com' is reachable only via vpn, then simply connect vpn from client to server.
If you don't have a dns-server locally then edit /etc/hosts on client (=local machine). The entries looks like:
Code:
192.168.0.1   www.example.com example.com
If that's not what you asked about, then please return with details.
 
Old 09-13-2013, 08:48 AM   #3
eklavya
Member
 
Registered: Mar 2013
Posts: 636

Rep: Reputation: 142Reputation: 142
In above example
192.168.0.1 is local IP of the server (ubuntu 12.04).
Use your server's IP in the file /etc/hosts.
 
  


Reply

Tags
linux, ubuntu 12.04, vpn



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
Open VPN Client Can't Access to Local Lan youphak Linux - Server 3 09-20-2012 01:20 AM
Squid ACL to allow access to a child URL below a blocked main URL soslinux Linux - Server 1 10-13-2011 02:47 AM
fwbuilder config not allowing http access using URL, only local IP syrex Linux - Networking 3 06-01-2011 04:26 PM
Access public url using local ip ????????????????? winxandlinx Linux - General 5 07-10-2009 05:53 AM
Browser access denied to local file tongar Linux - Newbie 0 01-31-2005 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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