Cisco Support Community
Community Member

RVS4000 vpn issue

I've setup a IPSEC vpn with following setting but can't connect and the log says "can't innitiate the connection w/o knowing peer ip address"

Can you tell me what is wrong with my setting?

Local Group Setup  Local Security Gateway Type:   IP Only

IP address:
Local Security Group Type:  Subnet
IP Address:  
Subnet Mask:  255.255. 255.0    

Remote Group Setup  Remote Security Gateway Type:   Any

Remote Security Group Type:  IP Addr

IP Address:
This Gateway accepts requests from any IP address.
Subnet Mask:    

IPSec Setup  Keying Mode:  IKE with Preshared keyl
Phase 1:
Encryption:  3DES  
Authentication:  MD5
Group:  768-bit
Key Life Time:   28800Sec.

Phase 2:

Encryption:  3DES  
Authentication:  SHA1  
Perfect Forward Secrecy:  Enable

Status  Down


Re: RVS4000 vpn issue

Are you trying to establish a site to site VPN?   If so, the other side (Router) also needs to be configured to match this one.

Community Member

Re: RVS4000 vpn issue

No, it is not site to site.

I'd like to connect from home(DSL) to work(RVS 4000 with T1).


Re: RVS4000 vpn issue

OK.  Then if you want to configure CLient VPN connection, you can use QVPN on the PC at the remote location and connect to the RVS4000 as the Server, if you will.

You were sharing configuration that is only relevant when setting up a site to site (or gateway to gateway) VPN tunnel.

See if this helps:

Community Member

Re: RVS4000 vpn issue

Thanks but In the log of RVS4000,  "home" cannot initiate the connection without knowing peer ip address and keep failing connect.

And I can't connect through Quick VPN either.

Re: RVS4000 vpn issue

The RVS4000 can be a Gateway in a site to site IPSec VPN (a tunnel to another router) or a server which hosts client QVPN connections to it.

The peer IP address would be the WAN IP of the RVS4000.  Whether thats static or DDNS resolved DHCP.  For IPSec Tunnels to establish, the peer needs to be a known address.  When a router (gateway) wants to make a connection to another router (gateway), this site to site connection would be the IPSec Tunnel. Each router defininging its own local subnet to share (must be unique) and its WAN IP address.

If on the other hand you want to use a PC on a public internet to connect to an RVS4000, then you can use the QVPN client, but that requires that you configured a user and password in the RVS4000 under client VPN settings (not site to site).  In that case, only the client needs to know who the RVS4000 (WAN IP) is.  It establishes an IPSec tunnel, but it becomes a member of the RVS4000 network (you configure a DHCP pool for the remote clients so that works).

Community Member

Re: RVS4000 vpn issue

As you can see from my very 1st message, I'm using the static IP address for RVS4000.

RVS4000 is working fine other than VPN.

Our configuration for our network setup is like below;

Work: T1 -> Cisco 1720 -> RVS4000 -> Switch

Home: DSL -> Linksys WRT54G


Community Member

Re: RVS4000 vpn issue


Were we able to help you find a solution? If you still need help or have any additoinal questions please let me know.

Thank you,

Cisco Moderation Team

Re: RVS4000 vpn issue

If I understand that topology there is a T1 (WAN) coming into a 1720 and then to the RVS4000.   Thats not going to work too well I dont think.  The RVS4000 needs to have a public routable IP......

Community Member

Re: RVS4000 vpn issue

RVS4000 does have a public IP address which is and also using it with port forwarding for Email server and working fine.

But VPN is not working

Re: RVS4000 vpn issue

I decided a different approach to help you here.

I figured if I can make it work, and show you, then you can see how to do it.

So I built a small network in my lab with a Layer 3 routed network (my cloud if you will).

I have the following routers from the small business portfolio:

So here is the environment:

Router               WAN IP              LAN                    Next Hop DGW (another router)






I set up 4 tunnels in each router and have a full mesh IPSec network up and running in about an hour.

Let me show you the config for the RVS4000.  Attached pics of screens of the RVS4000. 

The other router matches in terms of Phase 1 and Phase 2 parameters.

Now I can be on either LAN and access the devices on the other routers LAN.

Let me know if this helps you.

Community Member

Re: RVS4000 vpn issue

I have the exact same set of issues working from a dynamic IP at the remote end.

1- If you configure a VPN tunnel on the RVS4000 to accept connection from any IP, it will not accept a connection. This setting simply does not work. It only works with a fixed IP.

QVPN did not work either from behind a Gateway with a dynamic IP.

2- QVPN will crash outright (with a nasty "wget application needs to close") if  DoS is enabled on the RVS4000.

3- If DoS is disabled, it will not crash, but it is not able make a connection through a (Cisco/Linsksys!) Gateway, even though NAT traversal is enabled.

These three issues are widely reported on the internet. Are you able to reproduce them? I have seen no one with a solution yet.

Community Member

Re: RVS4000 vpn issue

After inspecting the log closely and using another VPN Client (TheGreenBow) with some debug capability, I was actually able to VPN from a client behind a NAT router under restricted circumstances, which also seem to point to the problem.

The issue has to do with remote group security setup apparently not working properly. If you use the "Any" setting for the remote IP, and you use subnet method of authentication, the RVS4000 will not recognize a host belonging to the subnet properly. However if you specify a single static remote host IP address it works (but obviously not practical in a DHCP environment). For example, if you setup remote security as a subnet, say /, the router will still not accept a connection from host (the VPN log shows that it cannot find a connection match for, when instead it should find that the rule applies). Sure enough, if you setup the remote security as the single host IP instead, it will match the connection and open the tunnel, at least with the Green Bow client.

I suspect this could also explain why the Quick VPN will not work either in a similar situation.

This is using version of the firmware. Is this a known bug? Any fix?

Community Member

Re: RVS4000 vpn issue

I wish to set up a client to RVS4000 VPN.  I have two laptops with which I travel.  One uses Ubuntu 9.10 and the other uses Windows Vista x64.  That rules out the use of QuickVPN in both cases.  No, QuickVPN version does NOT work under WINE.

The RVS4000 has a static and known IP address.  The clients addresses will vary.  The closest to success I have come is the following two configurations.  1) I have installed VMWare on the Vista laptop with a guest OS of XP 32 bit and installed QuickVPN.  I can then connect to the router and set up a VPN tunnel.  While an interesting proof of concept this is a tedious work around.

I am trying to work with the ShrewSoft VPN Client.  I use remote group of any with a private subnet different from the RVS4000.  Shrewsoft allows the assignment of a virtual ip address.

The shrewsoft client sets up and acknowledges a tunnel, unfortunately the RVS4000 never realizes the tunnel is up.  Yet when I change a VPN setting in the RVS4000 the shrewsoft client reports the disconnect.  Therefore they are communicating.

Community Member

Re: RVS4000 vpn issue

"If I understand that topology there is a T1 (WAN) coming into a 1720 and  then to the RVS4000.   Thats not going to work too well I dont think.   The RVS4000 needs to have a public routable IP......"

This is more or less exactly what I need to do.  I need to connect an Office to a Home with a Site-to-Site VPN tunnel.  The purpose is to connect remote IP phones (at the home) to the office (so something like the QuickVPN client is out - no computers are involved, only an IP phone).  The phone needs to just connect to the office via the router with zero intervention once everything is in place.

Current setup and results:


RVS4000 directly connected to the internet, static and public WAN IP address, accepts VPN requests from ANY IP


RVS4000 NATed behind ISP-supplied equipment, dynamic OR static (doesn't seem to make a difference) private WAN IP address, configured to send VPN tunnel requests to Office's public IP address

This works great - for about two or three hours.  The VPN tunnel initially connects without a hitch, runs for some amount of time, but after a few hours the VPN tunnel hiccups or something, loses it's connection, and is unable to reconnect itself.  No idea why this is the case - it connects fine initially.  Clicking Disconnect/Connect on the (remote home) VPN summary page does nothing.  However, after disabling/enabling the VPN tunnel on the (remote home) RVS4000 box, OR unplugging it and plugging it back in (the power cord that is), PRESTO the VPN tunnel is back up and running.  For a few hours.  Rinse, repeat.

This of course will not fly.  This is the scenario I have to work with, I simply need it to work with whatever settings and/or devices I need to throw in to make it happen.  The remote home VPN router box will not be connected directly to the internet, it will be NATed.  Any suggestions?

thanks ~ k

CreatePlease to create content