可以仿制那个win下的脚本文件 修改下命令也达到批量修改默认路由表的目的吗?<div>这个修改是永久的呢  还是重启后就会消失?<br><br><div class="gmail_quote">在 2011年7月28日 下午2:50,Earthson <span dir="ltr"><<a href="mailto:earthson.landy@gmail.com">earthson.landy@gmail.com</a>></span>写道:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">ubuntu下路由表的操作具体man route<br>
<br>
如果要更改默认路由,可以这样<br>
先删掉默认路由<br>
sudo route del default<br>
然后再添加一个默认路由<br>
sudo route add default gateway x.x.x.x<br>
<div><div></div><div class="h5"><br>
2011/7/28 guangze liao <<a href="mailto:farmer6@gmail.com">farmer6@gmail.com</a>><br>
<br>
> artc??这个是虾米呢?<br>
> 我感觉是不是route add这个命令改一下就行了?<br>
> 这个是豆荚VPN那个路由表的下载地址 哪个熟悉的朋友去看下呢??<br>
> <a href="http://www.podvpn1.info/thread-79-1-1.html" target="_blank">http://www.podvpn1.info/thread-79-1-1.html</a><br>
><br>
> 在 2011年7月28日 下午2:03,袁飞 <<a href="mailto:snowhawkyrf@gmail.com">snowhawkyrf@gmail.com</a>>写道:<br>
><br>
> > 同问<br>
> ><br>
> > 在 2011年7月28日 下午1:56,guangze liao <<a href="mailto:farmer6@gmail.com">farmer6@gmail.com</a>>写道:<br>
> ><br>
> > > 嗯 谢谢各位的回答  openvpn 也是支持的 我只是不知道要怎么使用<br>
> > ><br>
> > > 另外豆荚的那个国内外网站自动分流的脚本 就是访问国内网站的时候不走VPN 访问国外网站的时候流量再走VPN服务器<br>
> > > 我看了下在win下面其实就是添加修改了默认路由表对吧、<br>
> > > 如果我想在ubuntu上也修改路由表达到同样的效果 该如何操作呢<br>
> > > *<br>
> > > *<br>
> > > *那个win下面自动分流的路由表下载地址是*<br>
> > > <a href="http://www.podvpn1.info/thread-79-1-1.html" target="_blank">http://www.podvpn1.info/thread-79-1-1.html</a><br>
> > ><br>
> > > 在 2011年7月28日 上午1:41,Earthson <<a href="mailto:earthson.landy@gmail.com">earthson.landy@gmail.com</a>>写道:<br>
> > ><br>
> > > > 以前配置过l2tp,用xl2tp和openswan架的。<br>
> > > ><br>
> > 所以,那个network-manager-strongswan很可能是l2tp的支持。刚才网上搜了一下,貌似确实是的,具体lz可以google之。<br>
> > > ><br>
> > > > 2011/7/28 Houge_Langley <<a href="mailto:mymathersname@gmail.com">mymathersname@gmail.com</a>><br>
> > > ><br>
> > > > > 朋友试试把这几个包都装上看看。<br>
> > > > ><br>
> > > > > l2tpd l2tpns xl2tpd<br>
> > > > ><br>
> > > > > 于 2011年07月28日 01:17, Earthson 写道:<br>
> > > > ><br>
> > > > >> 我搜了下,没有发现L2TP的,openvpn确实有。<br>
> > > > >> 哦~不对,这个有可能是L2TP的。<br>
> > > > >> network-manager-strongswan - network management framework<br>
> > (strongSwan<br>
> > > > >> plugin)<br>
> > > > >><br>
> > > > >> 2011/7/28 Earthson<earthson.landy@gmail.**com <<br>
> > > <a href="mailto:earthson.landy@gmail.com">earthson.landy@gmail.com</a><br>
> > > > >><br>
> > > > >><br>
> > > > >>  原来是这样。。<br>
> > > > >>><br>
> > > > >>> 2011/7/28 Houge_Langley<mymathersname@**<a href="http://gmail.com" target="_blank">gmail.com</a><<br>
> > > > <a href="mailto:mymathersname@gmail.com">mymathersname@gmail.com</a>><br>
> > > > >>> ><br>
> > > > >>><br>
> > > > >>>  不对,linux下如果是network-****manager图形化有支持所有的vpn协议,朋友用 aptitude<br>
> > > > >>>> search搜索一些,l2tp和openvpn,全部都有,****我现在就用这openvpn。<br>
> > > > >>>><br>
> > > > >>>> 于 2011年07月28日 00:49, Earthson 写道:<br>
> > > > >>>><br>
> > > > >>>><br>
> >  你用什么连L2TP的,貌似Ubuntu的图形工具(****network-manager)只支持PPTP,****应该不支持L2TP的<br>
> > > > >>>><br>
> > > > >>>>> 所以,如果你用它连L2TP的话,会失败的。<br>
> > > > >>>>><br>
> > > > >>>>> 2011/7/27 guangze liao<<a href="mailto:farmer6@gmail.com">farmer6@gmail.com</a>><br>
> > > > >>>>><br>
> > > > >>>>>  邮件列表里的同志们<br>
> > > > >>>>><br>
> > > > >>>>>> 大家可还记得之前有人推荐的豆荚VPN翻墙的那个<br>
> > > > >>>>>> 我在WIN7下使用一切正常 L2TP和 PPTP都可以正常使用<br>
> > > > >>>>>> 可以到了单位 在Ubuntu下 只能偶尔正常连接PPTP的<br>
> > > > >>>>>> 连接L2TP的时候提示鉴权失败,****大家有没有遇到跟我一样问题的?<br>
> > > > >>>>>> 现在最新的网址是<a href="http://www.podvpn1." target="_blank">http://www.podvpn1.</a>****info<<a href="http://www.podvpn1.info" target="_blank">http://www.podvpn1.info</a>><br>
> > > > >>>>>><br>
> > > > >>>>>> -------------- 下一部分 --------------<br>
> > > > >>>>>> 一个HTML附件被移除...<br>
> > > > >>>>>> URL:<<br>
> > > > >>>>>> <a href="https://lists.ubuntu.com/****archives/ubuntu-zh/**" target="_blank">https://lists.ubuntu.com/****archives/ubuntu-zh/**</a><<br>
> > > > <a href="https://lists.ubuntu.com/**archives/ubuntu-zh/**" target="_blank">https://lists.ubuntu.com/**archives/ubuntu-zh/**</a>><br>
> > > > >>>>>> attachments/20110727/44c9c6ec/****attachment.html<https://**<br>
> > > > >>>>>> <a href="http://lists.ubuntu.com/archives/**ubuntu-zh/attachments/**" target="_blank">lists.ubuntu.com/archives/**ubuntu-zh/attachments/**</a><br>
> > > > >>>>>> 20110727/44c9c6ec/attachment.**html<<br>
> > > ><br>
> > ><br>
> ><br>
> <a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110727/44c9c6ec/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110727/44c9c6ec/attachment.html</a><br>
> > > > ><br>
> > > > >>>>>> ><br>
> > > > >>>>>><br>
> > > > >>>>>> --<br>
> > > > >>>>>> ubuntu-zh mailing list<br>
> > > > >>>>>> <a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
> > > > >>>>>> <a href="https://lists.ubuntu.com/****mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/****mailman/listinfo/ubuntu-zh</a><<br>
> > > > <a href="https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh</a>><br>
> > > > >>>>>> <htt**ps://<a href="http://lists.ubuntu.com/mailman/**listinfo/ubuntu-zh" target="_blank">lists.ubuntu.com/mailman/**listinfo/ubuntu-zh</a><<br>
> > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a>><br>
> > > > >>>>>> ><br>
> > > > >>>>>><br>
> > > > >>>>>><br>
> > > > >>>>>><br>
> > > > >>>>>  --<br>
> > > > >>>> ubuntu-zh mailing list<br>
> > > > >>>> <a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
> > > > >>>> <a href="https://lists.ubuntu.com/****mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/****mailman/listinfo/ubuntu-zh</a><<br>
> > > > <a href="https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh</a>><br>
> > > > >>>> <htt**ps://<a href="http://lists.ubuntu.com/mailman/**listinfo/ubuntu-zh" target="_blank">lists.ubuntu.com/mailman/**listinfo/ubuntu-zh</a><<br>
> > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a>><br>
> > > > >>>> ><br>
> > > > >>>><br>
> > > > >>>><br>
> > > > >>><br>
> > > > >>> --<br>
> > > > >>><br>
> > > > >>>                                     这个世界不会因为没有你而失去什么<br>
> > > > >>> 但是,却有可能因为你的存在而发生一些改变。。<br>
> > > > >>><br>
> > > > >>><br>
> > > > >>><br>
> > > > >><br>
> > > > ><br>
> > > > > --<br>
> > > > > ubuntu-zh mailing list<br>
> > > > > <a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
> > > > > <a href="https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/**mailman/listinfo/ubuntu-zh</a><<br>
> > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a>><br>
> > > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > ><br>
> > > >                                    这个世界不会因为没有你而失去什么<br>
> > > > 但是,却有可能因为你的存在而发生一些改变。。<br>
> > > > -------------- 下一部分 --------------<br>
> > > > 一个HTML附件被移除...<br>
> > > > URL: <<br>
> > > ><br>
> > ><br>
> ><br>
> <a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/3dd9de3b/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/3dd9de3b/attachment.html</a><br>
> > > > ><br>
> > > > --<br>
> > > > ubuntu-zh mailing list<br>
> > > > <a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
> > > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a><br>
> > > ><br>
> > > -------------- 下一部分 --------------<br>
> > > 一个HTML附件被移除...<br>
> > > URL: <<br>
> > ><br>
> ><br>
> <a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/65e678cd/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/65e678cd/attachment.html</a><br>
> > > ><br>
> > > --<br>
> > > ubuntu-zh mailing list<br>
> > > <a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
> > > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a><br>
> > ><br>
> > -------------- 下一部分 --------------<br>
> > 一个HTML附件被移除...<br>
> > URL: <<br>
> ><br>
> <a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/6c6b678b/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/6c6b678b/attachment.html</a><br>
> > ><br>
> > --<br>
> > ubuntu-zh mailing list<br>
> > <a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
> > <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a><br>
> ><br>
> -------------- 下一部分 --------------<br>
> 一个HTML附件被移除...<br>
> URL: <<br>
</div></div>> <a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/c4a582d9/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/c4a582d9/attachment.html</a><br>

<div class="im">> ><br>
> --<br>
> ubuntu-zh mailing list<br>
> <a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a><br>
><br>
<br>
<br>
<br>
</div>--<br>
<div class="im"><br>
                                    这个世界不会因为没有你而失去什么<br>
但是,却有可能因为你的存在而发生一些改变。。<br>
-------------- 下一部分 --------------<br>
一个HTML附件被移除...<br>
</div>URL: <<a href="https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/3183af10/attachment.html" target="_blank">https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110728/3183af10/attachment.html</a>><br>

<div><div></div><div class="h5">--<br>
ubuntu-zh mailing list<br>
<a href="mailto:ubuntu-zh@lists.ubuntu.com">ubuntu-zh@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh</a><br>
</div></div></blockquote></div><br></div>