A connector comprising: a terminal extending along an insertion-and-extraction direction (X) of the terminal , and electrically connectable to a counterpart terminal of a counterpart device ; an electrical insulating inner housing configured to accommodate the terminal thereinside; a shield shell positioned outside the inner housing , and configured to accommodate the inner housing thereinside; an outer housing positioned outside the shield shell , and configured to accommodate the shield shell thereinside; a unit packing annularly formed in a virtual plane perpendicular to the insertion-and-extraction direction (X), and, while compressed in the insertion-and-extraction direction (X), positioned between the counterpart device and the outer housing ; an inner packing annularly formed in a virtual plane perpendicular to the insertion-and-extraction direction (X), and, while compressed in an intersection direction intersecting the insertion-and-extraction direction (X), positioned between the shield shell and the inner housing ; and an outer packing annularly formed in a virtual plane perpendicular to the insertion-and-extraction direction (X), and, while compressed in the intersection direction, positioned between the outer housing and the shield shell , wherein the outer housing includes a first outer flange extending along the intersection direction, the unit packing is positioned on a front side, the front side being closer to the counterpart device for the first outer flange in the insertion-and-extraction direction (X), the shield shell includes a first shell flange extending along a direction intersecting the insertion-and-extraction direction (X), and the outer packing is positioned on a rear side, the rear side being opposite to the counterpart device for the first shell flange in the insertion-and-extraction direction (X). a terminal extending along an insertion-and-extraction direction (X) of the terminal , and electrically connectable to a counterpart terminal of a counterpart device ; an electrical insulating inner housing configured to accommodate the terminal thereinside; a shield shell positioned outside the inner housing , and configured to accommodate the inner housing thereinside; an outer housing positioned outside the shield shell , and configured to accommodate the shield shell thereinside; a unit packing annularly formed in a virtual plane perpendicular to the insertion-and-extraction direction (X), and, while compressed in the insertion-and-extraction direction (X), positioned between the counterpart device and the outer housing ; an inner packing annularly formed in a virtual plane perpendicular to the insertion-and-extraction direction (X), and, while compressed in an intersection direction intersecting the insertion-and-extraction direction (X), positioned between the shield shell and the inner housing ; and an outer packing annularly formed in a virtual plane perpendicular to the insertion-and-extraction direction (X), and, while compressed in the intersection direction, positioned between the outer housing and the shield shell , wherein the outer housing includes a first outer flange extending along the intersection direction, the unit packing is positioned on a front side, the front side being closer to the counterpart device for the first outer flange in the insertion-and-extraction direction (X), the shield shell includes a first shell flange extending along a direction intersecting the insertion-and-extraction direction (X), and the outer packing is positioned on a rear side, the rear side being opposite to the counterpart device for the first shell flange in the insertion-and-extraction direction (X). <EOS>