Wanli (萬里) is a rural township in the northeastern part of Taipei County, Taiwan Province of the Republic of China.