Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

L2TP/IPSec VPN route pushing?

Hello,

I've got a 'road warrior' set up working into my ASG 8.300 using L2TP/IPSec. My VPN IP pool is 192.168.243.0/24, and my internal LAN is 172.16.1.0/24. I'm using the built-in Windows 7 VPN client.

When I connect, the client is assigned 192.168.243.2 with a gateway of 192.168.243.1. That's fine, I can ping the gateway (I've configured the necessary rule in the ASG firewall).

In order to get to my internal LAN, I need to add a route to the Win7 client PC as follows:

"route ADD 172.16.1.0 MASK 255.255.255.0 192.168.243.1"

Once I've done that my road-warrior client can access devices on the internal LAN. All well and good. When I disconnect the VPN client, however, the route to 172.16.1.0/24 is removed.

My question is whether there's a smart way to automate the addition of the manual route after I connect the VPN. I've seen mention of "route push" but only in relation to OpenVPN connections. As I'm doing L2TP/IPSec, I wonder if this isn't possible and I have to use some sort of script in the client.

Has anyone achieved this?

Thanks,
Giles.


This thread was automatically locked due to age.
Parents
  • Giles, I think the Windows VPN client should, by default, create/delete that route.  I think you must have some issue in the Windows config.  Maybe a GPO?  Maybe some other local security setting?  I just can't remember hearing this problem before.

    Cheers - Bob
    PS Agreed with Manfred that there's no option to push anything other than the default - the LANs defined on Astaro interfaces.
Reply
  • Giles, I think the Windows VPN client should, by default, create/delete that route.  I think you must have some issue in the Windows config.  Maybe a GPO?  Maybe some other local security setting?  I just can't remember hearing this problem before.

    Cheers - Bob
    PS Agreed with Manfred that there's no option to push anything other than the default - the LANs defined on Astaro interfaces.
Children
No Data