There are two types of trading in an IPO gray market:
Buying and selling IPO applications at a particular premium
Buying and selling allocated IPO shares before their listing on stock exchanges