Unable to access OpenVPN subnet in Server 2008
Posted: Sun Nov 06, 2011 9:05 am
Hi,
I am a noob in networking...
What i trying to achieve here is let my client connect to my OpenVPN subnet.
All the server is Windows Server 2008.
This is the configuration of my servers:
OpenVPN Server with the following IP:
public IP: 100.100.100.140
subnet mask: 255.255.255.248
Default Gateway: 100.100.100.137
LAN IP: 10.10.10.140
subnet mask: 255.255.255.0
OpenVPN IP: 10.8.0.1
Internal Server:
LAN IP: 10.10.10.141
subnet mask: 255.255.255.0
Server configuration:
port 1194
proto tcp
dev tun
ca ca.crt
cert OpenVPN.crt
key OpenVPN.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
push "route 10.8.0.1 255.255.255.255"
push "route 10.10.10.0 255.255.255.0"
ifconfig-pool-persist ipp.txt
client-config-dir ccd
keepalive 10 120
tls-auth ta.key 0
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
route-method exe
script-security 2
client config:
client
dev tun
proto tcp
remote 100.100.100.140 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert test.crt
key test.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
route-method exe
route-delay 2
The thing i can do:
I can ping the OpenVPN server from my client vise versa.
The thing already do:
modify the server 2008 IP forwarding in regisry.
start the RRAS.
Turn off all the firewall.
But i still unable to connect to my OpenVPN subnet. I read through the article, it said i need to add some route on the default gateway, but in my case the default gateway for my server subnet is blank because all the server subnet is connected through switch.
I do try to add route in the OpenVPN server 2008 RRAS, but it seems unsuccessful as well. But i am not so understand about how the routing work, can someone please tell me the detail on what entry i should add in the server 2008 RRAS if it is needed?
Thanks a lot.
I am a noob in networking...
What i trying to achieve here is let my client connect to my OpenVPN subnet.
All the server is Windows Server 2008.
This is the configuration of my servers:
OpenVPN Server with the following IP:
public IP: 100.100.100.140
subnet mask: 255.255.255.248
Default Gateway: 100.100.100.137
LAN IP: 10.10.10.140
subnet mask: 255.255.255.0
OpenVPN IP: 10.8.0.1
Internal Server:
LAN IP: 10.10.10.141
subnet mask: 255.255.255.0
Server configuration:
port 1194
proto tcp
dev tun
ca ca.crt
cert OpenVPN.crt
key OpenVPN.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
push "route 10.8.0.1 255.255.255.255"
push "route 10.10.10.0 255.255.255.0"
ifconfig-pool-persist ipp.txt
client-config-dir ccd
keepalive 10 120
tls-auth ta.key 0
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
route-method exe
script-security 2
client config:
client
dev tun
proto tcp
remote 100.100.100.140 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert test.crt
key test.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3
route-method exe
route-delay 2
The thing i can do:
I can ping the OpenVPN server from my client vise versa.
The thing already do:
modify the server 2008 IP forwarding in regisry.
start the RRAS.
Turn off all the firewall.
But i still unable to connect to my OpenVPN subnet. I read through the article, it said i need to add some route on the default gateway, but in my case the default gateway for my server subnet is blank because all the server subnet is connected through switch.
I do try to add route in the OpenVPN server 2008 RRAS, but it seems unsuccessful as well. But i am not so understand about how the routing work, can someone please tell me the detail on what entry i should add in the server 2008 RRAS if it is needed?
Thanks a lot.