[Server-devel] iptables generation

Joshua N Pritikin jpritikin at pobox.com
Tue Aug 11 12:45:39 EDT 2009


On Tue, Aug 11, 2009 at 11:45:15AM +0530, Joshua N Pritikin wrote:
> +     if re.match('@@MASQ@@', line):
> +          print '-A POSTROUTING -o %s -j MASQUERADE' % wan

This is dumb. I'll try to fix the patch tomorrow to substitute only 
@@WAN@@. Or do you really want this written in sed? (I never even 
learned sed.)


More information about the Server-devel mailing list