请问VPN客户端的问题

由 Seraphim 在 01-11-2004 04:41 发表:

请问VPN客户端的问题

在RH9上配置了PPTPD作为VPN服务器,客户端是windowsxp,ADSL拨号联入服务器,登录正常,但是ipconfig的结果:

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 192.1.1.5

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.1.1.254

PPP adapter BBN:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 61.51.141.75

Subnet Mask . . . . . . . . . . . : 255.255.255.255

Default Gateway . . . . . . . . . : 61.51.141.75

PPP adapter Interact:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 192.1.1.253

Subnet Mask . . . . . . . . . . . : 255.255.255.255

Default Gateway . . . . . . . . . : 192.1.1.253

第一个是客户端网卡的IP

第二个是ADSL拨号的IP

第三个是VPN服务分配的IP,内网IP就是192.1.1.*

但是问题是掩码是255.255.255.255,所以别的机器都ping不通。

如何修改?使得掩码能分配成255.255.255.0


Web:http://www.itpub.net/index.php?referrerid=12521

Email:[email protected]

MSN:[email protected]

WEBLOG:http//blog.csdn.net/kamus/

我有一所房子

面朝大海, 春暖花开


由 Seraphim 在 01-12-2004 20:01 发表:


顶一下


Web:http://www.itpub.net/index.php?referrerid=12521

Email:[email protected]

MSN:[email protected]

WEBLOG:http//blog.csdn.net/kamus/

我有一所房子

面朝大海, 春暖花开


由 Seraphim 在 01-13-2004 01:39 发表:


由看了一些文档,应该是还需要在服务器上配置NAT的,可惜大部分的文档都是ipchains的,看来又要好好看看用iptables怎么改写ipchains了。

再说一下服务器的构造:

服务器是Readhat Linux9,双网卡,一块是内网,是192.1.1.254,另外一块是公网的静态IP。防火墙也在这台linux上,用iptables实现netfilter。

现在安装了PPTPD,目的是想在远端用WindowsXP拨ADSL,实现VPN连入192.1.1.X的公司内部网段,并且能访问所有在这个网段上的机器。

__________________<b

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus