設置VPN(ipsec+xl2tp) - Linux

Table of Contents

大家好
最近參考了鳥哥的網友分享區裡的VPN架設方法
這是該網頁的連結: http://linux.vbird.org/somepaper
當中Lawrence Chiu的VPN 架設
小妹的Linux版本是CentOS6.2

最終跑出的結果是:

Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.32/K(no kernel code presently loaded)
Checking for IPsec support in kernel [FAILED]
SAref kernel support [N/A]
Checking that pluto is running [OK]
Pluto listening for IKE on udp 500 [FAILED]
Pluto listening for NAT-T on udp 4500 [FAILED]
Checking for 'ip' command [OK]
Checking /bin/sh is not /bin/dash [OK]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]

建置過程中
# cp /etc/ipsec.d/examples/l2tp-psk.conf /etc/ipsec.d/
# chmod 755 l2tp-psk.conf
這段命令不知道為什麼執行錯誤
請問有人知道該怎麼解決嗎?

--

All Comments

Ina avatarIna2012-04-30
要講什麼錯誤阿 0.0?
八成是第一條cp找不到檔案, 第二條因為前一條沒co成,
就找不到檔案不能改權限... ((鍵盤除錯..