OpenVPN Connect successfully conected to my Server, but I can't access my Network behind the Server. e.g. I have a webserver on 192.168.171.250 but Safari cant open it. I have tested it on 2 Devices (iPad 1, iPhone 5).
The Server is running on a debian machine behind my Router, on my router (default gateway in the 192.168.171.0 network) is a static route to the 192.168.10.0 network.
The access from a PC with openvpn to the 192.168.171.0 nework works without any Problems.
Here are my config files:
Server config:
Code: Select all
cd /usr/ssl
dev tun0
port 1194
proto udp
;proto tcp-server
tun-mtu 1500
fragment 1300
mssfix
mode server
server 192.168.10.0 255.255.255.0
keepalive 10 60
ifconfig-pool-persist ipp.txt
push "route 192.168.171.0 255.255.255.0"
push "dhcp-option DOMAIN fritz.box"
push "dhcp-option DNS 192.168.171.254"
tls-server
crl-verify crls/crl.pem
auth SHA1
dh dh1024.pem
cipher AES-256-CBC
pkcs12 p12/server.p12
comp-lzo yes
verb 3
Code: Select all
remote variable.selfip.com
dev tun0
port 1194
proto udp
tun-mtu 1500
fragment 1300
mssfix
pull
tls-client
auth SHA1
cipher AES-256-CBC
comp-lzo yes
verb 3
<ca>
xxx
</ca>
<cert>
xxx
</cert>
<key>
xxx
</key>
Thank you
Frank
PS: Sorry for this english, I'm german.