I am struggeling with routing specific WAN/LAN IP's on a specific VLAN Interface, through a VPN connection instead of routing through the default gateway.
Lets say the customers VLAN IP is 192.168.1.0/24 and the default customer gw is 192.168.1.1. They have a VPN box on this network that has a site to site connection to another location, with the IP: 192.168.1.2.
I need to route some specific IP's through this VPN box, 192.168.1.2, and not the default gateway, 192.168.1.1.
The rules is as follows:
Source: VLAN56 Subnet (192.168.1.0/24)
Destination: Address Object Group (192.168.2.5, 192.168.2.9 etc)
Gateway: VPN Box - 192.168.1.2
Interface: VLAN56 Interface (the customer VLAN interface)
Because I have not been able to solve this, I've used a temp quick fix on windows level. By using a bat file, like this:
route ADD 192.168.2.5 MASK 255.255.255.255 192.168.1.2
This works for now, but I'd rather manage this route with our FW.
Note: I have only tested this SonicWALL route on a virtual machine, and no physical machines, if that matters.
Edit: I should add that this is my first time trying to add a Static route in SonicWALL. I have used the information I could find online on how to do this, and there might be some basic config mistakes/errors. :-)