A. baumannii is a deadly antimicrobial resistance pathogen that acquires drug resistance through different mechanisms. Therefore, it is necessary to investigate all its virulence factors and design effective vaccines against it. For this purpose, OprB, an outer membrane porin, was investigated in this study, and its secondary and tertiary structures, physicochemical properties, and B-T epitopes were determined. The vaccine potential of this protein and its linear, non-continuous, and chimeric epitopes were also in-vivo analyzed. Based on the results, two surface epitopes and one non-continuous epitope were identified. Surface contiguous epitopes were produced recombinantly and non-continuous epitope sequences were synthesized and then produced. The chimeric epitope was also produced via the SOE-PCR technique. Active and passive immunization of mice with the whole OprB protein, non-continuous epitope, contiguous epitopes, two epitopes in chimeric form, as well as the mixture of two purified epitopes showed that the survival level and total IgG titer of the mice compared to non-vaccinated mice or mice that were vaccinated with an internal fragment increased significantly. The bacterial load in the immunized mice’s lung, liver, kidney, and spleen was much lower than in the control groups, and the TNF-α, IFN-γ, and IL-6 cytokines levels were also lower in these groups and were similar to the naive mice. On the other hand, subunit vaccines showed acceptable safety and due to their minimal cross-activity, their use is much safer.