M
Mike P.
Hi guys,
I managed to ping the server [10.10.0.1] from the client behind a
router [192.168.1.0/24]. My private (home) LAN is 172.16.0.0/24.
Both the server and the client does receive read/write data (in the
log) but the client can't connect to the Internet while it's connected
to the VPN server. It appears to be a routing issue, but I can't
figure it out.
Here's my server config:
<hr>
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.10.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
ccd-exclusive
route 192.168.0.0 255.255.0.0
push "redirect-gateway"
push "dhcp-option DNS 68.238.64.12"
push "dhcp-option DNS 68.238.128.12"
push "dhcp-option DNS 4.2.2.2"
push "dhcp-option DNS 4.2.2.4"
tls-auth ta.key 0 # This file is secret
cipher AES-128-CBC
comp-lzo
max-clients 5
persist-key
persist-tun
ping 15
ping-restart 300 # 5 minutes
resolv-retry 300 # 5 minutes
status openvpn-status.log
verb 6[
<hr>
I did add an "iroute 192.168.0.0 255.255.0.0" to the ccd file.
Any help would be appreciated.
Michael
I managed to ping the server [10.10.0.1] from the client behind a
router [192.168.1.0/24]. My private (home) LAN is 172.16.0.0/24.
Both the server and the client does receive read/write data (in the
log) but the client can't connect to the Internet while it's connected
to the VPN server. It appears to be a routing issue, but I can't
figure it out.
Here's my server config:
<hr>
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.10.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
ccd-exclusive
route 192.168.0.0 255.255.0.0
push "redirect-gateway"
push "dhcp-option DNS 68.238.64.12"
push "dhcp-option DNS 68.238.128.12"
push "dhcp-option DNS 4.2.2.2"
push "dhcp-option DNS 4.2.2.4"
tls-auth ta.key 0 # This file is secret
cipher AES-128-CBC
comp-lzo
max-clients 5
persist-key
persist-tun
ping 15
ping-restart 300 # 5 minutes
resolv-retry 300 # 5 minutes
status openvpn-status.log
verb 6[
<hr>
I did add an "iroute 192.168.0.0 255.255.0.0" to the ccd file.
Any help would be appreciated.
Michael