With your flex Interrail pass, you can benefit from discounts on different ferry lines.
In order to purchase these tickets you will have to contact the ferry company directly. In some cases, you can buy the ticket with the discount already included. Occasionally however, you will have to buy the full fare ticket and the ferry company will refund the discount. You can find all the detailed information on the Interrail website.