def forward_enable(src, dst, ipaddr):
 run(settings.iptables, '-A', 'FORWARD', '-i', src, '-o', dst, '--source', ipaddr, '-j', 'ACCEPT')
 run(settings.iptables, '-A', 'FORWARD', '-i', dst, '-o', src, '--destination', ipaddr, '-j', 'ACCEPT')

def forward_enable ( src , dst , ipaddr ) : run ( settings . iptables , '-A' , 'FORWARD' , '-i' , src , '-o' , dst , '--source' , ipaddr , '-j' , 'ACCEPT' ) run ( settings . iptables , '-A' , 'FORWARD' , '-i' , dst , '-o' , src , '--destination' , ipaddr , '-j' , 'ACCEPT' )
enable forwarding a specific ip address from one interface into another .