[olug] forgive me, for i am lazy

Will Langford unfies at gmail.com
Sun Aug 8 01:48:37 UTC 2010


i've not done much with a gateway / router type system under centos that
needs to handle a half dozen ip's and interfaces.  stand alone on the
internet sure (think simple web server or home server)... but nothing that
acts as the beach head for a network of hundreds of machines...

i tried for 10min to google this answer but was getting sick and tired of
reading unrelated pages... anyone care to point me in the right direction ?

i'm migrating this from a shell script and would like to possibly get it set
up entirely from /etc/sysconfig/iptables ?

is it possible to do bash style variable assignment in this file ?

in the shell script, i have interfaces and ip addresses assigned to
variables and then those variables used throughout the 7 page script.  i'd
really prefer to keep using variables in sysconfig/iptables as well...

-will



More information about the OLUG mailing list