如何設定 Mac VPN Client 將全部流量導到server?

Mac OS X : HOWTO send all traffic over the VPN connection??

先前有一篇跟大家分享如何 在 Snow Leopard Server 上設定 VPN Server. 在使用Mac OS X 當 VPN client 過程當中會發現. 預設的設定並不會把所有的流量(all traffic over the VPN connection) 導向VPN server 上. 只有遇到與 VPN server 同一段網段, 才會連接到 VPN 上. 其他的網路封包都是各走各的. (partial traffic over the VPN connection) 此篇文章是跟大家分享Mac如何設定讓所有的封包都經過 VPN server.


到”系統偏好” 選擇”網路” (System Preferences -> Network)


在 + – 按鈕旁邊有個小齒輪, 點選它 (click on the gear icon, near by + – buttons)


設定服務順序…(Set Service Order…)


把vpn往上拉..(drag VPN setting up to Ethernet)


這樣就可以了. 重新連線你就會發現..所有的封包都會走向 VPN server.

當然你也可以自定 要優先走無線網路還是有線網路.

參考 : Mac OS VPN ignoring Send all traffic over VPN connection

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.