No, port forwarding itself doesn't cause a virus.And it is very unlikely to get a virus, unless you fail at internet.