Answered by:
How to supply additional routes to VPN clients?

Question
-
Scenario: a TMG firewall acts as the main firewall and Internet gateway for a network, 192.168.60.0/24. It also acts as a VPN server.
There is also another internal network, connected to a second interface of the TMG firewall: 192.168.0.0/22.
Computers on both internal networks use the TMG firewall as their default gateway.
The VPN client address range is defined as 192.168.17.1-254; this is configured in the firewall, no DHCP is used. DNS servers to supply to VPN clients are also configured.
Routing is configured correctly, and policies are configured to allow all traffic between the two internal networks and the VPN Clients network.
The VPN clients can succesfully connect and receive an address in the 192.168.17.X range.
The VPN clients DO NOT have the "use default gateway on the remote network" option enabled, and this is desired behaviour, because we want them to be able to be able access the Internet while a VPN connection is up, but not to have all of their traffic routed through our link (bandwidth is a little tight).
The problem: a VPN client only get a route to the 192.168.17.0/24 network, it gets no information ad all about 192.168.60./24 or 192.168.0.0/22.
If a static route to the two networks via the VPN tunnetl is manually added, everything works fine.
The question: how can I automatically supply these additional two routes to VPN clients?
Monday, November 7, 2011 11:00 AM
Answers
-
Hi,
if your VPN clients get the IP address via DHCP you can assign static routes via DHCP options:
http://tmgblog.richardhicks.com/2009/01/08/using-dhcp-to-assign-static-routes/
regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.nt-faq.de- Proposed as answer by Mr XMVP Monday, November 7, 2011 4:29 PM
- Marked as answer by Massimo Pascucci Monday, November 7, 2011 7:44 PM
Monday, November 7, 2011 2:09 PM
All replies
-
Hi,
I recommend using CMAK:
http://technet.microsoft.com/en-us/library/cc739464(WS.10).aspx
regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.nt-faq.deMonday, November 7, 2011 12:06 PM -
There is no way to push those routes from the VPN server itself?
Monday, November 7, 2011 1:10 PM -
Hi,
if your VPN clients get the IP address via DHCP you can assign static routes via DHCP options:
http://tmgblog.richardhicks.com/2009/01/08/using-dhcp-to-assign-static-routes/
regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.nt-faq.de- Proposed as answer by Mr XMVP Monday, November 7, 2011 4:29 PM
- Marked as answer by Massimo Pascucci Monday, November 7, 2011 7:44 PM
Monday, November 7, 2011 2:09 PM -
Great, it worked!
There was some more configuration needed (mainly enabling the DHCP Relay Agent in RRAS); and it was a bit tricky to choose the right gateway address since the VPN uses dynamic ones (I used the firewall's internal one). But it basically works now.
Thanks for the idea.
Monday, November 7, 2011 7:44 PM