設定VPN server(ipsec+xl2tp) - Linux

Table of Contents

各位好

我參考鳥哥網站中網友分享的"VPN架設"設定我的server

該文連結於以下網頁: http://linux.vbird.org/somepaper



我的網路架構如下


fedora 13
+------------+
| | VPN private ip: 192.168.1.254
遠端電腦 ~~~~~ router ----------| VPN server |
| |
+------------+
140.x.x.x




VPN 連線完成後 遠端電腦 ip : 192.168.1.128
mask: 255.255.255.255
gw : 192.168.1.128 <= 是不是應該要是 192.168.1.254?

執行 ipsec verify

Checking your system to see if IPsec got installed and started correctly:
Version check and ipsec on-path [OK]
Linux Openswan U2.6.27/K2.6.34.6-47.fc13.x86_64 (netkey)
Checking for IPsec support in kernel [OK]
NETKEY detected, testing for disabled ICMP send_redirects [OK]
NETKEY detected, testing for disabled ICMP accept_redirects [OK]
Checking that pluto is running [OK]
Pluto listening for IKE on udp 500 [OK]
Pluto listening for NAT-T on udp 4500 [OK]
Two or more interfaces found, checking IP forwarding [OK]
Checking NAT and MASQUERADEing [N/A]
Checking for 'ip' command [OK]
Checking for 'iptables' command [OK]
Opportunistic Encryption Support [DISABLED]


想請問一下要如何解決vpn client default gateway異常的情形?

還有Checking NAT and MASQUERADEing為N/A該如何修正呢?

--

All Comments