thephantom79
Hello,
I am using my own privateOVPN Config since years for remote connection / filestranfer and so on.
Now I want to add a SIP connection between my android phone to my doorbell (I have smart home, with Loxone / KNX). The App is from Loxone and it connects via my fritzbox to the door station. Unfortunately, this do not work, if am outside (with acive VPN connection). If I am in my home LAN, everything works fine.
My configuration:
- OPEN VPN Server on a virtual Windows Server (IP 192.168.0.2) - Routing enabled
- Fritzbox 7390 (192.168.0.241) , with static routes to the Windows OVPN box (Route 192.168.1.0/192.168.2.0/192.168.3.0 --> Gateway 192.168.0.2)
- clients on windows / android
What else information could help?
Can anyone give me a hint?
#################################################
# OpenVPN
# VPN Server Configuration
#################################################
local 192.168.0.2
port 60001
proto tcp-server
mode server
dev tun
# ----------------------------------------------
# Zertifikate
# ----------------------------------------------
dh "C:\\xxx\\server-keys\\xxx.pem"
ca "C:\\xxx\\server-keys\\x.crt"
cert "C:\\xxx\\server-keys\\xxx.crt"
key "C:\\xxx\\server-keys\\xxx.key"
# ----------------------------------------------
# Server-Setup
# ----------------------------------------------
server 192.168.3.0 255.255.255.0
ifconfig-pool-persist "C:\\Programme\\OpenVPN\\ipp-tcp.txt"
client-to-client
# ----------------------------------------------
# Client-Settings (inkl Special Dir)Files
# ----------------------------------------------
client-config-dir "C:\\xxx\\ccd"
push "route 192.168.0.0 255.255.255.0"
push "dhcp-option DNS 192.168.0.241"
# ----------------------------------------------
# Defaults
# ----------------------------------------------
keepalive 10 120
comp-lzo
persist-key
persist-tun
# ----------------------------------------------
# Logging
# ----------------------------------------------
status "C:\\xxxlog\\openvpn-status.log"
log "C:\\xxxopenvpn.log"
log-append "C:\\xxx\\log\\openvpn.log"
verb 3
dev tun
auth-nocache
<connection>
remote XXX 60001 tcp-client
connect-retry 5 5
connect-timeout 10
</connection>
comp-lzo
inactive 15 0
client
<ca>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</ca>
<cert>
XXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
XXX
-----END RSA PRIVATE KEY-----
</key>
Regards
ThePhantom