Firewall redirect a port

None of that is useful, and since I no longer have the patience to ask for a fourth time for what you need to post, someone else can help you. Best of luck =]

  • One cannot help when one refuses to help themselves...

I just repost that because you said you misread my post.
Just for that.
And yes I am running an openvpn server on the lede main router and
an other one on the freepbx server with different port.
And I really thank you for the time you spent helping me.

Then where are the logs and configs? This will be my last post, but you need to realize none of us have access to your systems and the only way anyone can determine where the issue is at is by viewing the all the logs and the relevant configs.

When users are trying to help you by requesting configs and logs that are necessary to troubleshoot and you repeatedly ignore what needs to be shared, why should one take the time to help you?

  • It's entirely possible all the logs and configs I requested may not be necessary (same goes for the high verbosity), however, in order to make it more convenient for you, I requested all at once so you don't have to be repeatedly posting new information that may be needed.

You know what's needed to be shared because I asked for it in posts #9, #15, #17, #20... perhaps someone else will have more patience than I. Best of luck =]

With proto UDP.

On The FREEPBX server . Restarting the server VPN

Jan 15 20:54:11 localhost openvpn[28414]: event_wait : Interrupted system call (code=4)
Jan 15 20:54:11 localhost openvpn[28414]: Closing TUN/TAP interface
Jan 15 20:54:11 localhost openvpn[28414]: /sbin/ip addr del dev tun0 10.8.0.1/24
Jan 15 20:54:11 localhost openvpn[28414]: SIGTERM[hard,] received, process exiting
Jan 15 20:54:13 localhost ntpd[1651]: Deleting interface #18 tun0, 10.8.0.1#123, interface stats: received=0, sent=0, dropped=0, active_time=6157 secs
Jan 15 20:54:13 localhost ntpd[1651]: peers refreshed
Jan 15 20:54:15 localhost php: /sbin/ip6tables -D fpbxinterfaces 4
Jan 15 20:54:15 localhost php: /sbin/iptables -D fpbxinterfaces 4
Jan 15 20:54:39 localhost openvpn[5373]: OpenVPN 2.3.7 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun  9 2015
Jan 15 20:54:39 localhost openvpn[5373]: library versions: OpenSSL 1.0.1e-fips 11 Feb 2013, LZO 2.03
Jan 15 20:54:39 localhost openvpn[5374]: Diffie-Hellman initialized with 2048 bit key
Jan 15 20:54:39 localhost openvpn[5374]: Socket Buffers: R=[124928->131072] S=[124928->131072]
Jan 15 20:54:39 localhost kernel: tun0: Disabled Privacy Extensions
Jan 15 20:54:39 localhost openvpn[5374]: TUN/TAP device tun0 opened
Jan 15 20:54:39 localhost openvpn[5374]: TUN/TAP TX queue length set to 100
Jan 15 20:54:39 localhost openvpn[5374]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Jan 15 20:54:39 localhost openvpn[5374]: /sbin/ip link set dev tun0 up mtu 1500
Jan 15 20:54:39 localhost openvpn[5374]: /sbin/ip addr add dev tun0 10.8.0.1/24 broadcast 10.8.0.255
Jan 15 20:54:39 localhost openvpn[5374]: UDPv4 link local (bound): [undef]
Jan 15 20:54:39 localhost openvpn[5374]: UDPv4 link remote: [undef]
Jan 15 20:54:39 localhost openvpn[5374]: MULTI: multi_init called, r=256 v=256
Jan 15 20:54:39 localhost openvpn[5374]: IFCONFIG POOL: base=10.8.0.2 size=252, ipv6=0
Jan 15 20:54:39 localhost openvpn[5374]: ifconfig_pool_read(), in='client0,10.8.0.2', TODO: IPv6
Jan 15 20:54:39 localhost openvpn[5374]: succeeded -> ifconfig_pool_set()
Jan 15 20:54:39 localhost openvpn[5374]: IFCONFIG POOL LIST
Jan 15 20:54:39 localhost openvpn[5374]: client0,10.8.0.2
Jan 15 20:54:39 localhost openvpn[5374]: Initialization Sequence Completed
Jan 15 20:54:41 localhost ntpd[1651]: Listen normally on 19 tun0 10.8.0.1 UDP 123
Jan 15 20:54:41 localhost ntpd[1651]: peers refreshed
Jan 15 20:54:50 localhost php: /sbin/ip6tables -A fpbxinterfaces -i tun0 -j zone-internal
Jan 15 20:54:50 localhost php: /sbin/iptables -A fpbxinterfaces -i tun0 -j zone-internal

cat /etc/openvpn/sysadmin_server1-status.log

TITLE	OpenVPN 2.3.7 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun  9 2015
TIME	Mon Jan 15 20:57:57 2018	1516010277
HEADER	CLIENT_LIST	Common Name	Real Address	Virtual Address	Bytes Received	Bytes Sent	Connected Since	Connected Since (time_t)	Username
CLIENT_LIST	client0	IP_PUBLIC_REMOTE_SUBNET:46071	10.8.0.2	4508	4639	Mon Jan 15 20:56:11 2018	1516010171	UNDEF
HEADER	ROUTING_TABLE	Virtual Address	Common Name	Real Address	Last Ref	Last Ref (time_t)
ROUTING_TABLE	10.8.0.2	client0	IP_PUBLIC_REMOTE_SUBNET:46071	Mon Jan 15 20:56:14 2018	1516010174
GLOBAL_STATS	Max bcast/mcast queue length	0

Freepbx : ping 10.8.0.2 is ok

# ip addr show
[...]
18: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
    link/[65534] 
    inet 10.8.0.1/24 brd 10.8.0.255 scope global tun0

with proto tcp.

freepbx cat /var/log/messages :

Jan 15 22:13:32 localhost openvpn[12585]: Current Parameter Settings:
Jan 15 22:13:32 localhost openvpn[12585]:   config = 'sysadmin_server1.conf'
Jan 15 22:13:32 localhost openvpn[12585]:   mode = 1
Jan 15 22:13:32 localhost openvpn[12585]:   persist_config = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   persist_mode = 1
Jan 15 22:13:32 localhost openvpn[12585]:   show_ciphers = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   show_digests = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   show_engines = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   genkey = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   key_pass_file = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   show_tls_ciphers = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]: Connection profiles [default]:
Jan 15 22:13:32 localhost openvpn[12585]:   proto = tcp-server
Jan 15 22:13:32 localhost openvpn[12585]:   local = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   local_port = 1194
Jan 15 22:13:32 localhost openvpn[12585]:   remote = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   remote_port = 1194
Jan 15 22:13:32 localhost openvpn[12585]:   remote_float = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   bind_defined = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   bind_local = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   connect_retry_seconds = 5
Jan 15 22:13:32 localhost openvpn[12585]:   connect_timeout = 10
Jan 15 22:13:32 localhost openvpn[12585]:   connect_retry_max = 0
Jan 15 22:13:32 localhost openvpn[12585]:   socks_proxy_server = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   socks_proxy_port = 0
Jan 15 22:13:32 localhost openvpn[12585]:   socks_proxy_retry = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   tun_mtu = 1500
Jan 15 22:13:32 localhost openvpn[12585]:   tun_mtu_defined = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   link_mtu = 1500
Jan 15 22:13:32 localhost openvpn[12585]:   link_mtu_defined = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   tun_mtu_extra = 0
Jan 15 22:13:32 localhost openvpn[12585]:   tun_mtu_extra_defined = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   mtu_discover_type = -1
Jan 15 22:13:32 localhost openvpn[12585]:   fragment = 0
Jan 15 22:13:32 localhost openvpn[12585]:   mssfix = 1450
Jan 15 22:13:32 localhost openvpn[12585]:   explicit_exit_notification = 0
Jan 15 22:13:32 localhost openvpn[12585]: Connection profiles END
Jan 15 22:13:32 localhost openvpn[12585]:   remote_random = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   ipchange = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   dev = 'tun'
Jan 15 22:13:32 localhost openvpn[12585]:   dev_type = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   dev_node = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   lladdr = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   topology = 3
Jan 15 22:13:32 localhost openvpn[12585]:   tun_ipv6 = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   ifconfig_local = '10.8.0.1'
Jan 15 22:13:32 localhost openvpn[12585]:   ifconfig_remote_netmask = '255.255.255.0'
Jan 15 22:13:32 localhost openvpn[12585]:   ifconfig_noexec = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   ifconfig_nowarn = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   ifconfig_ipv6_local = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   ifconfig_ipv6_netbits = 0
Jan 15 22:13:32 localhost openvpn[12585]:   ifconfig_ipv6_remote = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   shaper = 0
Jan 15 22:13:32 localhost openvpn[12585]:   mtu_test = 0
Jan 15 22:13:32 localhost openvpn[12585]:   mlock = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   keepalive_ping = 10
Jan 15 22:13:32 localhost openvpn[12585]:   keepalive_timeout = 120
Jan 15 22:13:32 localhost openvpn[12585]:   inactivity_timeout = 0
Jan 15 22:13:32 localhost openvpn[12585]:   ping_send_timeout = 10
Jan 15 22:13:32 localhost openvpn[12585]:   ping_rec_timeout = 240
Jan 15 22:13:32 localhost openvpn[12585]:   ping_rec_timeout_action = 2
Jan 15 22:13:32 localhost openvpn[12585]:   ping_timer_remote = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   remap_sigusr1 = 0
Jan 15 22:13:32 localhost openvpn[12585]:   persist_tun = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   persist_local_ip = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   persist_remote_ip = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   persist_key = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   passtos = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   resolve_retry_seconds = 1000000000
Jan 15 22:13:32 localhost openvpn[12585]:   username = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   groupname = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   chroot_dir = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   cd_dir = '/etc/openvpn'
Jan 15 22:13:32 localhost openvpn[12585]:   writepid = '/var/run/openvpn/sysadmin_server1.pid'
Jan 15 22:13:32 localhost openvpn[12585]:   up_script = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   down_script = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   down_pre = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   up_restart = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   up_delay = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   daemon = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   inetd = 0
Jan 15 22:13:32 localhost openvpn[12585]:   log = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   suppress_timestamps = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   nice = 0
Jan 15 22:13:32 localhost openvpn[12585]:   verbosity = 9
Jan 15 22:13:32 localhost openvpn[12585]:   mute = 0
Jan 15 22:13:32 localhost openvpn[12585]:   gremlin = 0
Jan 15 22:13:32 localhost openvpn[12585]:   status_file = 'sysadmin_server1-status.log'
Jan 15 22:13:32 localhost openvpn[12585]:   status_file_version = 3
Jan 15 22:13:32 localhost openvpn[12585]:   status_file_update_freq = 10
Jan 15 22:13:32 localhost openvpn[12585]:   occ = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   rcvbuf = 65536
Jan 15 22:13:32 localhost openvpn[12585]:   sndbuf = 65536
Jan 15 22:13:32 localhost openvpn[12585]:   mark = 0
Jan 15 22:13:32 localhost openvpn[12585]:   sockflags = 0
Jan 15 22:13:32 localhost openvpn[12585]:   fast_io = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   lzo = 7
Jan 15 22:13:32 localhost openvpn[12585]:   route_script = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   route_default_gateway = '10.8.0.2'
Jan 15 22:13:32 localhost openvpn[12585]:   route_default_metric = 0
Jan 15 22:13:32 localhost openvpn[12585]:   route_noexec = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   route_delay = 0
Jan 15 22:13:32 localhost openvpn[12585]:   route_delay_window = 30
Jan 15 22:13:32 localhost openvpn[12585]:   route_delay_defined = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   route_nopull = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   route_gateway_via_dhcp = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   max_routes = 100
Jan 15 22:13:32 localhost openvpn[12585]:   allow_pull_fqdn = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   management_addr = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   management_port = 0
Jan 15 22:13:32 localhost openvpn[12585]:   management_user_pass = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   management_log_history_cache = 250
Jan 15 22:13:32 localhost openvpn[12585]:   management_echo_buffer_size = 100
Jan 15 22:13:32 localhost openvpn[12585]:   management_write_peer_info_file = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   management_client_user = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   management_client_group = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   management_flags = 0
Jan 15 22:13:32 localhost openvpn[12585]:   shared_secret_file = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   key_direction = 0
Jan 15 22:13:32 localhost openvpn[12585]:   ciphername_defined = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   ciphername = 'BF-CBC'
Jan 15 22:13:32 localhost openvpn[12585]:   authname_defined = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   authname = 'SHA1'
Jan 15 22:13:32 localhost openvpn[12585]:   prng_hash = 'SHA1'
Jan 15 22:13:32 localhost openvpn[12585]:   prng_nonce_secret_len = 16
Jan 15 22:13:32 localhost openvpn[12585]:   keysize = 0
Jan 15 22:13:32 localhost openvpn[12585]:   engine = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   replay = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   mute_replay_warnings = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   replay_window = 64
Jan 15 22:13:32 localhost openvpn[12585]:   replay_time = 15
Jan 15 22:13:32 localhost openvpn[12585]:   packet_id_file = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   use_iv = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   test_crypto = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   tls_server = ENABLED
Jan 15 22:13:32 localhost openvpn[12585]:   tls_client = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   key_method = 2
Jan 15 22:13:32 localhost openvpn[12585]:   ca_file = 'sysadmin_ca.crt'
Jan 15 22:13:32 localhost openvpn[12585]:   ca_path = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   dh_file = 'sysadmin_dh.pem'
Jan 15 22:13:32 localhost openvpn[12585]:   cert_file = 'sysadmin_server1.crt'
Jan 15 22:13:32 localhost openvpn[12585]:   priv_key_file = 'sysadmin_server1.key'
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs12_file = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   cipher_list = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   tls_verify = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   tls_export_cert = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   verify_x509_type = 0
Jan 15 22:13:32 localhost openvpn[12585]:   verify_x509_name = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   crl_file = 'sysadmin_crl.pem'
Jan 15 22:13:32 localhost openvpn[12585]:   ns_cert_type = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_ku[i] = 0
Jan 15 22:13:32 localhost openvpn[12585]:   remote_cert_eku = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   ssl_flags = 0
Jan 15 22:13:32 localhost openvpn[12585]:   tls_timeout = 2
Jan 15 22:13:32 localhost openvpn[12585]:   renegotiate_bytes = 0
Jan 15 22:13:32 localhost openvpn[12585]:   renegotiate_packets = 0
Jan 15 22:13:32 localhost openvpn[12585]:   renegotiate_seconds = 3600
Jan 15 22:13:32 localhost openvpn[12585]:   handshake_window = 60
Jan 15 22:13:32 localhost openvpn[12585]:   transition_window = 3600
Jan 15 22:13:32 localhost openvpn[12585]:   single_session = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   push_peer_info = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   tls_exit = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   tls_auth_file = '[UNDEF]'
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_protected_authentication = DISABLED
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_private_mode = 00000000
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_private_mode = 00000000
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_private_mode = 00000000
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_private_mode = 00000000
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_private_mode = 00000000
Jan 15 22:13:32 localhost openvpn[12585]:   pkcs11_private_mode = 00000000
Jan 15 22:13:32 localhost rsyslogd-2177: imuxsock begins to drop messages from pid 12585 due to rate-limiting
Jan 15 22:13:32 localhost openvpn[12586]: PKCS#11: pkcs11_initialize - entered
Jan 15 22:13:32 localhost openvpn[12586]: PKCS#11: pkcs11_initialize - return 0-'CKR_OK'
Jan 15 22:13:32 localhost openvpn[12586]: Diffie-Hellman initialized with 2048 bit key
Jan 15 22:13:32 localhost openvpn[12586]: PRNG init md=SHA1 size=36
Jan 15 22:13:32 localhost kernel: tun0: Disabled Privacy Extensions
Jan 15 22:13:32 localhost openvpn[12586]: crypto_adjust_frame_parameters: Adjusting frame parameters for crypto by 40 bytes
Jan 15 22:13:32 localhost openvpn[12586]: MTU DYNAMIC mtu=0, flags=1, 0 -> 140
Jan 15 22:13:32 localhost openvpn[12586]: TLS-Auth MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:3 ]
Jan 15 22:13:32 localhost openvpn[12586]: MTU DYNAMIC mtu=1450, flags=2, 1544 -> 1450
Jan 15 22:13:32 localhost openvpn[12586]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Jan 15 22:13:32 localhost openvpn[12586]: TUN/TAP device tun0 opened
Jan 15 22:13:32 localhost openvpn[12586]: TUN/TAP TX queue length set to 100
Jan 15 22:13:32 localhost openvpn[12586]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Jan 15 22:13:32 localhost openvpn[12586]: /sbin/ip link set dev tun0 up mtu 1500
Jan 15 22:13:32 localhost openvpn[12590]: PKCS#11: __pkcs11h_forkFixup entry pid=12590, activate_slotevent=1
Jan 15 22:13:32 localhost openvpn[12590]: PKCS#11: __pkcs11h_forkFixup return
Jan 15 22:13:32 localhost openvpn[12586]: /sbin/ip addr add dev tun0 10.8.0.1/24 broadcast 10.8.0.255
Jan 15 22:13:32 localhost openvpn[12592]: PKCS#11: __pkcs11h_forkFixup entry pid=12592, activate_slotevent=1
Jan 15 22:13:32 localhost openvpn[12592]: PKCS#11: __pkcs11h_forkFixup return
Jan 15 22:13:32 localhost openvpn[12586]: Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:143 ET:0 EL:3 AF:3/1 ]
Jan 15 22:13:32 localhost openvpn[12586]: STREAM: RESET
Jan 15 22:13:32 localhost openvpn[12586]: STREAM: INIT maxlen=1547
Jan 15 22:13:32 localhost openvpn[12586]: Listening for incoming TCP connection on [undef]
Jan 15 22:13:32 localhost openvpn[12586]: TCPv4_SERVER link local (bound): [undef]
Jan 15 22:13:32 localhost openvpn[12586]: TCPv4_SERVER link remote: [undef]
Jan 15 22:13:32 localhost openvpn[12586]: MULTI: multi_init called, r=256 v=256
Jan 15 22:13:32 localhost openvpn[12586]: IFCONFIG POOL: base=10.8.0.2 size=252, ipv6=0
Jan 15 22:13:32 localhost openvpn[12586]: ifconfig_pool_read(), in='client0,10.8.0.2', TODO: IPv6
Jan 15 22:13:32 localhost openvpn[12586]: succeeded -> ifconfig_pool_set()
Jan 15 22:13:32 localhost openvpn[12586]: IFCONFIG POOL LIST
Jan 15 22:13:32 localhost openvpn[12586]: client0,10.8.0.2
Jan 15 22:13:32 localhost openvpn[12586]: EP_INIT maxevents=1028 flags=0x00000000
Jan 15 22:13:32 localhost openvpn[12586]: MULTI: TCP INIT maxclients=1024 maxevents=1028
Jan 15 22:13:32 localhost openvpn[12586]: Initialization Sequence Completed
Jan 15 22:13:32 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:13:32 localhost openvpn[12586]: EP_CTL fd=6 rwflags=0x0001 ev=0x00000001 arg=0x00000001
Jan 15 22:13:32 localhost openvpn[12586]: EP_CTL fd=7 rwflags=0x0001 ev=0x00000001 arg=0x00000002
Jan 15 22:13:34 localhost ntpd[1651]: Listen normally on 23 tun0 10.8.0.1 UDP 123
Jan 15 22:13:34 localhost ntpd[1651]: peers refreshed
Jan 15 22:13:42 localhost openvpn[12586]: MULTI: REAP range 0 -> 16
Jan 15 22:13:42 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TIMEOUT p=0
Jan 15 22:13:42 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TIMEOUT mi=0x00000000
Jan 15 22:13:42 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF
Jan 15 22:13:42 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:13:52 localhost openvpn[12586]: MULTI: REAP range 16 -> 32
Jan 15 22:13:52 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TIMEOUT p=0
Jan 15 22:13:52 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TIMEOUT mi=0x00000000
Jan 15 22:13:52 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF
Jan 15 22:13:52 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:13:56 localhost php: /sbin/ip6tables -A fpbxinterfaces -i tun0 -j zone-internal
Jan 15 22:13:56 localhost php: /sbin/iptables -A fpbxinterfaces -i tun0 -j zone-internal
Jan 15 22:14:02 localhost openvpn[12586]: MULTI: REAP range 32 -> 48
Jan 15 22:14:02 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TIMEOUT p=0
Jan 15 22:14:02 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TIMEOUT mi=0x00000000
Jan 15 22:14:02 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF
Jan 15 22:14:02 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:14:12 localhost openvpn[12586]: MULTI: REAP range 48 -> 64
Jan 15 22:14:12 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TIMEOUT p=0
Jan 15 22:14:12 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TIMEOUT mi=0x00000000
Jan 15 22:14:12 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TIMEOUT -> TA_UNDEF
Jan 15 22:14:12 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL

[...]
Jan 15 22:17:28 localhost openvpn[12586]: GET INST BY VIRT: 10.8.0.2 [failed]
Jan 15 22:17:28 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TUN_READ -> TA_UNDEF
Jan 15 22:17:28 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:17:29 localhost openvpn[12586]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x00000002
Jan 15 22:17:29 localhost openvpn[12586]: MULTI: REAP range 0 -> 16
Jan 15 22:17:29 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TUN_READ p=0
Jan 15 22:17:29 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TUN_READ mi=0x00000000
Jan 15 22:17:29 localhost openvpn[12586]:  read from TUN/TAP returned 84
Jan 15 22:17:29 localhost openvpn[12586]: GET INST BY VIRT: 10.8.0.2 [failed]
Jan 15 22:17:29 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TUN_READ -> TA_UNDEF
Jan 15 22:17:29 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:17:30 localhost openvpn[12586]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x00000002
Jan 15 22:17:30 localhost openvpn[12586]: MULTI: REAP range 16 -> 32
Jan 15 22:17:30 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TUN_READ p=0
Jan 15 22:17:30 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TUN_READ mi=0x00000000
Jan 15 22:17:30 localhost openvpn[12586]:  read from TUN/TAP returned 84
Jan 15 22:17:30 localhost openvpn[12586]: GET INST BY VIRT: 10.8.0.2 [failed]
Jan 15 22:17:30 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TUN_READ -> TA_UNDEF
Jan 15 22:17:30 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:17:31 localhost openvpn[12586]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x00000002
Jan 15 22:17:31 localhost openvpn[12586]: MULTI: REAP range 32 -> 48
Jan 15 22:17:31 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TUN_READ p=0
Jan 15 22:17:31 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TUN_READ mi=0x00000000
Jan 15 22:17:31 localhost openvpn[12586]:  read from TUN/TAP returned 84
Jan 15 22:17:31 localhost openvpn[12586]: GET INST BY VIRT: 10.8.0.2 [failed]
Jan 15 22:17:31 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TUN_READ -> TA_UNDEF
Jan 15 22:17:31 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:17:32 localhost openvpn[12586]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x00000002
Jan 15 22:17:32 localhost openvpn[12586]: MULTI: REAP range 48 -> 64
Jan 15 22:17:32 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TUN_READ p=0
Jan 15 22:17:32 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TUN_READ mi=0x00000000
Jan 15 22:17:32 localhost openvpn[12586]:  read from TUN/TAP returned 84
Jan 15 22:17:32 localhost openvpn[12586]: GET INST BY VIRT: 10.8.0.2 [failed]
Jan 15 22:17:32 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TUN_READ -> TA_UNDEF
Jan 15 22:17:32 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL
Jan 15 22:17:33 localhost openvpn[12586]: EP_WAIT[0] rwflags=0x0001 ev=0x00000001 arg=0x00000002
Jan 15 22:17:33 localhost openvpn[12586]: MULTI: REAP range 64 -> 80
Jan 15 22:17:33 localhost openvpn[12586]: MULTI TCP: multi_tcp_action a=TA_TUN_READ p=0
Jan 15 22:17:33 localhost openvpn[12586]: MULTI TCP: multi_tcp_dispatch a=TA_TUN_READ mi=0x00000000
Jan 15 22:17:33 localhost openvpn[12586]:  read from TUN/TAP returned 84
Jan 15 22:17:33 localhost openvpn[12586]: GET INST BY VIRT: 10.8.0.2 [failed]
Jan 15 22:17:33 localhost openvpn[12586]: MULTI TCP: multi_tcp_post TA_TUN_READ -> TA_UNDEF
Jan 15 22:17:33 localhost openvpn[12586]: SCHEDULE: schedule_find_least NULL

sysadmin-server1-status.log there is no client.

Can't ping 10.8.0.2

The IP phone client seem not connected.No VPN address. Reboot no chance

Sytem log for the ip phone

Finaly ! found the log for the iP phone.

[01-15 11:54:37 50:19:73] 

[01-15 11:54:37 50:19:73] RTOS_Upgrade: Free ImgBuf
[01-15 11:54:37 50:19:73] RTOS_Upgrade: Alloc ImgBuf
[01-15 11:54:37 50:19:73] RTOS_Upgrade: Device Will Upgrade User Access Level File ...
[01-15 11:54:37 50:19:73] RTOS_Upgrade: Free ImgBuf
[01-15 11:54:37 50:19:73] WEBS: Write web file 26002
[01-15 11:54:37 50:19:73] SIP: sip_nict_init, no route, req_uri->host:port is 10.66.0.2:5060
[01-15 11:54:48 50:19:73] SYSLOG: load flash Flie 1 -2
[01-15 11:54:49 50:19:73] SYSLOG: read flash Flie /hlfs/message01 size = 1062619 
[01-15 11:54:49 50:19:73] SYSLOG: read flash Flie /hlfs/message02 size = 388501 
[01-15 11:54:49 50:19:73] SYSLOG: read flash Flie /tmp/message01 size = 102814 
[01-15 11:55:39 50:19:73] SIP: aid 0, cid 0, tid 0, did 0, REQUEST: REGISTER, Event: 2
[01-15 11:55:39 50:19:73] SipProc:aid 0 enter NoAnswer SIP_REGISTRATION_FAILURE ====
[01-15 11:55:39 50:19:73] CALL: State=0x60, Event=0x31e, Chn=0
[01-15 11:55:39 50:19:73] CallCtl: SendEvent2Lcm: aid 0, Line: 0, event 0x8d3
[01-15 11:55:39 50:19:73] GUI: Receive Call Register Failed!
[01-15 11:55:39 50:19:73] LCM: Select aid:0
[01-15 11:55:39 50:19:73] L2C: LCM set aid 0
[01-15 11:55:39 50:19:73] SIP: aid 0, Need Re-Register after 32 seconds..
[01-15 11:55:55 50:19:73] Open /dev/ttyS1 
[01-15 11:55:55 50:19:73] Baudrate is 2400

[01-15 11:55:55 50:19:73] init_ehs_mode 

[01-15 11:56:11 50:19:73] SIP: aid 0, Re-Register Timer Timeout
[01-15 11:56:11 50:19:73] SIP: aid 0, Re-Register Timer Timeout, Try to Re-Register...
[01-15 11:56:11 50:19:73] SIP: aid 0 Reg Start...
[01-15 11:56:11 50:19:73] SIP: sip_nict_init, no route, req_uri->host:port is 10.66.0.2:5060
[01-15 11:56:13 50:19:73] NTP: NTP Server1 IP: 103.242.70.5
[01-15 11:56:13 50:19:73] NTP: GetNtpTime from 103.242.70.5 OK, 1516017548 seconds
[01-15 11:56:13 50:19:73] 
Set time [1516017548] seconds  to linux 
[01-15 11:56:13 50:19:73] Update the local time to flash for phone :2018-01-15 11:59:08
[01-15 11:56:13 50:19:73] SaveCfg2Flash: cfg_if.c:9706
[01-15 11:56:13 50:19:73] =======SET ADMIN USER INFO SUCCESS=========
[01-15 11:56:13 50:19:73] =======SET USER INFO SUCCESS=========
[01-15 11:56:13 50:19:73] UpdateTonesByTemplate:11254*******CountryCode*10*******
[01-15 11:56:13 50:19:73] 802.1x Write to file len[86]
[01-15 11:56:13 50:19:73] RTOS_Upgrade: Will Parse Config Server Path http://a59e816d:76a12@10.66.0.2:83
[01-15 11:56:13 50:19:73] ParseSerPathStr:====== addr is 10.66.0.2 
[01-15 11:56:13 50:19:73] ParseSerPathStr: ip is 10.66.0.2, 0xa420002
[01-15 11:56:13 50:19:73] ParseSerPathStr:====== addr is 10.66.0.2 
[01-15 11:56:13 50:19:73] ParseSerPathStr: ip is 10.66.0.2, 0xa420002
[01-15 11:56:13 50:19:73] ParseSerPathStr: path is sangoma/1
[01-15 11:56:13 50:19:73] CFG: aid 1, set to invalid
[01-15 11:56:13 50:19:73] CFG: aid 2, set to invalid
[01-15 11:56:13 50:19:73] CFG: aid 3, set to invalid
[01-15 11:56:13 50:19:73] CFG: aid 4, set to invalid
[01-15 11:56:13 50:19:73] CFG: aid 5, set to invalid
[01-15 11:56:13 50:19:73] Chn 0 digitmap: {[x*]+}
[01-15 11:56:13 50:19:73] Chn 1 digitmap: {[x*]+}
[01-15 11:56:13 50:19:73] Chn 2 digitmap: {[x*]+}
[01-15 11:56:13 50:19:73] Chn 3 digitmap: {[x*]+}
[01-15 11:56:13 50:19:73] Chn 4 digitmap: {[x*]+}
[01-15 11:56:13 50:19:73] Chn 5 digitmap: {[x*]+}
[01-15 11:56:13 50:19:73] CFG: aid 1, setting has been change!!!
[01-15 11:56:13 50:19:73] CFG: aid 1 Send CfgUpdate Event to SIPPro
[01-15 11:56:13 50:19:73] CFG: aid 2 Send CfgUpdate Event to SIPPro
[01-15 11:56:13 50:19:73] CFG: aid 3 Send CfgUpdate Event to SIPPro
[01-15 11:56:13 50:19:73] CFG: aid 4 Send CfgUpdate Event to SIPPro
[01-15 11:56:13 50:19:73] CFG: aid 5 Send CfgUpdate Event to SIPPro
[01-15 11:56:13 50:19:73] WriteHlcfgFile:write hlcfg file sucessed !
[01-15 11:56:13 50:19:73] SaveCfg2Flash:save Cfg file to Flash Sucessed!
[01-15 11:56:13 50:19:73] SIP: aid 1 Receive CfgUpdateEvent 
[01-15 11:56:13 50:19:73] SIP: aid 1, BLF UnSubscribe, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 1 CfgChange UnRegister1
[01-15 11:56:13 50:19:73] SIP: aid 1, BLF UnRegister, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 2 Receive CfgUpdateEvent 
[01-15 11:56:13 50:19:73] SIP: aid 2, BLF UnSubscribe, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 2 CfgChange UnRegister1
[01-15 11:56:13 50:19:73] SIP: aid 2, BLF UnRegister, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 3 Receive CfgUpdateEvent 
[01-15 11:56:13 50:19:73] SIP: aid 3, BLF UnSubscribe, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 3 CfgChange UnRegister1
[01-15 11:56:13 50:19:73] SIP: aid 3, BLF UnRegister, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 4 Receive CfgUpdateEvent 
[01-15 11:56:13 50:19:73] SIP: aid 4, BLF UnSubscribe, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 4 CfgChange UnRegister1
[01-15 11:56:13 50:19:73] SIP: aid 4, BLF UnRegister, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 5 Receive CfgUpdateEvent 
[01-15 11:56:13 50:19:73] SIP: aid 5, BLF UnSubscribe, Account InValid
[01-15 11:56:13 50:19:73] SIP: aid 5 CfgChange UnRegister1
[01-15 11:56:13 50:19:73] SIP: aid 5, BLF UnRegister, Account InValid
[01-15 11:56:13 50:19:73] NTP: AdjustTimeZone, 758674748 seconds
[01-15 11:56:13 50:19:73] NTP: Old Count1s is 116
[01-15 11:56:13 50:19:73] NTP: New Count1s is 758674748
[01-15 11:56:13 50:19:73] SIP: aid 0, cid 0, tid 0, did 0, REQUEST: REGISTER, Event: 2
[01-15 11:56:13 50:19:73] SipProc:aid 0 enter NoAnswer SIP_REGISTRATION_FAILURE ====
[01-15 11:56:13 50:19:73] CALL: State=0x60, Event=0x31e, Chn=0
[01-15 11:56:13 50:19:73] CallCtl: SendEvent2Lcm: aid 0, Line: 0, event 0x8d3
[01-15 11:56:13 50:19:73] GUI:CFG_SAVETO_FLASH_EVENT
[01-15 11:56:13 50:19:73] GUI: aid:0, AccountInfo->name:5
[01-15 11:56:13 50:19:73] GUI: Idle Softkey History,,,Menu
[01-15 11:56:13 50:19:73] GUI: RemoteDir 3, BSDir 3, APDir 3
[01-15 11:56:13 50:19:73] GUI: Receive Call Register Failed!
[01-15 11:56:13 50:19:73] LCM: Select aid:0
[01-15 11:56:13 50:19:73] L2C: LCM set aid 0
[01-15 22:59:08 50:19:73] <Set SoftClock from 2018-01-15 11:56:13 to 2018-01-15 22:59:08>
[01-15 22:59:08 50:19:73] SIP: aid 0, Need Re-Register after 64 seconds..
[01-15 22:59:12 50:19:73] CFG: aid 1, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 2, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 3, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 4, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 5, set to invalid
[01-15 22:59:12 50:19:73] SIP: Update SipInfo
[01-15 22:59:12 50:19:73] SIP: aid 0 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 1 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 2 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 3 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 4 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 5 RegTimer Start...
[01-15 22:59:12 50:19:73] CFG: aid 1, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 2, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 3, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 4, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 5, set to invalid
[01-15 22:59:12 50:19:73] SIP: Update SipInfo
[01-15 22:59:12 50:19:73] SIP: aid 0 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 1 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 2 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 3 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 4 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 5 RegTimer Start...
[01-15 22:59:12 50:19:73] CFG: aid 1, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 2, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 3, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 4, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 5, set to invalid
[01-15 22:59:12 50:19:73] SIP: Update SipInfo
[01-15 22:59:12 50:19:73] SIP: aid 0 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 1 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 2 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 3 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 4 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 5 RegTimer Start...
[01-15 22:59:12 50:19:73] CFG: aid 1, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 2, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 3, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 4, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 5, set to invalid
[01-15 22:59:12 50:19:73] SIP: Update SipInfo
[01-15 22:59:12 50:19:73] SIP: aid 0 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 1 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 2 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 3 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 4 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 5 RegTimer Start...
[01-15 22:59:12 50:19:73] CFG: aid 1, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 2, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 3, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 4, set to invalid
[01-15 22:59:12 50:19:73] CFG: aid 5, set to invalid
[01-15 22:59:12 50:19:73] SIP: Update SipInfo
[01-15 22:59:12 50:19:73] SIP: aid 0 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 1 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 2 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 3 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 4 RegTimer Start...
[01-15 22:59:12 50:19:73] SIP: aid 5 RegTimer Start...
[01-15 22:59:13 50:19:73] SIP: aid 0 Reg Start...
[01-15 22:59:13 50:19:73] SIP: sip_nict_init, no route, req_uri->host:port is 10.66.0.2:5060
[01-15 22:59:38 50:19:73] DNSC: resolv HostName -- 0.oceania.pool.ntp.org
[01-15 22:59:39 50:19:73] DNSC: Domain 0.oceania.pool.ntp.org, ip 144.48.166.166, TTL 149
[01-15 22:59:58 50:19:73] websError: code 401
<html><head><title>Document Error: Unauthorized</title></head>
        <body><h2>Access Error: Unauthorized</h2>
        <p>TimeOut, Need ReLogin</p></body></html>


[01-15 22:59:58 50:19:73] Webserver Request: from 192.168.1.153, TimeOut or Logout, need ReLogin
[01-15 23:00:06 50:19:73] Webs: admin login Web UI success, from 192.168.1.153!!
[01-15 23:00:06 50:19:73] SYSLOG: load flash Flie 1 -2
[01-15 23:00:07 50:19:73] SYSLOG: read flash Flie /hlfs/message01 size = 1062619 
[01-15 23:00:07 50:19:73] SYSLOG: read flash Flie /hlfs/message02 size = 388501

There is nothing in the phone logs mentioning the VPN, are you sure its configured correctly?

From what I can see its just trying to connect to SIP on the LAN not over a VPN.

[01-15 11:54:37 50:19:73] SIP: sip_nict_init, no route, req_uri->host:port is 10.66.0.2:5060