Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jun 07, 2010 3:09 am 
Offline
Senior Newbie

Joined: Fri May 21, 2010 7:38 am
Posts: 11
I started a new topic as I couldn't quite find on the forums what i was looking for. The library did not yield any results either (beyond setting up the private IPs on each machine).

The scenario: We want to let 2 nodes in the same Linode account communicate with each-other securely. We've already setup the eth0:0 on both nodes and verified they where up and running properly.

The setup are two Fedora 13 machines. A web server with private eth0: 192.168.151.100 and a PostgreSQL server with private eth0: 192.168.151.200.

At the moment they cannot ping each-other (times out). We are assuming this is to our machine's firewall policy.

Question 1: With iptables - how do I allow traffic to and from only these machines.

Question 2: In what way can we secure the communications between Web and PostgreSQL servers. This obviously needs to be a resilient method that survives reboots etc.

Any help would be appreciated - once I figured it out I'll add it to the Library for future reference.


Top
   
 Post subject:
PostPosted: Mon Jun 07, 2010 10:05 am 
Offline
Junior Member
User avatar

Joined: Thu Apr 29, 2010 3:32 pm
Posts: 44
Website: http://devjonfos.net
Location: Oregon
Node 1:
...
iptables -A INPUT --src 192.168.151.200 -j ACCEPT
iptables -A INPUT --src 192.168.0.0/16 -j DROP
...


Node 2:
...
iptables -A INPUT --src 192.168.151.100 -j ACCEPT
iptables -A INPUT --src 192.168.0.0/16 -j DROP
...

And see "db3l" posts in this thread about snooping on the private datacenter lan.


Top
   
 Post subject:
PostPosted: Mon Jun 21, 2010 5:47 pm 
Offline
Senior Newbie

Joined: Fri May 21, 2010 7:38 am
Posts: 11
Thanks. I should have know that but appreciate the response, let's assume someone in the future will find this useful.


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


Who is online

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