内网用户VPN

发布时间:2024-05-18 02:11 发布:上海旅游网

问题描述:

内网用户使用VPN到其他VPN服务器,本地内网的路由是否要做什么关于路由穿透的配置呢?特地向各位请教。路由型号是cisco 2610.(使用了NAT或者PAT技术)

问题解答:

最简单的方法是用tunnel

192.168.0.0--r1-202.102.48.x--intenet--211.64.135.x--r2--172.16.1.0

1.config static route and verify connective

ip route 0.0.0.0 0.0.0.0 202.102.48.66
ip route 0.0.0.0 0.0.0.0 211.64.135.33 2

2.config GRE tunnel

interface Tunnel0
ip address 10.1.1.1 255.255.255.0
tunnel source Serial1/1
tunnel destination 211.64.135.34
!
interface Tunnel0
ip address 10.1.1.2 255.255.255.0
tunnel source Serial1/0
tunnel destination 202.102.48.65
!
verify tunnel add

3
sh int tunnel 0
sh ip route

4.config static route for priviate add
ip rotue 192.168.0.0 25 5.255.0.0 10.1.1.2
ip route 172.16.0.0 255.255.0.0 10.1.1.1

大概看看吧 就是这个意思 两边的内网是172.16.0.0 192.168.0.0
tunnel地址是10.1.1.x

如果您有一定基础相信能看得懂 谢谢 第一次帮别人解决问 呵呵 无意间发现 正好最近在研究这方面

你可以用金万维公司的“天联”这款VPN软件 只要你在两边的电脑上,都安装上软件 ,就会分配给你个虚拟内网IP 。通过这个IP就可以远程访问了。只要你的机器能上网就可以用。没公网IP也没关系,不用在做什么复杂的设置了,而且数据传输是采用p2p的传输方式,数据不经过中转,保证安全性及速度。简单,易用。

热点新闻