{"action":"created","issue":{"url":"https://api.github.com/repos/clowwindy/ShadowVPN/issues/83","labels_url":"https://api.github.com/repos/clowwindy/ShadowVPN/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/clowwindy/ShadowVPN/issues/83/comments","events_url":"https://api.github.com/repos/clowwindy/ShadowVPN/issues/83/events","html_url":"https://github.com/clowwindy/ShadowVPN/issues/83","id":54742306,"number":83,"title":"Suggestion about changing route","user":{"login":"limifly","id":3623909,"avatar_url":"https://avatars.githubusercontent.com/u/3623909?v=3","gravatar_id":"","url":"https://api.github.com/users/limifly","html_url":"https://github.com/limifly","followers_url":"https://api.github.com/users/limifly/followers","following_url":"https://api.github.com/users/limifly/following{/other_user}","gists_url":"https://api.github.com/users/limifly/gists{/gist_id}","starred_url":"https://api.github.com/users/limifly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limifly/subscriptions","organizations_url":"https://api.github.com/users/limifly/orgs","repos_url":"https://api.github.com/users/limifly/repos","events_url":"https://api.github.com/users/limifly/events{/privacy}","received_events_url":"https://api.github.com/users/limifly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-19T09:31:46Z","updated_at":"2015-01-19T12:45:19Z","closed_at":"2015-01-19T12:45:19Z","body":"在现有版本的shadowvpn中，连接建立后会将默认网关更改到10.7.0.1，但是这样做的坏处是需要记录原来的网关地址，断开时需要恢复。但是client端的shadowvpn程序如果没有正常关闭，默认网关没有恢复的话，用户可能会丢失到client的连接。\r\n\r\n我以前用OpenVPN时，一般是添加两条路由，0.0.0.0/1和128.0.0.0/1，它们相当于0.0.0.0/0，但是默认的0.0.0.0/0还在路由表中，如果vpn没有正常关闭，系统仍然能找到这条路由。\r\n\r\n欢迎探讨这样做的利弊。"},"comment":{"url":"https://api.github.com/repos/clowwindy/ShadowVPN/issues/comments/70487310","html_url":"https://github.com/clowwindy/ShadowVPN/issues/83#issuecomment-70487310","issue_url":"https://api.github.com/repos/clowwindy/ShadowVPN/issues/83","id":70487310,"user":{"login":"clowwindy","id":1073082,"avatar_url":"https://avatars.githubusercontent.com/u/1073082?v=3","gravatar_id":"","url":"https://api.github.com/users/clowwindy","html_url":"https://github.com/clowwindy","followers_url":"https://api.github.com/users/clowwindy/followers","following_url":"https://api.github.com/users/clowwindy/following{/other_user}","gists_url":"https://api.github.com/users/clowwindy/gists{/gist_id}","starred_url":"https://api.github.com/users/clowwindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clowwindy/subscriptions","organizations_url":"https://api.github.com/users/clowwindy/orgs","repos_url":"https://api.github.com/users/clowwindy/repos","events_url":"https://api.github.com/users/clowwindy/events{/privacy}","received_events_url":"https://api.github.com/users/clowwindy/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T12:45:19Z","updated_at":"2015-01-19T12:45:19Z","body":"shadowvpn 是无连接的，一般不会非正常关闭。如果关闭了，视作 bug。"}}