jschar1
This is my first attempt with OpenVPN so please let me start by saying "please excuse me for being a newb here"
So I am very very interested in using ClearOS and OpenVPN. I think I configured it correctly and even got to connect at work.
The Openvpn client didn't seem to work well, but it redirected me to Securepoint SSL VPN client.
I thought why not try. Low and behold I got a connection. This is a good thing, right? And starts my confusion a bit...
First, it looks like the openvpn/clearos didn't give the addressing, but the "TAP-Win32 driver set a DHCP" on it's own. Strange.
I see it adding routes that looks like my network.
Here is my log...
hu Oct 17 09:29:59 2013 TAP-WIN32 device [Local Area Connection 4] opened: \\.\Global\{0313B32C-64DC-4D5F-A4F0-A5E55C6E6B83}.tap
Thu Oct 17 09:29:59 2013 TAP-Win32 Driver Version 9.9
Thu Oct 17 09:29:59 2013 TAP-Win32 MTU=1500
Thu Oct 17 09:29:59 2013 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {0313B32C-64DC-4D5F-A4F0-A5E55C6E6B83} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Thu Oct 17 09:29:59 2013 Successful ARP Flush on interface [15] {0313B32C-64DC-4D5F-A4F0-A5E55C6E6B83}
Thu Oct 17 09:30:01 2013 TEST ROUTES: 2/2 succeeded len=2 ret=1 a=0 u/d=up
Thu Oct 17 09:30:01 2013 C:\WINDOWS\system32\route.exe ADD 10.0.55.0 MASK 255.255.255.0 10.8.0.5
OK!
Thu Oct 17 09:30:01 2013 C:\WINDOWS\system32\route.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
OK!
Thu Oct 17 09:30:01 2013 Initialization Sequence Completed
Thu Oct 17 09:29:59 2013 SENT CONTROL [gateway.scharfcloud.dyndns.org]: 'PUSH_REQUEST' (status=1)
Thu Oct 17 09:29:59 2013 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.0.55.1,dhcp-option DOMAIN scharfcloud.dyndns.org,route 10.0.55.0 255.255.255.0,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Thu Oct 17 09:29:59 2013 OPTIONS IMPORT: timers and/or timeouts modified
Thu Oct 17 09:29:59 2013 OPTIONS IMPORT: --ifconfig/up options modified
Thu Oct 17 09:29:59 2013 OPTIONS IMPORT: route options modified
Thu Oct 17 09:29:59 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Oct 17 09:29:59 2013 ROUTE default_gateway=10.0.52.1
Thu Oct 17 09:29:59 2013 TAP-WIN32 device [Local Area Connection 4] opened: \\.\Global\{0313B32C-64DC-4D5F-A4F0-A5E55C6E6B83}.tap
Thu Oct 17 09:29:59 2013 TAP-Win32 Driver Version 9.9
Thu Oct 17 09:29:59 2013 TAP-Win32 MTU=1500
Thu Oct 17 09:29:59 2013 Notified TAP-Win32 driver to set a DHCP IP/netmask of 10.8.0.6/255.255.255.252 on interface {0313B32C-64DC-4D5F-A4F0-A5E55C6E6B83} [DHCP-serv: 10.8.0.5, lease-time: 31536000]
Thu Oct 17 09:29:59 2013 Successful ARP Flush on interface [15] {0313B32C-64DC-4D5F-A4F0-A5E55C6E6B83}
Now i'm not sure where this 10.8.0.6 ip came from, unless for some reason it is my client doing the DHCP. That is fine. But i'd like to confirm this being up by using the VPN and just connecting to my ClearOS which is a whole different subnet. But i see the route add remarks input.
What am I missing to do a full VPN?
I hope you guys can assist me. Thank you very much!
jschar1
Another question...
After looking over that very helpful OpenVPN howto, maybe the routing way is the best way for the vpn which it sounds like i was doing in the first place and have the default DHCP start with the 10.8.0.0 subnet.
I'm wondering if making a routing change in ClearOS to allow that subnet to interact with my 10.0.55.0/24 subnet would be the best case here and just leave it be.
Suggestions?
Thank you again...this is super helpful!