Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jun 05, 2008 10:58 pm 
Offline
Senior Newbie

Joined: Thu Jun 05, 2008 10:43 pm
Posts: 11
I'd like to get a Linode with two public IP's. The first IP will be for the Linode itself, and I'd like to set up an OpenVPN server on my Linode, and assign the second public IP to the client that connects via OpenVPN. Therefore, the client has a public-facing IP no matter where it connects from.

I searched around and several people seemed to be using OpenVPN in their posts, but I'm not sure if they were doing it quite this way, so I thought I'd ask first.


Top
   
 Post subject:
PostPosted: Fri Jun 06, 2008 8:23 am 
Offline
Senior Member
User avatar

Joined: Fri Aug 15, 2003 2:15 pm
Posts: 111
Website: http://fubegra.net/
It would be possible. I have something slightly different - multiple clients can connect via OpenVPN, communicate with one another via the VPN using 10.x.x.x VPN addresses, and also reach the outside world via NAT through the secondary IP. One specific client gets a fixed VPN address, so that I can forward ports to it.

If you were only concerned with one client, you could have OpenVPN always assign the same 10.x.x.x address to it, and then configure static NAT in iptables to send traffic to and from the VPN client.

_________________
Bus error (passengers dumped)


Top
   
 Post subject:
PostPosted: Fri Jun 06, 2008 11:32 am 
Offline
Senior Newbie

Joined: Thu Jun 05, 2008 10:43 pm
Posts: 11
Well, I'd really rather not resort to assigning a 10.* address to the client, because then it has no knowledge of its real public IP address.

Also, I've seen a few posts saying the TUN/TAP driver is built into the supplied kernels -- what about the bridging driver (i.e. the one that creates the "br0" interface in ifconfig?) This is what I'd prefer to use (i.e. bridging mode in OpenVPN, versus routing mode).


Top
   
 Post subject:
PostPosted: Fri Jun 06, 2008 12:04 pm 
Offline
Senior Newbie

Joined: Thu Jun 05, 2008 10:43 pm
Posts: 11
Quote:
Also, I've seen a few posts saying the TUN/TAP driver is built into the supplied kernels -- what about the bridging driver (i.e. the one that creates the "br0" interface in ifconfig?)

Ooh, I found an earlier post with all the kernel config options it -- looks like it's there, great.


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


Who is online

Users browsing this forum: No registered users and 2 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