Re: [問題] 設定VPN server(ipsec+xl2tp)

看板Linux作者 (不平凡的Joe)時間14年前 (2010/09/03 13:30), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《dendrobium (石斛蘭)》之銘言: : 各位好 : 我參考鳥哥網站中網友分享的"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該如何修正呢? 之前我試openVPN 也有相同問題, 而我的解決方式是: 從遠端電腦的網路連線設定, 按右鍵-->內容-->網路功能(分頁)-->內容-->進階 有個「使用遠端網路的預設閘道」,把這個打勾取消掉。 然後再重連一次,gateway 就不會被亂改了。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.31.89.70
文章代碼(AID): #1CW8W5GW (Linux)
文章代碼(AID): #1CW8W5GW (Linux)