משנה. נותנין מים על גב השמרים בשביל שיצולו. ומסננין את היין בסודרין, ובכפיפה מצרית.
Filtering is permitted, but in specific cases. The Gemara clarifies the details:
גמרא. אמר זעירי: נותן אדם יין צלול ומים צלולין לתוך המשמרת בשבת ואינו חושש. אבל עכורין - לא. מיתיבי, רבן שמעון בן גמליאל אומר: טורד אדם חבית של יין, יינה ושמריה, ונותן לתוך המשמרת בשבת ואינו חושש! - תרגמה זעירי: בין הגיתות שנו.
Ze'iri explains that only clear water and wine may be filtered, not cloudy water or wine. When challenged with a source that seems to allow cloudy wine, he explains that it refers to wine at the winepress.