Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Rackspace public/private IP and encryption
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jens Braeuer  
View profile  
 More options Apr 12 2012, 3:19 pm
From: Jens Braeuer <braeuer.j...@googlemail.com>
Date: Thu, 12 Apr 2012 21:19:40 +0200
Local: Thurs, Apr 12 2012 3:19 pm
Subject: Rackspace public/private IP and encryption
Hi everyone,

I wonder if any of you had some advice/tutorial/howto regarding public
vs. private IP and encryption on Rackspace.

To give you some background:
On Rackspace every server has 2 network interfaces. A public (eth0) and
a private (eth1). Network over the private interface is free, you get
charged for the public one. The assumption is that I have a couple of
frontends (app-servers) and backends (MySQL), that talk to each other.
However I have a complete list of IPs involved.

Now my idea is to use a combination of iptables DNAT and IPSec/Racoon to
reduce cost and enhance privacy at the same time.

First of all one could use iptables DNAT to rewrite the public IP to the
internal one. So the application can still use a DNS name (which
resolves to the public IP). Under the hood, traffic would get
"rewritten" to use the internal (free of cost) IP.

In addition I'd use IPSec+Racoon to encrypt traffic on a IP level.
Cheapest solution here is to use a pre-shared key. No X.509
complications. Racoon looks appealing.

Anybody out there, who has some experience in this area? Comments,
suggestions, everything is welcome....

Cheers,
Jens


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Falko Zurell  
View profile  
 More options Apr 12 2012, 4:05 pm
From: Falko Zurell <falko.zur...@gmail.com>
Date: Thu, 12 Apr 2012 22:05:04 +0200
Local: Thurs, Apr 12 2012 4:05 pm
Subject: Re: [berlin-devops] Rackspace public/private IP and encryption

Hi Jens,

i haven't fully understand your problem yet. Which traffic would you like
to send over the private interfaces and which you want to encrypt?

Thanks and best regards

Falko

On 12 April 2012 21:19, Jens Braeuer <braeuer.j...@googlemail.com> wrote:

--
Falko Zurell
falko.zur...@gmail.com
skype: zero_data

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jens Braeuer  
View profile  
 More options Apr 12 2012, 4:30 pm
From: Jens Braeuer <braeuer.j...@googlemail.com>
Date: Thu, 12 Apr 2012 22:30:22 +0200
Local: Thurs, Apr 12 2012 4:30 pm
Subject: Re: [berlin-devops] Rackspace public/private IP and encryption

Hi Falko,

so every server has a private and a public IP. DNS names resolve to
public IPs. What I'd like to accomplish is to rewrite traffic to use the
private IPs using iptables. So the application can continue to use the
hostname. And example would be be:*|
|*
**|iptables -t nat -A PREROUTING -d 8.8.8.8 -j DNAT --to-destination
10.0.0.1|**

This could be combined with IPSec, were I require all traffic to/from
10.0.0.1 to be encrypted. A setkey-example would be:

spdadd $myip 10.0.0.1  any -P in ipsec esp/transport//require;

The question was whether any of you run this in this combination, have
some advice, etc. Or if this works at all, right now this is only an
idea. When it would work, it would enable the application to use
straight dns names. Under the hood (if it works), traffic would be
routed via the private IP (=cost saving) and be encrypted.

Cheers,
Jens

On 12.04.2012 22:05, Falko Zurell wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Falko Zurell  
View profile  
 More options Apr 12 2012, 5:12 pm
From: Falko Zurell <falko.zur...@gmail.com>
Date: Thu, 12 Apr 2012 23:12:20 +0200
Local: Thurs, Apr 12 2012 5:12 pm
Subject: Re: [berlin-devops] Rackspace public/private IP and encryption

Mmh, what about puppet managed /etc/host entries for the private IPs?

Seems much easier to achieve. Or run your own DNS with different views on the zone that would resolve to internal IPs when queried from inside.

 best regards

Sent from my bicycle

On 12.04.2012, at 22:30, Jens Braeuer <braeuer.j...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jens Braeuer  
View profile  
 More options Apr 13 2012, 2:30 am
From: Jens Braeuer <braeuer.j...@googlemail.com>
Date: Fri, 13 Apr 2012 08:30:28 +0200
Local: Fri, Apr 13 2012 2:30 am
Subject: Re: [berlin-devops] Rackspace public/private IP and encryption

I want do avoid running my own DNS, as its one more component to
configure, monitor, etc. But entries in /etc/hosts are the somewhat more
straight forward. I'll give this a try.

Thanks!

On 12.04.2012 23:12, Falko Zurell wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Kersten  
View profile  
 More options Apr 13 2012, 2:56 am
From: Tim Kersten <t...@io41.com>
Date: Fri, 13 Apr 2012 08:56:12 +0200
Local: Fri, Apr 13 2012 2:56 am
Subject: Re: [berlin-devops] Rackspace public/private IP and encryption

DNSMasq might be of use (it will serve DNS requests which in reads from
/etc/hosts, and if it doen't find them there, it forwards to your upstream
DNS provider), if you don't want to manage /etc/hosts for all your hosts.

Tim ^,^

On Fri, Apr 13, 2012 at 08:30, Jens Braeuer <braeuer.j...@googlemail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
till  
View profile  
 More options Apr 13 2012, 6:08 am
From: till <klimp...@gmail.com>
Date: Fri, 13 Apr 2012 12:08:08 +0200
Local: Fri, Apr 13 2012 6:08 am
Subject: Re: [berlin-devops] Rackspace public/private IP and encryption

Hey,

on EC2 – you get a 'public' DNS-name for each instance, but: From the outside this DNS-name resolves to the public IP and from the inside to the private IP. So the best solution (unless you do what you do) is to use that DNS-name and it will automatically take the shortest route.

Is there no equivalent on Rackspace?

Till  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jens Braeuer  
View profile  
 More options Apr 13 2012, 11:39 am
From: Jens Braeuer <braeuer.j...@googlemail.com>
Date: Fri, 13 Apr 2012 17:39:00 +0200
Subject: Re: [berlin-devops] Rackspace public/private IP and encryption
Hi Till,

no, sadly there is no such thing on Rackspace. You even "get" two
network interfaces, eth0 with public IP and eth1 with a private on. :-/

Jens

On 13.04.2012 12:08, till wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »