發表文章

目前顯示的是 1月, 2015的文章

架設VPN server

PPTP: 用win7內建的pptp vpn server L2TP: 用packetix vpn http://blog.xuite.net/sendohshih/blog/73932762 打開L2TP防火牆: windows->防火牆->進階設定->輸入規則->新增規則: Port->UDP:500,4500,1701 reference: http://blogs.technet.com/b/rrasblog/archive/2006/06/14/which-ports-to-unblock-for-vpn-traffic-to-pass-through.aspx

Ubuntu中安裝並設定VPN Server

Ubuntu中安裝並設定VPN Server http://igene.tw/vpn-server-install/

FB login error:Invalid redirect_uri

當FB login功能出現這個訊息: {    "error": {       "message": "Invalid redirect_uri: \u61c9....",       "type": "OAuthException",       "code": 191    } } 因為FB app限制redirect的ip或url,程式裡指定的redirect uri,必須符合fb app設定的資料,所以設定以下兩者之一,才能正常運作: 1.settings-basic-Site URL 2.settings-advanced- Security -Valid OAuth redirect URIs reference http://stackoverflow.com/questions/8100043/facebook-invalid-redirect-uri-but-the-url-looks-fine-to-me