set up gate server