[問答] VPN中的OfferedRouteType有什麼差別
各位好,
我是用 Mac OS X 內建的 vpnd 跑的 vpn server(PPTP)
家裡網路的架構是
(ISP,internet)<--->(Router,10.0.0.1)<---->(Mac,10.0.0.20)
並且將 Router NAT default host 指向10.0.0.20
目前手機用 3G 網路都可以連的上 Mac 的 VPN server,
且查到的 public ip 也都是家裡 ISP 的 ip
但是在設定 VPN server 的時候有指定
OfferedRouteAddress = "10.0.0.1" <-- 這應該就是 default gateway 的意思吧?
OfferedRouteMask = "255.255.255.0" <-- 這個應該指跑 10.0.0.x 都給
10.0.0.1 去 route
OfferedRouteType = "Public" <-- 不知道是什麼意思?
這邊想請問的是 Route Type 有 Public 跟 Private 兩個可以選,
我試過兩個都可以正確連上且取到的 public ip 都是 ISP 的,看起來好像沒有差?
查到的資料原文:
By using network routing definitions, you can choose whether to
route data from VPN clients to an address group through
the VPN tunnel (referred to as private) or
over the VPN user’s ISP connection (referred to as public).
這邊不太懂的是:假設我是 VPN Client,想要透過VPN去開 http://tw.yahoo.com/
這邊的做法在 route type 是 public 或 private 有不一樣嗎?
是不是在 VPN server <--> VPN Client 的時候沒有加密(VPN Tunnel)?
不知道觀念是否正確,有錯誤請指正,謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.158.47.57
※ 文章網址: http://www.ptt.cc/bbs/Network/M.1416760721.A.8B8.html
Network 近期熱門文章
PTT數位生活區 即時熱門文章
10
23