- Mitglied seit
- 4 Aug 2005
- Beiträge
- 611
- Punkte für Reaktionen
- 0
- Punkte
- 16
Ich habe jetzt eine own_conf angelegt, welche Einstellung soll ich verwenden?
Zuletzt bearbeitet:
grep -E -v '^group|^user|^chroot' /mod/etc/openvpn.conf > /tmp/flash/openvpn/own_openvpn.conf
# OpenVPN 2.1 Config, Sun Oct 27 11:51:22 CET 2013
client #neu
dev tun
proto udp
#remote openvpn.ivacy.com 1194
remote 213.232.200.172 1194
resolv-retry infinite #neu
nobind
persist-key
persist-tun
ca /tmp/flash/openvpn/ca.crt
cert /tmp/flash/openvpn/box.crt
key /tmp/flash/openvpn/box.key
tls-auth /tmp/flash/openvpn/static.key 1
ns-cert-type server
comp-lzo
verb 3
log /var/tmp/debug_openvpn.out
auth-user-pass /tmp/flash/openvpn/passfile
redirect-gateway
script-security 3
reneg-sec 0
#cd /var/tmp/openvpn
#chroot /var/tmp/openvpn
#user openvpn
#group openvpn
#pull
#alt
#tls-client
#ifconfig 192.168.200.1 192.168.200.2
#tun-mtu 1500
#mssfix
#cipher BF-CBC
Sun Oct 27 12:29:25 2013 OpenVPN 2.3.2 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [IPv6] built on Oct 16 2013
Sun Oct 27 12:29:25 2013 Control Channel Authentication: using '/tmp/flash/openvpn/static.key' as a OpenVPN static key file
Sun Oct 27 12:29:25 2013 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:29:25 2013 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:29:25 2013 Socket Buffers: R=[110592->131072] S=[110592->131072]
Sun Oct 27 12:29:25 2013 UDPv4 link local: [undef]
Sun Oct 27 12:29:25 2013 UDPv4 link remote: [AF_INET]213.232.200.172:1194
Sun Oct 27 12:29:25 2013 TLS: Initial packet from [AF_INET]213.232.200.172:1194, sid=2038e5d8 c4c620eb
Sun Oct 27 12:29:25 2013 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Oct 27 12:29:26 2013 VERIFY OK: depth=1, C=RU, ST=MR, L=Moscow, O=ivacy.com, CN=ivacy.com CA, [email protected]
Sun Oct 27 12:29:26 2013 VERIFY OK: nsCertType=SERVER
Sun Oct 27 12:29:26 2013 VERIFY OK: depth=0, C=RU, ST=MR, L=Moscow, O=ivacy.com, CN=openvpn.ivacy.com, [email protected]
Sun Oct 27 12:29:30 2013 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Oct 27 12:29:30 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:29:30 2013 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Oct 27 12:29:30 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:29:30 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Sun Oct 27 12:29:30 2013 [openvpn.ivacy.com] Peer Connection Initiated with [AF_INET]213.232.200.172:1194
Sun Oct 27 12:29:32 2013 SENT CONTROL [openvpn.ivacy.com]: 'PUSH_REQUEST' (status=1)
Sun Oct 27 12:29:32 2013 PUSH: Received control message: 'PUSH_REPLY,route 1.0.0.0 255.0.0.0,dhcp-option DNS 1.254.2.2,dhcp-option DNS 1.254.2.3,dhcp-option DOMAIN vpn,explicit-exit-notify 2,route-gateway 1.2.112.1,topology subnet,ping 10,ping-restart 60,ifconfig 1.2.112.109 255.255.252.0'
Sun Oct 27 12:29:32 2013 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:5: explicit-exit-notify (2.3.2)
Sun Oct 27 12:29:32 2013 OPTIONS IMPORT: timers and/or timeouts modified
Sun Oct 27 12:29:32 2013 OPTIONS IMPORT: --ifconfig/up options modified
Sun Oct 27 12:29:32 2013 OPTIONS IMPORT: route options modified
Sun Oct 27 12:29:32 2013 OPTIONS IMPORT: route-related options modified
Sun Oct 27 12:29:32 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Oct 27 12:29:32 2013 TUN/TAP device tun0 opened
Sun Oct 27 12:29:32 2013 TUN/TAP TX queue length set to 100
Sun Oct 27 12:29:32 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Oct 27 12:29:32 2013 /sbin/ifconfig tun0 1.2.112.109 netmask 255.255.252.0 mtu 1500 broadcast 1.2.115.255
Sun Oct 27 12:29:32 2013 NOTE: unable to redirect default gateway -- Cannot read current default gateway from system
Sun Oct 27 12:29:32 2013 /sbin/route add -net 1.0.0.0 netmask 255.0.0.0 gw 1.2.112.1
Sun Oct 27 12:29:33 2013 Initialization Sequence Completed
Sun Oct 27 12:56:19 2013 OpenVPN 2.3.2 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [IPv6] built on Oct 16 2013
Sun Oct 27 12:56:19 2013 Control Channel Authentication: using '/tmp/flash/openvpn/static.key' as a OpenVPN static key file
Sun Oct 27 12:56:19 2013 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:56:19 2013 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:56:19 2013 Socket Buffers: R=[110592->131072] S=[110592->131072]
Sun Oct 27 12:56:19 2013 UDPv4 link local: [undef]
Sun Oct 27 12:56:20 2013 UDPv4 link remote: [AF_INET]213.232.200.172:1194
Sun Oct 27 12:56:20 2013 TLS: Initial packet from [AF_INET]213.232.200.172:1194, sid=d11d0bd2 923a42c0
Sun Oct 27 12:56:20 2013 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Oct 27 12:56:20 2013 VERIFY OK: depth=1, C=RU, ST=MR, L=Moscow, O=ivacy.com, CN=ivacy.com CA, [email protected]
Sun Oct 27 12:56:20 2013 VERIFY OK: nsCertType=SERVER
Sun Oct 27 12:56:20 2013 VERIFY OK: depth=0, C=RU, ST=MR, L=Moscow, O=ivacy.com, CN=openvpn.ivacy.com, [email protected]
Sun Oct 27 12:56:27 2013 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Oct 27 12:56:27 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:56:27 2013 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Oct 27 12:56:27 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Oct 27 12:56:27 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Sun Oct 27 12:56:27 2013 [openvpn.ivacy.com] Peer Connection Initiated with [AF_INET]213.232.200.172:1194
Sun Oct 27 12:56:29 2013 SENT CONTROL [openvpn.ivacy.com]: 'PUSH_REQUEST' (status=1)
Sun Oct 27 12:56:30 2013 PUSH: Received control message: 'PUSH_REPLY,route 1.0.0.0 255.0.0.0,dhcp-option DNS 1.254.2.2,dhcp-option DNS 1.254.2.3,dhcp-option DOMAIN vpn,explicit-exit-notify 2,route-gateway 1.2.112.1,topology subnet,ping 10,ping-restart 60,ifconfig 1.2.112.103 255.255.252.0'
Sun Oct 27 12:56:30 2013 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:5: explicit-exit-notify (2.3.2)
Sun Oct 27 12:56:30 2013 OPTIONS IMPORT: timers and/or timeouts modified
Sun Oct 27 12:56:30 2013 OPTIONS IMPORT: --ifconfig/up options modified
Sun Oct 27 12:56:30 2013 OPTIONS IMPORT: route options modified
Sun Oct 27 12:56:30 2013 OPTIONS IMPORT: route-related options modified
Sun Oct 27 12:56:30 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Oct 27 12:56:30 2013 TUN/TAP device tun0 opened
Sun Oct 27 12:56:30 2013 TUN/TAP TX queue length set to 100
Sun Oct 27 12:56:30 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Oct 27 12:56:30 2013 /sbin/ifconfig tun0 1.2.112.103 netmask 255.255.252.0 mtu 1500 broadcast 1.2.115.255
Sun Oct 27 12:56:30 2013 /sbin/route add -net 213.232.200.172 netmask 255.255.255.255 gw 192.168.10.1
Sun Oct 27 12:56:30 2013 /sbin/route del -net 0.0.0.0 netmask 0.0.0.0
Sun Oct 27 12:56:30 2013 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 1.2.112.1
Sun Oct 27 12:56:30 2013 /sbin/route add -net 1.0.0.0 netmask 255.0.0.0 gw 1.2.112.1
Sun Oct 27 12:56:30 2013 Initialization Sequence Completed
Destination Gateway Genmask Flags Metric Ref Use Iface
213.232.200.172 192.168.10.1 255.255.255.255 UGH 0 0 0 lan
192.168.10.0 * 255.255.255.0 U 0 0 0 lan
1.2.112.0 * 255.255.252.0 U 0 0 0 tun0
169.254.0.0 * 255.255.0.0 U 0 0 0 lan
1.0.0.0 1.2.112.1 255.0.0.0 UG 0 0 0 tun0
default 1.2.112.1 0.0.0.0 UG 0 0 0 tun0
Dazu gibt es mindestens einen recht aktuellen Thread.
Du musst dafür sorgen, dass alles durch die VPN-Box läuft, z.B. indem du sie "die Verbindung selbst aufbauen" lässt. Dabei verlierst du allerdings die Möglichkeit, "normal" die Geräte an der 7141 zu erreichen, weil das Netz der 7390 als "Internet" gilt...
Sun Oct 27 13:20:32 2013 Initialization Sequence Completed
Mon Oct 28 06:18:56 2013 [openvpn.ivacy.com] Inactivity timeout (--ping-restart), restarting
Mon Oct 28 06:18:56 2013 SIGUSR1[soft,ping-restart] received, process restarting
Mon Oct 28 06:18:56 2013 Restart pause, 2 second(s)
Mon Oct 28 06:18:58 2013 Socket Buffers: R=[110592->131072] S=[110592->131072]
Mon Oct 28 06:19:28 2013 RESOLVE: Cannot resolve host address: openvpn.ivacy.com: Name or service not known