LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2014, 10:17 AM   #1
Vita
Member
 
Registered: May 2012
Distribution: Debian 6, CentOS 6
Posts: 39

Rep: Reputation: Disabled
Host a web server from local PC via VPN?


Hi,

I had a XEN VPS running CentOS and PPTPD with /28 IP range and it assigned public IPs to clients that connected to the VPN. It worked like a charm, so when a client connected to a VPN his PC gets exposed to Internet and all services were accessible trough Internet.

Now I don't have that VPS I have a OpenVZ VPS with two public IPs, and I wanted to make my local pc running apache available to the internet via my second VPS IP that I don't use.

I'm running Ubuntu 12.04.3 LTS and tried to setup PPTPD on the second IP but couldn't manage to do that. Only one client my local PC running Debian needs to connect to the VPN and get the other public IP of the VPS.

How can I do that, and if it's possible can I get some instructions?

Thanks in advance!
 
  


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
Can you host a local ntp server in linux? homer_3 Linux - General 7 09-28-2009 10:27 AM
How to install web server and host a web site swamybsv Linux - Server 3 05-25-2009 12:28 PM
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
Need VPN Server on FC2 to host WinXP remote clients hackman777 Linux - Networking 47 12-19-2005 03:00 PM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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