LinuxQuestions.org
Register a domain and help support LQ
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, 11: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


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


All times are GMT -5. The time now is 08:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration