找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 10687|回复: 16

[vpn] ROS 2.97 多IP VPN服务器解决 RMB酬谢

  [复制链接]
发表于 2010-2-16 06:59:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
小弟有台8WAN口的 ros 用来做VPN服务器的 暂时只能用一条IP做成VPN服务器  我想把8个外网IP都做成独立的VPN服务器    就是可以拨进8个WAN口的任何一个IP  拨哪个IP走哪个IP   有能解决的 可以人民币酬谢    联系QQ:40622318  请注明  "VPN"  谢谢
routeros
发表于 2010-2-16 12:27:45 | 显示全部楼层
默认开了PPTP应该是所有接口都可以拨号的呀
routeros
回复

使用道具 举报

发表于 2010-2-16 14:33:44 | 显示全部楼层
走默认线路
routeros
回复

使用道具 举报

 楼主| 发表于 2010-2-17 01:11:28 | 显示全部楼层
好冷清的坛子  怎么就没高人跟下呢
routeros
回复

使用道具 举报

发表于 2010-2-20 08:19:53 | 显示全部楼层
开启VPN服务器,本来8条线就都可以使用了,而且肯定是你拔那条线路走那样线路
如果你是为了实现借线,而拔那个外线的VPN需要通过那条出去,那你就加路由就可以了。针对来源地址做。
routeros
回复

使用道具 举报

发表于 2010-2-20 08:33:14 | 显示全部楼层
都没有说到点子上,肌肉说的有点靠谱,LZ要求的基本上不可行,不能实现拨哪条就走哪条(据我所知哈,当然也许真有高人存在),可以通过账号来控制路由走向,否则就像肌肉说的,全部都走默认了。。。
routeros
回复

使用道具 举报

发表于 2010-2-20 08:34:29 | 显示全部楼层
不做策略的话一般是只能通过默认线路拨号的,其他线路是拨不通的。。。实践出真知。。。
routeros
回复

使用道具 举报

发表于 2010-2-20 10:06:39 | 显示全部楼层



    可以,我反正用的3.22以上版本多线,每条线都可以从外网拨入,并没有特别设置,以前2.9的不行,只能连接默认线路,至于拨哪条走哪条也可以做INPUT OUTPUT来实现,我以前专门研究了几天,确定可以。
routeros
回复

使用道具 举报

发表于 2010-2-20 11:05:31 | 显示全部楼层
赞成
可以,我反正用的3.22以上版本多线,每条线都可以从外网拨入,并没有特别设置,以前2.9的不行,只 ...
zooyo 发表于 2010-2-20 10:06
routeros
回复

使用道具 举报

发表于 2010-2-20 14:34:35 | 显示全部楼层
有时间再研究下。。。
routeros
回复

使用道具 举报

发表于 2010-2-21 08:20:00 | 显示全部楼层
寒风落叶

我在用3.20 和3.22也确认确认可以,你在说别人说法不靠谱的时候自己确认一下先.
routeros
回复

使用道具 举报

发表于 2010-2-21 14:06:21 | 显示全部楼层
测试过2.9.27的双光纤,外网可以拨入PPTP VPN,走路由表出
routeros
回复

使用道具 举报

发表于 2010-2-22 15:32:59 | 显示全部楼层
有静态路由表啊,要不路由表用来干嘛,呵呵
根据源地址判断就可以了啦
routeros
回复

使用道具 举报

发表于 2010-2-23 02:10:45 | 显示全部楼层
2.9的好像不行吧,连接winbox都只能走默认
routeros
回复

使用道具 举报

发表于 2010-2-23 05:22:12 | 显示全部楼层
其实就是INPUT OUTPUT的问题,试一下吧!
/ip firewall mangle
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out1 new-connection-mark=mark1 passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out2 new-connection-mark=mark2 passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out3 new-connection-mark=mark3 passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out4 new-connection-mark=mark4 passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out5 new-connection-mark=mark5 passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out6 new-connection-mark=mark6 passthrough=yes
add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out7 new-connection-mark=mark7 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=mark1 disabled=no new-routing-mark=mark1 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=mark2 disabled=no new-routing-mark=mark2 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=mark3 disabled=no new-routing-mark=mark3 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=mark4 disabled=no new-routing-mark=mark4 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=mark5 disabled=no new-routing-mark=mark5 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=mark6 disabled=no new-routing-mark=mark6 passthrough=yes
add action=mark-routing chain=output comment="" connection-mark=mark7 disabled=no new-routing-mark=mark7 passthrough=yes
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-17 11:01 , Processed in 0.080919 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表