Join the Conversation

To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".


How do I route remote VPN device through default gateway with NAT like SSLVPN

(TZ500; Firmware SonicOS Enhanced I have a device ( on a remote network ( connected to the TZ500 via IPSecVPN site-to-site tunnel. I would like to route the WAN traffic from the single device through the VPN tunnel to the TZ500 default gateway and out to the WAN with NAT, such that the remote device traffic appears to come from the TZ500 (rather than its own router), in the same way SSLVPN traffic to the TZ500 does. I thought I had a handle on the set-up but apparently not.

Category: Entry Level Firewalls


  • Options
    ArkwrightArkwright All-Knowing Sage ✭✭✭✭

    The above could work but you would end up with everything in the network using it.

    If you want more fine-grained control over who uses the site-site as a default route, then you need a tunnel-mode VPN with static routes, and NAT policies at the TZ500 end to NAT the traffic appropriately.

  • Options
    bretdbretd Newbie ✭

    "a tunnel-mode VPN with static routes, and NAT policies at the TZ500 end to NAT the traffic appropriately": This is what I am attempting; I believe I have the remote site set to direct all traffic from the device ( only through the TZ500. I have created a Route on the TZ500, as well as a NAT policy and a Security policy to allow traffic from VPN to WAN, but either I have 1 or more of the TZ500 settings incorrect, 1 or more settings is being overridden by a pre-existing higher priority rule, or I don't have the route on the remote network router properly set (the remote router is a different mfg, but I have confirmation from a forum for that vendor/router that the route & permissions are correct.

    If all else fails, however, routing all traffic from through the tunnel and out the TZ500 would be a 2nd best solution (which, if you're willing to indicate in addition to or in lieu of the aforementioned more complicated solution, I would also like to hear--I believe it largely consists of altering the network policies for the IPSec VPN tunnel network on both ends of the tunnel from current main subnet--to, while keeping the remote network policy, correct?)

  • Options
    bretdbretd Newbie ✭


    On the TZ500, there is

    an access rule from VPN to WAN, source Any, destination Any, Service Any, Action Allow, users All

    a NAT policy from original source translated to X1 IP, destination Any to destination Original, service Any to service Original, inbound interface Any to outbound interface X1

    a route policy from Source to destination Any, service Any, app N/A, TOS/Mask Any, route Standard, gateway X1 Default Gateway, interface X1, Metric 1, priority 9

  • Options
    bretdbretd Newbie ✭

    Additional addendum:

    On the remote site, there is

    an access rule from LAN1 to IPSec_VPN, source, destination Any, service Any, user Any, Action Allow

    a route from source destination Any, service Any, next hop IPSec_VPN-tunnel

    no NAT/SNAT policy for the beyond the router default to the WAN

Sign In or Register to comment.