EHFrancisco
Hi Folks,
I hope this is a simple question requiring a simple answer. I am having trouble with routing. My OpenVPN setup works as far as connecting to the server goes.
- I can connect to the server.
- I can ping the servers virtual gateway (10.8.0.1) and the LAN NIC (192.168.100.7) from the remote client.
- I can ping the virtual gateway (10.8.0.1) from the LAN.
My OpenVPN server is on a Windows 2003 server with dual NIC’s and I do have IP-Forwarding enabled.
What am I missing?
Thanks in advance.
Here are my config files:
Server:
local 192.168.192.7
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\rwl-dev2.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\rwl-dev2.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
route 192.168.100.0 255.255.255.0
push "route 192.168.100.0 255.255.255.0"
push "route 192.168.123.0 255.255.255.0"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 5
Client:
client
dev tun
proto udp
remote nnn.nnn.nnn.nnn 1194
resolv-retry infinite
persist-key
persist-tun
ca C:\\Program\ Files\ (x86)\\OpenVPN\\easy-rsa\\keys\\ca.crt
cert C:\\Program\ Files\ (x86)\\OpenVPN\\easy-rsa\\keys\\client1.crt
key C:\\Program\ Files\ (x86)\\OpenVPN\\easy-rsa\\keys\\client1.key
ns-cert-type server
comp-lzo
verb 3
maikcat
hi there,
stupid question..
what is NOT working with your config?
are you trying to setup lan-to-lan config?
Michael.
EHFrancisco
Sorry, accidently post this twice, you're answering this question on the Administration forum. I'm trying to setup a client to LAN connection but I cannot ping the servers on the server LAN. But everything else is working.
maikcat
locking this one
Michael.