Set up iptables NAT rules 1.2b2
Sponsored Links
Set up iptables NAT rules 1.2b2 Ranking & Summary
File size:
MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1004
Date added:
2007-02-14
Publisher:
Obsid
Set up iptables NAT rules 1.2b2 description
Set up iptables NAT rules is an example IPTables 1.2.1 script for a multi-homed firewall.
Please feel free to send me any comments or suggestions.
Current versions and documentation are available at http://www.sentry.net/~obsid/IPTables/rc.scripts.dir/current/
Sample:
## Variables ##
IPTABLES="/usr/local/sbin/iptables" ## Default IPTables >= v. 1.2.0
#IPTABLES="/usr/local/bin/iptables" ## Default IPTables <= v. 1.1.2
LOOPBACK="lo" ## Loopback Interface
EXTERNAL="eth0" ## External Interface
INTERNAL="eth1" ## Internal Interface
DMZ_IF="eth2" ## DMZ Interface
INTERNAL_NET="192.168.1.0/24" ## Network address for the internal network
DMZ_NET="192.168.2.0/24" ## Network address for the DMZ
## INT_IP="192.168.1.10" ## IP Address of Internal Interface
INT_IP=`ifconfig $INTERNAL | grep inet | cut -d : -f 2 | cut -d -f 1`
## DMZ_IP="192.168.2.10" ## IP Address of DMZ Interface
DMZ_IP=`ifconfig $DMZ_IF | grep inet | cut -d : -f 2 | cut -d -f 1`
EXT_IP="216.162.197.10 ## IP Address(es) of External Interface
216.162.197.11" ## (This variable not used at this time).
## EXT_IP=`ifconfig $EXTERNAL | grep inet | cut -d : -f 2 | cut -d -f 1`
LOG_LEVEL="notice" ## Default log level: kern.notice
## Attempt to Flush All Rules in Filter Table
$IPTABLES -F
## Flush Built-in Rules
$IPTABLES -F INPUT
$IPTABLES -F OUTPUT
$IPTABLES -F FORWARD
## Flush Rules/Delete User Chains in Mangle Table, if any
$IPTABLES -F -t mangle
$IPTABLES -t mangle -X
## Delete all user-defined chains, reduces dumb warnings if you run
## this script more than once.
$IPTABLES -X
## Set Default Policies
$IPTABLES -P INPUT DROP ## Highly Recommended Default Policy
$IPTABLES -P OUTPUT DROP
$IPTABLES -P FORWARD ACCEPT
Please feel free to send me any comments or suggestions.
Current versions and documentation are available at http://www.sentry.net/~obsid/IPTables/rc.scripts.dir/current/
Sample:
## Variables ##
IPTABLES="/usr/local/sbin/iptables" ## Default IPTables >= v. 1.2.0
#IPTABLES="/usr/local/bin/iptables" ## Default IPTables <= v. 1.1.2
LOOPBACK="lo" ## Loopback Interface
EXTERNAL="eth0" ## External Interface
INTERNAL="eth1" ## Internal Interface
DMZ_IF="eth2" ## DMZ Interface
INTERNAL_NET="192.168.1.0/24" ## Network address for the internal network
DMZ_NET="192.168.2.0/24" ## Network address for the DMZ
## INT_IP="192.168.1.10" ## IP Address of Internal Interface
INT_IP=`ifconfig $INTERNAL | grep inet | cut -d : -f 2 | cut -d -f 1`
## DMZ_IP="192.168.2.10" ## IP Address of DMZ Interface
DMZ_IP=`ifconfig $DMZ_IF | grep inet | cut -d : -f 2 | cut -d -f 1`
EXT_IP="216.162.197.10 ## IP Address(es) of External Interface
216.162.197.11" ## (This variable not used at this time).
## EXT_IP=`ifconfig $EXTERNAL | grep inet | cut -d : -f 2 | cut -d -f 1`
LOG_LEVEL="notice" ## Default log level: kern.notice
## Attempt to Flush All Rules in Filter Table
$IPTABLES -F
## Flush Built-in Rules
$IPTABLES -F INPUT
$IPTABLES -F OUTPUT
$IPTABLES -F FORWARD
## Flush Rules/Delete User Chains in Mangle Table, if any
$IPTABLES -F -t mangle
$IPTABLES -t mangle -X
## Delete all user-defined chains, reduces dumb warnings if you run
## this script more than once.
$IPTABLES -X
## Set Default Policies
$IPTABLES -P INPUT DROP ## Highly Recommended Default Policy
$IPTABLES -P OUTPUT DROP
$IPTABLES -P FORWARD ACCEPT
Set up iptables NAT rules 1.2b2 Screenshot
Advertisements
Set up iptables NAT rules 1.2b2 Keywords
NAT
IPTables
IPTables 1.2.1
iptables nat rules
iptables nat
set up
nat rules
rules
script
Multi-homed
firewall
1.2b2
example
Set up iptables NAT rules
Set
Set up iptables NAT rules 1.2b2
Bookmark Set up iptables NAT rules 1.2b2
Set up iptables NAT rules 1.2b2 Copyright
WareSeeker periodically updates pricing and software information of Set up iptables NAT rules 1.2b2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Set up iptables NAT rules 1.2b2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
linux iptables nat
iptables nat howto
set up new hotmail account
iptables nat tutorial
set up email address
how to set up a website
how to set up a resume
iptables nat masquerade
iptables nat configuration
set up wireless network
set up new email account
set up new yahoo account
iptables nat example
iptables nat sample
set up 2
set up outlook
set up events
iptables nat prerouting
Related Software
Resets iptables to default values script resets the Linux firewall iptables to default values. Free Download
Simple IPTABLES firewall is a very simple firewall constructed with basic iptables commands. Free Download
IPTables log analizer displays Linux 2.4 iptables logs in a nice HTML page. Free Download
ROPE is a "match module" for Linux IpTables that allows packets to be matched. Free Download
Userfriendly Iptables Frontend provides a tool for generating optimized packet filter rules. Free Download
Arnos IPTABLES firewall script was initially written because I needed to protect my single-homed Linux machine at work. Free Download
iptables is a Linux kernel packet control tool. Free Download
NAT iptables firewall script is an iptables firewall script. Free Download
Latest Software
Popular Software
Favourite Software