Check your stock agreement. I worked somewhere it didn't just grant first right of refusal, but the company had to _approve any sale_. In practice, they approved almost no sales, so this was a ban on selling shares before IPO.
This seems like an interesting dynamic because the company has to balance getting a random outside shareholder vs having to buy their own shares back for whatever price you negotiated.