Genau diese erweiterte Clientconfig scheitert eben:
ClientBox:
Code:
proto udp
dev tun
ca /tmp/flash/ca.crt
cert /tmp/flash/box.crt
key /tmp/flash/box.key
tls-client
ns-cert-type server
tls-auth /tmp/flash/static.key 1
remote *** 1196
nobind
pull
tun-mtu 1500
mssfix
fragment 1300
verb 3
daemon
cipher AES-256-CBC
comp-lzo
float
keepalive 10 120
resolv-retry infinite
chroot /tmp/openvpn
user openvpn
group openvpn
persist-tun
persist-key
ServerBox:
Code:
proto udp
dev tun
ca /tmp/flash/ca.crt
cert /tmp/flash/box.crt
key /tmp/flash/box.key
dh /tmp/flash/dh.pem
tls-server
tls-auth /tmp/flash/static.key 0
port 1196
mode server
ifconfig-pool 192.168.10.10 192.168.10.20
push "route 192.168.10.1"
ifconfig 192.168.10.1 255.255.255.0
client-config-dir /var/tmp/clients_openvpn_link_router
topology subnet
max-clients 1
push "route 192.168.178.0 255.255.255.0 192.168.10.1"
route 192.168.60.0 255.255.255.0 192.168.10.10
tun-mtu 1500
mssfix
fragment 1300
verb 3
daemon
cipher AES-256-CBC
comp-lzo
float
keepalive 10 120
chroot /tmp/openvpn
user openvpn
group openvpn
persist-tun
persist-key
ccd:
Code:
ifconfig-push 192.168.10.10 255.255.255.0
push "topology subnet"
iroute 192.168.60.0 255.255.255.0
resultiert in Log bei Client:
Code:
daemon.notice openvpn[1849]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
daemon.notice openvpn[1849]: PUSH: Received control message: 'PUSH_REPLY,route 192.168.10.1,route 192.168.178.0 255.255.255.0 192.168.10.1,ping 10,ping-restart 120,ifconfig 192.168.10.10 255.255.255.0'
daemon.notice openvpn[1849]: OPTIONS IMPORT: timers and/or timeouts modified
daemon.notice openvpn[1849]: OPTIONS IMPORT: --ifconfig/up options modified
daemon.notice openvpn[1849]: OPTIONS IMPORT: route options modified
daemon.warn openvpn[1849]: WARNING: Since you are using --dev tun with a point-to-point topology, the second argument to --ifconfig must be an IP address. You are using something (255.255.255.0) that looks more like a netmask. (silence this warni
daemon.notice openvpn[1849]: TUN/TAP device tun0 opened
daemon.notice openvpn[1849]: TUN/TAP TX queue length set to 100
daemon.notice openvpn[1849]: /sbin/ifconfig tun0 192.168.10.10 pointopoint 255.255.255.0 mtu 1500
daemon.err openvpn[1849]: Linux ifconfig failed: external program exited with error status: 1
daemon.notice openvpn[1849]: Exiting
Danke für deine Hilfe.
Edit:
Mit dieser Client-Meldung hat alles angefangen, da hat mein bisher funktionierendes Site-to-Site, auf Basis der erweiterten Clientconfig, aufgehört zu funkionieren.
Damals hab ich ein Firmwareupdate gemacht und damit sind auch neue Versionen von Openvpn ins Freetz-image gekommen.