How to setup VPN connection behind dlink routers

paragon

新手上路
注册
2003-12-22
消息
43
荣誉分数
0
声望点数
0
Me and my friend both have dlink router at home and we both use 192.168.0.x for internal network addresses.

I can use dialup networking and then use VPN client to connect to my friend's VPN server.

My friend can use dialup network and then use VPN client to connect to my VPN server.

But if we don't use dailup network(i.e, we use ADSL/Cable modem), we can not connect to each other.

Actually we can logon to each other's VPN server but can not ping to each other's VPN-assigned ip address.

the network diagram is as follows:

192.168.0.x(VPN client) -> 192.168.0.1(dlink router) -> DSL/Cable modem ->
----------------- Internet ---------------------------
DSL modem -> 192.168.0.1(dlink router) -> 192.168.0.x(VPN server)

If my friend change the VPN-assigned address to 192.168.1.x, I can ping to my friend's VPN-server, but my friend prefer to use 192.168.0.x instead of 192.168.1.x for his internal network.
I am wondering if the VPN-assigned address have to be different from the original ip address section?
Thx a lot for any advice!

Both of us use windows XP professional.
 
能写中文吗?
 
Two routes with the same subnet cannot be used together.
 
用 dd-wrt 刷一下vpn 固件, 前提是你的router支持dd-wrt,
 
如果只是为了不想用192.168.0.x。可以都换成10.x.x.x网段,或者172.16.x.x也可以啊。 但如果想site to site VPN的话就得要你的router支持了, 一般便宜的家用router没这个功能。
 
用Dial up是Client to site VPN, 你要的是Site to Site VPN.

Site to Site VPN 不能有Encryption Domain Overlapping.否则即使Tunnel起来了,Traffic不在Tunnel里。因为有路由问题。

9楼说的对,最简单的方法是用不同的子网。如果一定要用相同的子网段,那就要两边作NAT了。
 
后退
顶部