사이트 간 VPN

사이트 간 VPN

내가 직면한 문제는 pfSense(버전 2.0.1)와 SonicWall Pro2040 Enhanced(펌웨어 버전: SonicOS Enhanced 4.2.1.4-7e) 사이에 사이트 간 VPN을 설정하는 것입니다. 모든 구성이 올바르게 완료되었지만 여전히 Sonicwall에서 다음과 같은 오류가 발생합니다.

"페이로드 처리 실패"

1단계와 2단계는 제대로 통과했지만 "페이로드 처리"에 문제가 있습니다. 공유 키 불일치 때문일 수 있음을 발견했지만 두 방화벽의 공유 키와 불일치가 없는지 다시 확인했습니다. 또한 Sonicwall에는 터널이 활성화되어 있음이 표시됩니다.

pfSense의 로그는 다음과 같습니다.

답변1

내 Sonicwall 및 pfsense에 대한 설정은 다음과 같습니다.

Sonicwall의 일반 탭:

Authentication Method: IKE using Pre shared Secret

Name:  pfSense Site-to-Site PN

IPsec Primary Gateway Name or Address: 1.1.1.1 | IP for pfSense

IPsec Secondary Gateway Name or Address: 0.0.0.0

Shared Secret: Shared secret for this connection

Local IKE ID:  2.2.2.2 | Select ‘IP Address’ from the drop down menu and then type WAN IP of Sonicwall



Network tab on Sonicwall:

Local Networks

Choose local network from list: 192.168.21.0 | Create an address object for the network or you can use the built in one ‘LAN Subnets’

Destination Networks

Choose destination network from list: 192.168.65.0 | Create an address object for the remote LAN network



Proposals Tab:

IKE (Phase 1) Proposal

By default pfSense supports ‘Main Mode’ and ‘Aggressive’.

Exchange: Aggressive

DH Group: Group 2

Encryption: 3DES

Authentication: SHA1

Life Time (seconds): 28800

Ipsec (Phase 2) Proposal

Protocol: ESP

Encryption: 3DES

Authentication: SHA1

Enable Perfect Forward Secrecy: Checked

Life Time: 86400



Advanced Tab:

Check ‘Enable Keep Alive’

해당 pfSense 설정:

Phase 1:

Authentication method: Mutual PSK

Negotiation Mode: Aggressive

My identifier: 1.1.1.1 (IP Address of pfSense WAN)

Peer identifier: 2.2.2.2 (IP Address of Sonicwall)

Pre Shared Key: Your pre share key

Policy Generation: Default

Proposal Checking: Obey

Encryption Algorithm: 3DES

Hash algorithm: SHA1

DH key group: 2

Lifetime: 28800



Advanced options

Nat Traversal: Enable

Dead Peer Detection: Check Enable DPD



Phase 2:

Mode: Tunnel

Local Network: 192.168.65.0/24

Remote Network: 192.168.21.0/24

Protocol: ESP

Encryption algorithms: 3DES

Hash algorithms: SHA1

PFS key group: 2

Lifetime: 84600

내 것을 봐주세요기사pfsense로 Sonicwall을 구성하는 방법.

관련 정보