hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Need to include some rules in my firewall
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Need to include some rules in my firewall

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 05-24-2006, 02:39 PM
1webhost 1webhost is offline
Newbie
 
Join Date: Nov 2004
Location: USA
Posts: 13

Need to include some rules in my firewall


Hi,
I have a dedicated server at thePlanet.com for wich I had a company to set up a firewall.
However to allow thePlanet to access the server I have to inplement the following rules in my firewall.

iptables -N plnt_in
iptables -N plnt_out
iptables -I INPUT 1 -j plnt_in
iptables -I OUTPUT 1 -j plnt_out
iptables -A plnt_in -s 12.96.160.0/24 -j ACCEPT
iptables -A plnt_in -s 67.19.0.0/24 -j ACCEPT
iptables -A plnt_in -s 70.84.160.0/24 -j ACCEPT
iptables -A plnt_out -d 12.96.160.0/24 -j ACCEPT
iptables -A plnt_out -d 67.19.0.0/24 -j ACCEPT
iptables -A plnt_out -d 70.84.160.0/24 -j ACCEPT

Anyone how can explain for me how to do this?

Thank you.

Reply With Quote


Sponsored Links
  #2  
Old 05-24-2006, 02:55 PM
eth00 eth00 is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: NC
Posts: 2,911
Just run those commands in ssh and the rules are added. Depending on what "firewall" (most likely a script you run) depends on when/if those rules will be erased.

__________________
John W
www.eth0.us

Reply With Quote
  #3  
Old 05-24-2006, 03:07 PM
Energizer Bunny Energizer Bunny is offline
-=Quits Here=-
 
Join Date: Sep 2005
Location: In canada, Saskatoon
Posts: 3,200
Quote:
Originally Posted by eth00
Just run those commands in ssh and the rules are added. Depending on what "firewall" (most likely a script you run) depends on when/if those rules will be erased.
Well thats the temp solution only, cause after reboot they will be wiped so if i remember there is something called iptables.save file on the system where you can save to rules.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Adds New Firewall Services to Cloud SDN Architecture Web Hosting News 2013-04-11 10:50:21
Interoute Launches Cloud Firewall Service for Real-time View into Security Threats Web Hosting News 2012-12-04 16:00:56
Web Host HostGee Rolls Out Managed Firewall Cluster Service Web Hosting News 2012-10-22 15:36:38
Security Firm Dome9 Adds Free Basic Version of Cloud Security Service Web Hosting News 2012-03-07 12:26:39
Web Host SoftLayer Offers High-Availability Dedicated Firewalls Web Hosting News 2011-07-19 18:31:23


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?