Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8566309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:37:34+00:00 2026-06-11T17:37:34+00:00

I have a firewalled server (in this case, Redis, but this probably isn’t central

  • 0

I have a firewalled server (in this case, Redis, but this probably isn’t central to my question.) I want to lock down access to only certain IP addresses — a variable, changing set of worker Amazon EC2 instances. The catch is that I don’t know the IP addresses up front. What are some good approaches to manage this?

2012-08-31 Update: the Redis server is not running on EC2. If it was, I could use Amazon Security Groups.

2012-09-20 Update: See also this question from 2008: How can I programmatically manage iptables rules on the fly?. I’m looking for updated approaches, work-arounds, or whatever. Currently, I’m using some hand-made scripts that generate rules from template files — I’d be surprised if there is not something better out there.

2012-09-21 Update: I’m running Ubuntu 12. I’m using Amazon Elastic IP’s. Currently, I’m regenerating the iptables config using an ERB template and reloading via a remote script. I was hoping to, at least, find an API for iptables — or, better yet, a tool to help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T17:37:35+00:00Added an answer on June 11, 2026 at 5:37 pm

    There are various options mentioned in this 2008 question: How can I programmatically manage iptables rules on the fly?. According to that, there is no API for iptables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this situation.... Client-initiated SOAP 1.1 communication between one server and let's say,
This may seem like a simple question, but I can't find the definite answer:
I have a dev server in our office that is behind the firewall. The
I have an LCDS server sitting behind a corporate proxy/firewall. I need to use
Scenario: We have a great deal of server environmental information (names, IPs, roles, firewall
have written this little class, which generates a UUID every time an object of
I have a little server.jar, which listen to GET and END command on port
I have a public server(configured with indy 10) . some unknown clients are sending
I have a website running ASP.NET (C#) on server A . I need my
I have a problem with what solution to choose.. I have a server running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.