The drain socks designed by the Western Australian City of Kwinana to fight river pollution has attracted attention from around the globe.

The city had nets attached to the mouths of two stormwater drains March last year to catch litter and debris that contaminate the system.

Kwinana Mayor Carol Adams said they posted a picture of the low-cost solution to social media, and upwards of 25 million people have interacted with it so far.