Prev Previous Post   Next Post Next
  #1  
Old 13th December 2005, 10:34
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 264
Thanked 151 Times in 131 Posts
Default custom firewall rules

On my old linux system I was using some custom firewall rules.

(small part of what was in the rc.firewall.local file)
Quote:
IPNR_1="xx.xx.xxx.245"
IPNR_2="xx.xxx.xx.246"

# allow in and point to correct virtual IP
$IPTABLES -I INPUT 30 -p tcp --dport 53 -j ACCEPT -d $IPNR_1
$IPTABLES -I INPUT 30 -p udp --dport 53 -j ACCEPT -d $IPNR_1

$IPTABLES -I INPUT 30 -p tcp --dport 53 -j ACCEPT -d $IPNR_2
$IPTABLES -I INPUT 30 -p udp --dport 53 -j ACCEPT -d $IPNR_2

# allow outgoing
$IPTABLES -I OUTPUT 14 -j ACCEPT -s $IPNR_1
$IPTABLES -I OUTPUT 14 -j ACCEPT -s $IPNR_2
The reason I did this was because I have 8 IP's that I wanted to use.
(1 for DNS (NS1) server, 1 for DNS (NS2) server, 1 for email, 1 for FTP etc. etc.)

Is there a way of setting this within the ISPConfig firewall (runing on Fedora core 4) ?
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Robust firewall rules tom@ttucker.com Installation/Configuration 9 29th December 2006 16:34
ISPConfig firewall issue dwyoung Installation/Configuration 5 12th December 2005 10:26
I need a suitable firewall. agul Server Operation 4 23rd November 2005 00:12
question about the builtin firewall Ovidiu Installation/Configuration 1 9th October 2005 18:30
Firewall rules missing after Upgrade. jernis Installation/Configuration 2 17th August 2005 12:46


All times are GMT +2. The time now is 16:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.