cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6574
Views
0
Helpful
8
Replies

RV042 VPN - Allow External IP Access to an internal resource

blasty1010
Level 1
Level 1

Hi all,

I've setup an RV042 at our office and have created a VPN to allow mobile workers to connect to our internal network.  We have a vendor who needs to ssh into an internal server, but I'm having trouble getting this set up.  The documentation suggested an "access rule" to allow traffic from our vendor's static IP address to the internal server, but when I tried it didn't work.

Supposing our WAN1 IP address is 1.1.1.1 the vendor's static IP address is 2.2.2.2, can anyone step me through setting up a carveout/hole in our VPN to allow the vendor to ssh into 1.1.1.1 from 2.2.2.2 and be directed to a specific computer in our network?  Any help would be fantastic!

Thanks!

(PS I'm on Firmware Version: 1.3.12.19-tm)

8 Replies 8

Alejandro Gallego
Cisco Employee
Cisco Employee

Want to make sure I am clear with what you have and trying to do.

Remote Site (Client)                                                       Your Site (RV042)

IP: 2.2.2.2                    =====> IPSec VPN =====>      IP: 1.1.1.1

Needs to connect via SSH                                             Server for SSH connection

Is this what you meant when you stated that you have set up VPN on the router?

If yes, and you only want them to connect to a specific box via SSH then the rule should be something like this:

allow (service) from 2.2.2.2 on WAN 1 to   [where "service" is SSH port 22]

But if the only reason the VPN was created is to allow your clients access the server via SSH, then a port forward may be a better choice. Forward port 22 for SSH to the server and create the allow rule the same as above.

I am curious to see why if you connect via VPN we are still not able to access the server via SSH, with or without the rule.

Please expand on your set up as much as possible.

Thanks for the quick response...  A bit more detail:

Our company runs a server and some printers inside our internal network that outside sales reps who travel need to be able to connect and print to.  We set up a VPN with the RV042 and allow the outside reps to connect through a VPN client (IPSecuritas) on their laptops.  This was pretty easy to set up with the RV042.

Separately from the outside sales reps who we completely allow into the VPN, we have a vendor that maintains our server who needs to be able to SSH directly into that machine.  We don't want to grant that company access to our entire internal network and in the past (with our previous VPN box) have created a "hole" that allows SSH connections from their static IP address and routes them directly to the server within our network.

What I'm looking for is some guidance on how to do this with the RV042.  Does this require port forwarding and an access rule?  Or something else altogether?

Thanks!

For reference, I've attached screenshots of what I have right now that's not working...

Before you add the allow rule to allow a given fixed ip (you have this part done), you might want to add a deny rule to deny all source ip accessing the target LAN ip.

I'm not sure I'm entirely understanding this...  Could you provide a bit more explanation since I'm a total newbie???

Sorry if I sound stupid, I'm just new to doing this myself and am trying very hard to understand how to implement the concepts...

Thanks again!

This is what I meant. Hope it helps.

OK thanks, that makes perfect sense now.  I've attached screenshots of what I've got right now, but when the vendor tries to SSH to the RV042's WAN1 IP address, it just sits there and does nothing.  I looked at the log, and it looks like it accepts the connection then refuses it...

What should I make of this?

Thanks!

Would you please call the Small Business Support Center and provide your network topology and router configuration file so we can look further into this issue?

I have a us520, you wouldn;t happen to know the code for chaning this with the access list?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: