'Forward local port to remote address (lport:host:port)'

def opt_localforward(self, f):

    (localPort, remoteHost, remotePort) = f.split(':')
    localPort = int(localPort)
    remotePort = int(remotePort)
    self.localForwards.append((localPort, (remoteHost, remotePort)))
