LineRenderer is shooting in wrong direction.

I have an object shooting a laser, Im using line renderer to display this for now. I have the line originating from the correct spot but for some reason its shooting backwards towards the camera (which is behind object). It should be shooting forward from the origin. Heres what I have:

public Transform gunEnd;





	private LineRenderer laserLine;


	void Start () 
	{
		laserLine = gameObject.GetComponent <LineRenderer>();

	}
	void Update ()



	{
		if (Input.GetButtonDown ("Fire1")) 
			
			laserLine.enabled = true;
		laserLine.SetPosition (0, gunEnd.position);

	

		if (Input.GetButtonUp ("Fire1"))
			laserLine.enabled = false;
	


	}

}

After some research and adjusting code I got LineRenderer to shoot forward by adding this line:

laserLine.SetPosition (1, (gunEnd.transform.forward * weaponRange));

So the laser code is as follows:

public float weaponRange = 1000f;
	public Transform gunEnd;





	private LineRenderer laserLine;


	void Start () 
	{
		laserLine = gameObject.GetComponent <LineRenderer>();

	}
	void Update ()



	{
		if (Input.GetButtonDown ("Fire1")) 
			
			laserLine.enabled = true;
		laserLine.SetPosition (0, gunEnd.position);

		laserLine.SetPosition (1, (gunEnd.transform.forward * weaponRange));

		if (Input.GetButtonUp ("Fire1"))
			laserLine.enabled = false;
	


	}

}

Though this shoots in correct direction it shoots at a single spot in space. I want the shot to end relative to the position of the object thats shooting it (which moves around)