BUG?
OpenVPN
When I try to connect to my OpenVPN server it will not work. I can connect but the interface will drop.
This is the log from the client, The server will not show anything even with debug.
Wed May 02 13:37:14 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Wed May 02 13:37:14 2012 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Wed May 02 13:37:14 2012 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Wed May 02 13:37:14 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed May 02 13:37:14 2012 Control Channel MTU parms [ L:1591 D:140 EF:40 EB:0 ET:0 EL:0 ]
Wed May 02 13:37:14 2012 Socket Buffers: R=[8192->8192] S=[64512->64512]
Wed May 02 13:37:14 2012 Data Channel MTU parms [ L:1591 D:1450 EF:59 EB:4 ET:32 EL:0 ]
Wed May 02 13:37:14 2012 Local Options hash (VER=V4): 'b60e7885'
Wed May 02 13:37:14 2012 Expected Remote Options hash (VER=V4): 'fbeb66e6'
Wed May 02 13:37:14 2012 Attempting to establish TCP connection with xxx.xxx.xxx.xxx:1194
Wed May 02 13:37:14 2012 TCP connection established with xxx.xxx.xxx.xxx:1194
Wed May 02 13:37:14 2012 TCPv4_CLIENT link local: [undef]
Wed May 02 13:37:14 2012 TCPv4_CLIENT link remote: xxx.xxx.xxx.xxx:1194
Wed May 02 13:37:14 2012 TLS: Initial packet from xxx.xxx.xxx.xxx:1194, sid=9f6878f5 2f389738
Wed May 02 13:37:15 2012 VERIFY OK: depth=1, /C=SE/ST=xxx/L=xxx/O=OpenVPN/OU=VPN/CN=xxx/name=xxx/emailAddress=
mail@host.domain
Wed May 02 13:37:15 2012 VERIFY OK: depth=0, /C=SE/ST=xxx/L=xxx/O=OpenVPN/OU=VPN/CN=yyy.yyy.org/name=yyy/emailAddress=
mail@host.domain
Wed May 02 13:37:15 2012 Connection reset, restarting [0]
Wed May 02 13:37:15 2012 TCP/UDP: Closing socket
Wed May 02 13:37:15 2012 SIGUSR1[soft,connection-reset] received, process restarting
Wed May 02 13:37:15 2012 Restart pause, 5 second(s)
/ppp profile> print
3 name="open-vpn" remote-address=dhcp_pool3 remote-ipv6-prefix-pool=(unknown) bridge=bridge1 use-ipv6=default use-mpls=default use-compression=default use-vj-compression=default use-encryption=default only-one=default change-tcp-mss=default
/ppp secret> print
0 name="vpn-xxx" service=ovpn caller-id="" password="xxxxxx" profile=open-vpn routes="" limit-bytes-in=0 limit-bytes-out=0
/interface ovpn-server> print
# NAME USER MTU CLIENT-ADDRESS UPTIME ENCODING
0 ;;; Home-Open-VPN
ovpn-in1 vpn-xxx
/interface ovpn-server server> print
enabled: yes
port: 1194
mode: ethernet
netmask: 24
mac-address: FE:CF:A2:C6:C2:76
max-mtu: 1500
keepalive-timeout: disabled
default-profile: open-vpn
certificate: cert1
require-client-certificate: no
auth: sha1
cipher: aes256
This is the serverlog
13:26:14 ovpn,debug <xxx.xxx.xxx.xxx>: disconnected <peer disconnected>
And now to the funny part.... That is that it will disconnect my static PPTP client and make the dynamic PPTP address as invalid. Making the automatic restart av the PPTP client malfunction. With the following error.
13:26:14 ovpn,debug <xxx.xxx.xxx.xxx>: disconnected <peer disconnected>
13:26:15 pptp,ppp,error could not add address: already have such address (6)
Only clearing the dynamic address in /ip address will help.