What type of Internet connection does the user have? Possibly PPPoE? I have seen this disconnect very quickly and frequently. It is by design. If this is the case, sometimes you can enable "keep alive" on the modem or router's ISP configuration, or set the time out value to '0' (disabled).
As a test try from the client, as soon as they connect, start a persistent ping and see if the connection stays active. To do so from a command line use ping with the -t option and ping the server such as:
ping -t 192.168.123.123
If with the ping, the connection doesn't stay active, I would try lowering the MTU value of the client machine. From an earlier post of mine:
Dropped connections can often be caused by too high an MTU (Maximum Transmission Unit) size, especially if it is a lower than normal performance connection. It is recommended you change this on the connecting/client computer and when possible, it's local router. The easiest way to change the MTU on the client is using the DrTCP tool:
http://www.dslreports.com/drtcpAs for where to set it, if not using automatic, it has to be 1430 or less for a Windows VPN which uses PPTP if using the basic client (1460 for L2TP). There are ways to test for the optimum size of the MTU such as:
http://www.dslreports.com/faq/5793However, this is not accurate over a VPN due to additional overhead. The best bet is to set it to 1300, and if it improves the situation, gradually increase it.
A couple of related links:
http://www.dslreports.com/faq/7752http://www.chicagotech.net/vpnissues/vpndorp1.htmThe LMHosts file issue is interesting and I suspect a different issue. Instead of using the LMHosts file try editing the advanced TCP/IP properties of the Sonicwall's VPN/virtual adapter under the DNS tab. Add the server's IP for DNS and the domain name suffix. These are outlined in my blog:
http://msmvps.com/blogs/robwill/archive/2008/05/10/vpn-client-name-resolution.aspx