Tôi muốn thiết lập VPN trên máy Mac của mình nhưng tôi không thể làm cho nó hoạt động được. Nếu tôi khởi động Windows 7 VM, VPN sẽ kết nối tốt (từ Windows) nhưng nếu tôi cố gắng kết nối từ máy Mac thì không thành công
Trước hết, đây là nhật ký hệ thống:
Oct 7 15:18:45 Leonardo-Ferreiras-iMac.local configd[18]: SCNC: start, triggered by System Preferen, type L2TP, status 0
Oct 7 15:18:45 Leonardo-Ferreiras-iMac.local pppd[3385]: pppd 2.4.2 (Apple version 596.15.2) started by leo, uid 501
Oct 7 15:18:45 Leonardo-Ferreiras-iMac.local pppd[3385]: L2TP connecting to server 'vpn.aec.com.br' (186.249.4.10)...
Oct 7 15:18:45 Leonardo-Ferreiras-iMac.local pppd[3385]: IPSec connection started
Oct 7 15:18:46 Leonardo-Ferreiras-iMac.local racoon[192]: Connecting.
Oct 7 15:18:46 Leonardo-Ferreiras-iMac.local racoon[192]: IPSec Phase1 started (Initiated by me).
Oct 7 15:18:46 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Initiator, Aggressive-Mode message 1).
Oct 7 15:18:47 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:18:47 Leonardo-Ferreiras-iMac kernel[0]: Sandbox: sandboxd(3386) deny mach-lookup com.apple.coresymbolicationd
Oct 7 15:18:48 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:49 --- last message repeated 2 times ---
Oct 7 15:18:49 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Phase1 Retransmit).
Oct 7 15:18:50 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:18:50 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:51 --- last message repeated 2 times ---
Oct 7 15:18:51 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:18:52 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:52 --- last message repeated 1 time ---
Oct 7 15:18:52 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Phase1 Retransmit).
Oct 7 15:18:52 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:52 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:18:53 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:54 --- last message repeated 2 times ---
Oct 7 15:18:54 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:18:54 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:55 --- last message repeated 2 times ---
Oct 7 15:18:55 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Phase1 Retransmit).
Oct 7 15:18:55 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local pppd[3385]: IPSec connection failed
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local pppd[3385]: L2TP connecting to alternate server 'vpn.aec.com.br' (200.251.240.177)...
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local pppd[3385]: IPSec connection started
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local racoon[192]: Connecting.
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local racoon[192]: IPSec Phase1 started (Initiated by me).
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Initiator, Aggressive-Mode message 1).
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:56 --- last message repeated 2 times ---
Oct 7 15:18:56 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:18:57 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:18:59 --- last message repeated 2 times ---
Oct 7 15:18:59 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Phase1 Retransmit).
Oct 7 15:19:00 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:19:00 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:19:01 --- last message repeated 2 times ---
Oct 7 15:19:01 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:19:02 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Phase1 Retransmit).
Oct 7 15:19:03 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:19:03 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:19:05 --- last message repeated 2 times ---
Oct 7 15:19:05 Leonardo-Ferreiras-iMac.local com.apple.quicklook.satellite[3358]: [QL] No sandbox token for thumbnail request file://localhost/private/var/log/racoon.log, it will probably fail
Oct 7 15:19:05 Leonardo-Ferreiras-iMac.local racoon[192]: IKE Packet: transmit success. (Phase1 Retransmit).
Oct 7 15:19:05 Leonardo-Ferreiras-iMac.local sandboxd[3386] ([3358]): QuickLookSatelli(3358) deny file-read-data /private/var/log/racoon.log
Oct 7 15:19:06 --- last message repeated 2 times ---
Oct 7 15:19:06 Leonardo-Ferreiras-iMac.local pppd[3385]: IPSec connection failed
Oct 7 15:19:06 Leonardo-Ferreiras-iMac.local racoon[192]: IPSec disconnecting from server 200.251.240.177
Oct 7 15:19:06 Leonardo-Ferreiras-iMac.local racoon[192]: IPSec disconnecting from server 186.249.4.10
Thứ hai: Hướng dẫn sử dụng VPN Windows 7 (duy nhất có sẵn) nói rằng tôi nên chọn hộp "Giao thức CHAP" & "CHAP v2" và tôi phải chọn tùy chọn yêu cầu mã hóa.
Thứ ba: Tôi cũng phải nhập khóa chia sẻ trước, mà tôi suy luận là tùy chọn bí mật chung của sư tử núi.
Vẫn không có may mắn nào cả ai có thể giúp đỡ?
EDIT 1: Tệp kết xuất ở đây
sudo tcdump -w ~/dump.pcap host vpn.aec.com.br
. Bắt đầu lệnh đó trong Terminal, sau đó thử kết nối VPN (và cho phép nó hết thời gian). Bạn có thể báo hiệu tcpdump
quá trình bằng một ngắt (Control + C) để giết dấu vết gói. Sau khi kết nối thất bại, bạn có thể đăng tệp chụp ở đây để đánh giá.
sudo tcpdump -w ~/dump.pcap host vpn.aec.com.br
... Đổ rác mà bạn thực hiện chắc chắn đã hoạt động, nhưng không cung cấp thêm thông tin nào. Theo dõi gói tin cho thấy máy của bạn khởi tạo và thử lại kết nối IPSec Giai đoạn 1 nhiều lần cho mỗi máy chủ, nhưng không nhận được bất kỳ phản hồi nào từ các máy ở phía bên kia.