Patent ID: 8539223

Claim:
A communication system for performing Internet Protocol Security (IPSec) communication between a first device and a second device, the communication system comprising: the first device which comprises: a first setting unit configured to set to the first device, based on information specified by a user, first IPSec setting information in which the first device is designated as a source device and the second device is designated as a destination device, a generation unit configured to automatically generate, based on the first IPSec setting information set by the first setting unit, second IPSec setting information for the second device, by interchanging source device information and destination device information included in the first IPSec setting information, wherein the second device is designated as a source device and the first device is designated as a destination device in the generated second IPSec setting information, and a transmission unit configured to transmit the second IPSec setting information generated by the generation unit to the second device; and the second device which comprises: a second setting unit configured to set the second IPSec setting information transmitted from the transmission unit to the second device.