Stop in for a cup of coffee

What's a workaround substitute for the foam firewall gaskets?

Thinking of going to find some craft foam... but don't want that if the stuff like I have from DMT is somehow moisture resistant?

Old inner tube you can cut a section from.