Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: OpenVPN issue
PostPosted: Sun Nov 27, 2011 5:19 pm 
Offline

Joined: Sun Nov 27, 2011 5:14 pm
Posts: 1
Hi,

I don't quite know how to explain my issue, but ill try my best.

So I set up the openvpn server, all connects via Tunnelblick on OSX, and when I navigate to a page to display my current ip address, it shows the one of my linode. great.

Now what im trying to acomplish, is to only allow the access of apache on my linode through OpenVPN. I have tried adding the local ip addresses of 10.0.8 etc to the apache conf, and even putting the linodes IP address in there to just allow the linode to see the page, but none of that works when connected via openVPN

When i check the error log from apache, it shows the client as my actual ip address, not the linode, so it appears that any local requests made by the openvpn client to the linodes ip address isnt pushed through the tunnel.

Can anyone help?

I hope this explains the issue im having.

Thanks,

Ben


Top
   
 Post subject:
PostPosted: Sun Nov 27, 2011 5:58 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
You can't route traffic to the IP address of the OpenVPN server through the OpenVPN tunnel because then it'd route the OpenVPN traffic through the OpenVPN and the universe would explode.

Easiest fix would be to access your web server on another IP address: either the other side of the OpenVPN tunnel itself, or perhaps the Linode intra-datacenter IP address. (Or use IPv6 and put OpenVPN on its own IP address....... but I'm assuming that's not going to work at Starbucks.)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group