|
|
Hello, I have a working tun OpenVPN connection through which I can effectively connect to my server when away from home. This network is 10.52.0.0/24 However, I made a mistake with the DNS option, I specified 10.8.0.1. Obviously incorrect. I changed that to 10.52.0.1 for the OpenVPN server, but the client will not pick up on this change. In the meantime, I've changed to a TAP interface, on the server, I have the following config: port 1194 dev tap tls-server cd /etc/openvpn ca /etc/openvpn/keys/ca.crt cert /etc/openvpn/keys/apps.itpassion.com.crt key /etc/openvpn/keys/apps.itpassion.com.key dh /etc/openvpn/keys/dh1024.pem mode server duplicate-cn ifconfig 192.168.1.1 255.255.255.0 ifconfig-pool 192.168.1.2 192.168.1.200 255.255.255.0 push "dhcp-option DNS 192.168.123.2" push "route-gateway 192.168.1.1" mtu-test tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 ping 10 ping-restart 120 push "ping 10" push "ping-restart 60" push "route 192.168.1.0 255.255.255.0 192.168.1.1" push "route 192.168.123.0 255.255.255.0 192.168.1.1" comp-lzo status openvpn-status.log verb 9 And on the client I have the configuration: port 1194 dev tap remote apps.itpassion.com tls-client ca "C:\\Program Files\\OpenVPN\\config\\keys\\ca.crt" cert "C:\\Program Files\\OpenVPN\\config\\keys\\leeuwg-137f93j.crt" key "C:\\Program Files\\OpenVPN\\config\\keys\\leeuwg-137f93j.key" mtu-test tun-mtu 1500 tun-mtu-extra 32 mssfix 1450 pull float ping 10 ping-restart 60 comp-lzo verb 9 I've deleted the previous install of OpenVPN-GUI 1.0.3 that comes with OpenVPN2.0.9 on the client, and re-installed it. Tested the connection, and got connected to IP Address 10.52.0.6 from my old configuration... I rebooted the machine, and still get connected to that address. Looking at the /var/log/messages, I don't even seem to get any request at the server... Please help, I'm at a loss as to why OpenVPN doesn't pick up an IP Address in the range 192.168.1.2 - 192.168.1.200 Thanks, Guus Kindest Regards, Guus Leeuw ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2008-01/msg00077.html on line 255 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2008-01/msg00077.html on line 255 |