I am setting up an OpenVPN server on a windows vista computer. This computer has 1 NIC and it's static IP is 192.168.1.110. I have configured the routing table on the router as follows:
Destination LAN IP: 192.168.10.0
SubnetMask: 255.255.255.128
Gateway: 192.168.1.110
Interface: LAN & Wireless
I followed the instructions at
http://www.itsatechworld.com/2006/01/29/how-to-configure-openvpn/
Once I start the VPN, I can no longer connect to this PC from the LAN and use other services like VNC and cannot connect to the network shares on this computer from from other computers on the LAN. When I turn OpenVPN off, everythign works again.
My config file is:
local 192.168.1.110 # This is the IP address of the real network interface on the server connected to the router
port 1194
proto udp
mssfix 1400
push "dhcp-option DNS 166.102.165.11"
dev tap
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
server 192.168.10.0 255.255.255.128
ifconfig-pool-persist ipp.txt
keepalive 10 120
cipher BF-CBC # Blowfish (default) encryption
comp-lzo
max-clients 100 # Assign the maximum number of clients here
persist-key
persist-tun
status openvpn-status.log
verb 1