Hi Guys,
I got a little Problem on the Clientside. I can not access the VPN via Windows 7 as long as the Default Gateway is not set.
Windows declares the VPN Network as "Unidentified Network", so I can not make it a Homegroup, or Workgroup.
If I go to the TAP Device -> TCP/IPv4 and set the IP including the default Gateway manually it works just fine.
Of course I do not want to edit it manually everytime I connect to the VPN Server. Is there a Serverside way
to push the Default Gateway to the Client? I do not want to route every Traffic through the VPN, I am just
looking for a way to set the Default Gateway Address of the OpenVPN Network Device to the VPN Server IP.
(ipconfig shows blank default gateway)
Set Clients TAP-Device Default Gateway
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Feb 09, 2011 1:06 am
- gladiatr72
- Forum Team
- Posts: 194
- Joined: Mon Dec 13, 2010 3:51 pm
- Location: Lawrence, KS
Re: Set Clients TAP-Device Default Gateway
Hello,
Out of curiosity, what version of OpenVPN are you using on your Windows 7 system? I'm running 2.2-b5 on my Windows 7 VM and have no trouble connecting to either a bridge or a routed vpn link.
-Stephen
Out of curiosity, what version of OpenVPN are you using on your Windows 7 system? I'm running 2.2-b5 on my Windows 7 VM and have no trouble connecting to either a bridge or a routed vpn link.
-Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Feb 09, 2011 1:06 am
Re: Set Clients TAP-Device Default Gateway
Code: Select all
OpenVPN 2.2-beta5 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 30 2010
but Windows wont let me set the Network to a Homenetwork, becuase
it is an "Unidentified Network". When I enter the Default Gateway,
everything is working fine, only Problem is setting this automaticly when
connecting to the VPN Server.

-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Feb 09, 2011 1:06 am
Re: Set Clients TAP-Device Default Gateway
I think I got it.
route 0.0.0.0 0.0.0.0 10.0.0.1
route 0.0.0.0 0.0.0.0 10.0.0.1