Networking Forums

Networking Forums > Computer Networking > Windows Networking > Stop Internet Traffic via VPN

Reply
Thread Tools Display Modes

Stop Internet Traffic via VPN

 
 
Mr Hives
Guest
Posts: n/a

 
      09-06-2006, 01:33 PM
I have a Windows Server 2003 SBS with Remote Access set-up. When a client
connects to the VPN all of their traffic is routed through our Internet
connection and that is a problem. I've tried unchecking the "Enable IP
Routing" but that stops any access to network shares on the server. I was
going to solve this problem by adding a few iptables rules on the network's
router however all traffic from VPN clients seem to have the servers address
on it? So I would like to know is there a way of blocking any traffic from a
VPN client that is not addressed to the server itself.

Thanks,

Mark
 
Reply With Quote
 
 
 
 
Robert L [MVP - Networking]
Guest
Posts: n/a

 
      09-06-2006, 02:39 PM
Another option is uncheck use default gateway on remote network. The following links may help,
routing issues on vpn 1) If you don't need to access the entire VPN resources, disable the "use default gateway on remote network" option in the properties of the VPN connection. ...
www.chicagotech.net/routingissuesonvpn.htm


Routing The VPN client may be able to access the Internet if you uncheck Use default gateway in remote network. However, if your remote network resources are ...
www.chicagotech.net/routing.htm



Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
"Mr Hives" <(E-Mail Removed)> wrote in message news:488AE9F3-9773-4DF2-97D3-(E-Mail Removed)...
I have a Windows Server 2003 SBS with Remote Access set-up. When a client
connects to the VPN all of their traffic is routed through our Internet
connection and that is a problem. I've tried unchecking the "Enable IP
Routing" but that stops any access to network shares on the server. I was
going to solve this problem by adding a few iptables rules on the network's
router however all traffic from VPN clients seem to have the servers address
on it? So I would like to know is there a way of blocking any traffic from a
VPN client that is not addressed to the server itself.

Thanks,

Mark
 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      09-06-2006, 11:46 PM
The first thing you have to realize is how this works. By default the
VPN client will send all non-local traffic across the VPN. In other words
the VPN link is its default gateway. You can change this by clearing the
"use default gateway..." setting on the client. What happens then is that
the default gateway is still pointing out to the Internet connection. Only a
subnet route is set up to use the VPN link.

This all works if the subnet route it sets up covers all the LAN
machines you need to access. If it doesn't, this traffic goes out to the
Internet gateway and is lost. To fix that you need extra routing on the
client, and that is hard to do.

For a detailed description, see KB 254231 .

Mr Hives wrote:
> I have a Windows Server 2003 SBS with Remote Access set-up. When a
> client connects to the VPN all of their traffic is routed through our
> Internet connection and that is a problem. I've tried unchecking the
> "Enable IP Routing" but that stops any access to network shares on
> the server. I was going to solve this problem by adding a few
> iptables rules on the network's router however all traffic from VPN
> clients seem to have the servers address on it? So I would like to
> know is there a way of blocking any traffic from a VPN client that is
> not addressed to the server itself.
>
> Thanks,
>
> Mark



 
Reply With Quote
 
Mr Hives
Guest
Posts: n/a

 
      10-12-2006, 07:41 PM
That's not exactly what I was after but it seems like the only way arround
the bandwidth problem.

Thank-you.


"Robert L [MVP - Networking]" wrote:

> Another option is uncheck use default gateway on remote network. The following links may help,
> routing issues on vpn 1) If you don't need to access the entire VPN resources, disable the "use default gateway on remote network" option in the properties of the VPN connection. ...
> www.chicagotech.net/routingissuesonvpn.htm
>
>
> Routing The VPN client may be able to access the Internet if you uncheck Use default gateway in remote network. However, if your remote network resources are ...
> www.chicagotech.net/routing.htm
>
>
>
> Bob Lin, MS-MVP, MCSE & CNE
> Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
> How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
> "Mr Hives" <(E-Mail Removed)> wrote in message news:488AE9F3-9773-4DF2-97D3-(E-Mail Removed)...
> I have a Windows Server 2003 SBS with Remote Access set-up. When a client
> connects to the VPN all of their traffic is routed through our Internet
> connection and that is a problem. I've tried unchecking the "Enable IP
> Routing" but that stops any access to network shares on the server. I was
> going to solve this problem by adding a few iptables rules on the network's
> router however all traffic from VPN clients seem to have the servers address
> on it? So I would like to know is there a way of blocking any traffic from a
> VPN client that is not addressed to the server itself.
>
> Thanks,
>
> Mark

 
Reply With Quote
 
Mr Hives
Guest
Posts: n/a

 
      10-12-2006, 07:41 PM
That's not exactly what I was after but it seems like the only way arround
the bandwidth problem.

Thank-you.


"Bill Grant" wrote:

> The first thing you have to realize is how this works. By default the
> VPN client will send all non-local traffic across the VPN. In other words
> the VPN link is its default gateway. You can change this by clearing the
> "use default gateway..." setting on the client. What happens then is that
> the default gateway is still pointing out to the Internet connection. Only a
> subnet route is set up to use the VPN link.
>
> This all works if the subnet route it sets up covers all the LAN
> machines you need to access. If it doesn't, this traffic goes out to the
> Internet gateway and is lost. To fix that you need extra routing on the
> client, and that is hard to do.
>
> For a detailed description, see KB 254231 .
>
> Mr Hives wrote:
> > I have a Windows Server 2003 SBS with Remote Access set-up. When a
> > client connects to the VPN all of their traffic is routed through our
> > Internet connection and that is a problem. I've tried unchecking the
> > "Enable IP Routing" but that stops any access to network shares on
> > the server. I was going to solve this problem by adding a few
> > iptables rules on the network's router however all traffic from VPN
> > clients seem to have the servers address on it? So I would like to
> > know is there a way of blocking any traffic from a VPN client that is
> > not addressed to the server itself.
> >
> > Thanks,
> >
> > Mark

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN causes Internet to stop jackhab Wireless Internet 7 12-11-2007 04:59 PM
Evolution Internet stop service Peter Crosland Broadband 4 05-24-2006 08:31 AM
How to stop Bit Torrent outgoing traffic pete Windows Networking 4 07-25-2005 03:18 PM
stop/ restrict internet access Dale Home Networking 2 04-06-2005 04:52 PM
How to Stop - Internet Connection Sharing Steve C. Windows Networking 1 12-03-2003 11:59 PM



1 2 3 4 5 6 7 8 9 10 11