A connector comprising: a terminal; a housing provided with a terminal receiving chamber for receiving the terminal; a rear holder attached to an end of the housing to prevent the terminal from falling out of the terminal receiving chamber; and a rubber plug pressed into the terminal receiving chamber, wherein the terminal is provided with an electric contact portion connected to a mating terminal, and a wire connecting portion connected to an electric wire, wherein the terminal receiving chamber is provided with: a first receiving portion receiving the wire connecting portion, an end of the electric wire connected to the wire connecting portion, and the rubber plug; a second receiving portion continued to the first receiving portion; and a step wall formed between the first receiving portion and the second receiving portion, wherein the wire connecting portion is provided with a flange portion projected from an outer peripheral wall of the wire connecting portion and allowed to abut on the step wall, wherein the rubber plug is composed of a ring-shaped packing attached to an outer periphery of the electric wire and keeping a space between an outer peripheral wall of the electric wire and an inner wall of the first receiving portion watertight, and a resin member, wherein the resin member is provided with a buried portion at least a part of which is buried in the packing, characterized in that the resin member is further provided with a cylinder portion extended in a cylindrical shape from the buried portion made by insert molding, and the cylinder portion is interposed between the flange and the packing. a terminal; a housing provided with a terminal receiving chamber for receiving the terminal; a rear holder attached to an end of the housing to prevent the terminal from falling out of the terminal receiving chamber; and a rubber plug pressed into the terminal receiving chamber, wherein the terminal is provided with an electric contact portion connected to a mating terminal, and a wire connecting portion connected to an electric wire, wherein the terminal receiving chamber is provided with: a first receiving portion receiving the wire connecting portion, an end of the electric wire connected to the wire connecting portion, and the rubber plug; a second receiving portion continued to the first receiving portion; and a step wall formed between the first receiving portion and the second receiving portion, wherein the wire connecting portion is provided with a flange portion projected from an outer peripheral wall of the wire connecting portion and allowed to abut on the step wall, wherein the rubber plug is composed of a ring-shaped packing attached to an outer periphery of the electric wire and keeping a space between an outer peripheral wall of the electric wire and an inner wall of the first receiving portion watertight, and a resin member, wherein the resin member is provided with a buried portion at least a part of which is buried in the packing, characterized in that the resin member is further provided with a cylinder portion extended in a cylindrical shape from the buried portion made by insert molding, and the cylinder portion is interposed between the flange and the packing.