設定VPN server(ipsec+xl2tp) - Linux
By Elma
at 2010-09-03T00:45
at 2010-09-03T00:45
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該如何修正呢?
--
我參考鳥哥網站中網友分享的"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該如何修正呢?
--
Tags:
Linux
All Comments
Related Posts
在Ubuntu上使用bjam產生執行檔的問題
By Ivy
at 2010-09-02T16:28
at 2010-09-02T16:28
arch 編譯btnx 或easystroke 失敗
By Ula
at 2010-09-02T16:23
at 2010-09-02T16:23
在ubuntu 10.04上安裝vmware server 2. …
By Callum
at 2010-09-02T14:12
at 2010-09-02T14:12
vim對bash的語法標色很不太對勁?
By Skylar DavisLinda
at 2010-09-02T13:02
at 2010-09-02T13:02
在debian執行amfphp
By Robert
at 2010-09-02T12:35
at 2010-09-02T12:35