A connector comprising: a terminal (11, 12, 13) extending along an insertion-and-extraction direction of the terminal (11, 12, 13), and electrically connectable to a counterpart terminal of a counterpart device; an electrical insulating inner housing configured to accommodate the terminal (11, 12, 13) 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, and, while compressed in the insertion-and-extraction direction, 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, and, while compressed in an intersection direction intersecting the insertion-and-extraction direction, 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, 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, the shield shell includes a first shell flange extending along a direction intersecting the insertion-and-extraction direction, 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. a terminal (11, 12, 13) extending along an insertion-and-extraction direction of the terminal (11, 12, 13), and electrically connectable to a counterpart terminal of a counterpart device; an electrical insulating inner housing configured to accommodate the terminal (11, 12, 13) 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, and, while compressed in the insertion-and-extraction direction, 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, and, while compressed in an intersection direction intersecting the insertion-and-extraction direction, 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, 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, the shield shell includes a first shell flange extending along a direction intersecting the insertion-and-extraction direction, 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.