sonicwall vpn connect through a router at main site from remote site

Posted on 2014-04-04
Last Modified: 2014-04-08
I have a sonicwall VPN setup between my remote location and main location.  The VPN is working fine.  What I am trying to do is forward all traffic to a certain group of web sites through an IP that is at the main site.

Remote 172.17.31.X
local 10.2.0.X

When on a computer at the remote and try to connect to the X.X.X.X network I want to to go through a router at even though it will have to go through the vpn and then out this additional router.  How do I accomplish this?
Question by:Dwci
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 39980276
Totally possible.
Make your address objects/groups for the router and websites.
Off of memory, I believe its in network->nat
Source - group that you are messing with
Destination - websites
Translated source - gateway
Pretty sure you also have to do the reverse. Start simple with just one ip in the group, say a laptop next to you, and do tracert each step. If you try to do it all at once and it doesn't work you won't know where the problem is.

Author Comment

ID: 39980295
So I guess I am lost.  I was thinking I could just use routing, are you saying I need to use NAT?  Specifics destination ip of additional router at main site that I need the traffic to go out through
172.17.31.X subnet of remote location.

Any help you can give is great.
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 39980505
Sorry I won't have a sonicwall available until Tuesday to look at and give better details.
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

LVL 39

Accepted Solution

Aaron Tomosky earned 500 total points
ID: 39987257
I think nat is overkill and you can do this in routing.

source: any (probably want to just do a single ip for testing then change to any later)
destination: address object group of websites
service: (any would work but I would make an object for http&https)
interface: (I'm not sure about this, maybe x1 as a fallback)
check "allow vpn path to take precedence"

Start with just one ip in the source and set this up. Run a tracert and see if it works

Author Comment

ID: 39987303
Come to find out all of this will work but it was one of the downline routers that didn't know how to get back.  Thanks.

Author Closing Comment

ID: 39987307
This is what ended up working but need to make sure downline routers understand how to get back also.
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 39987312
curious: what is the interface setting that worked for you? I wonder if it even matters since the vpn path takes precedence anyway...

Author Comment

ID: 39987315
I used the same interface as the VPN was on which in my case was X4.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Building small business network 4 107
Hit router interface limit 7 68
Cisco WRVS4400N 11 61
VPN Server Configuration in windows 7 7 41
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question