Tomato source code is open and downloadable. You are already willing to get a your hands dirty (and motivated enough) to want to use OSPF, you should be comfortable enough to dip into the tomato source code or telnet/ssh into the router and execute zebra to check things out.

@cobalt553
I think you missed my point. I'm posting this under the "Request for features" section of this forum. Not the "General". It's not a matter of me knowing how to do it. I'd like to see it available as a feature.

What would be the advantage of having OSPF on a home router? It's not doing the work of a full-blown network backbone router, it's primarily just a NAT box for a handful of local PCs to use the one port that your ISP gives you.

You only need a routing protocol if your local network itself has a lot of routers—-does this sound like a typical home network? Heck, I doubt that even Toastman has a complex interior network.
And for a simple network RIP is perfectly adequate.

FWIW, my previous company had a network that had 20,000 PC and hundreds of routers. And they didn't use OSPF.

Google brought me to this page in my search for an OpenVPN/OSPF router.
My application is this, I have a small cloud based telephone system using VoIP and we keep our SIP traffic behind OpenVPN. To make this work, we have only one OpenVPN server and at each persons home we have a WRT54GL with TomatoVPN and one, two or three telephones behind the router. Nothing else is behind these lightly loaded connections. Problem we ran into last week was the Colo providers core network went down frequently while they were trouble shooting some other issue. Our phones were doing the same, not because of the cloud based phone network but because we had only one OpenVPN system. I'd like to see some redundancy for OpenVPN and it seems I need a dynamic routing protocol to support the end points making the best decision about which OpenVPN server to forward traffic to.
I would love to see this as a standard/advanced feature of someone's SoHo router distro.