/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
Hi all,
BTW - Thanks for all the great reading!!
I have a gateway box set up which carries both my comercial
address on eth0 and my local net(eth1) which is a subnet in ampr.org.
I wish be able to masq all outgoing packets except for 44.0.0.0/8.
All 44.0.0.0/8 should be routeed properly out the gateway through
my TUNL0 interface. The tunl0 routing works fine until I turn on MASQ.
I am using kernel 2.2.5-22 so all masq is done with ipchains.
So bottom line is, is thre a way to tell ipchains to masq all
0.0.0.0/0 excpet for 44.0.0.0/8 without creating 20 or
more command lines of other place I do want to masq to?
I know there is a way to use a "!" to reverse ports.
Can I reverse the 44 destination in one command?
ipchains -A forward -s 44.x.x.x -d 44.0.0.0/8 -j MASQ
Dennis A. Lauzon
North East TCP Association / Vice President
IP Address Coordinator 44.56/16 44.44/16
[EMAIL PROTECTED]
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/