Installation OpenVpn Server on centos 5.5 (Trixbox) problem
Posted: Sun Mar 06, 2011 4:23 pm
Just fallowing the guide from http://michigantelephone.wordpress.com/ ... nt-part-3/
And openVpn starts but after a while whole network is unreachable - all phones connected to Trixbox are unreachable.
Sun Mar 6 05:50:10 2011 TCP/UDP: Closing socket
RTNETLINK answers: Operation not permitted
Sun Mar 6 05:50:10 2011 ERROR: Linux route delete command failed: shell command exited with error status: 2
Sun Mar 6 05:50:10 2011 Closing TUN/TAP interface
Sun Mar 6 05:50:10 2011 SIGTERM[hard,] received, process exiting
Sun Mar 6 05:53:04 2011 OpenVPN 2.1_rc2 i386-redhat-linux [SSL] [LZO1] [EPOLL] built on Apr 15 2007
Sun Mar 6 05:53:04 2011 WARNING: file 'keys/MYCOMPANY/server.key' is group or others accessible
Sun Mar 6 05:53:04 2011 TLS-Auth MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sun Mar 6 05:53:04 2011 TUN/TAP device tun0 opened
Sun Mar 6 05:53:04 2011 /sbin/ip link set dev tun0 up mtu 1500
Sun Mar 6 05:53:04 2011 /sbin/ip addr add dev tun0 local 192.168.254.1 peer 192.168.254.2
Sun Mar 6 05:53:04 2011 servers/MYCOMPANY/bin/MYCOMPANY.up tun0 1500 1558 192.168.254.1 192.168.254.2 init
Sun Mar 6 05:53:04 2011 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Mar 6 05:53:04 2011 GID set to nobody
Sun Mar 6 05:53:04 2011 UID set to nobody
Sun Mar 6 05:53:04 2011 UDPv4 link local (bound): [undef]:64000
Sun Mar 6 05:53:04 2011 UDPv4 link remote: [undef]
Sun Mar 6 05:53:04 2011 Initialization Sequence Completed
Sun Mar 6 05:54:57 2011 event_wait : Interrupted system call (code=4)
Sun Mar 6 05:54:57 2011 OpenVPN CLIENT LIST
Sun Mar 6 05:54:57 2011 Updated,Sun Mar 6 05:54:57 2011
Sun Mar 6 05:54:57 2011 Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
Sun Mar 6 05:54:57 2011 ROUTING TABLE
Sun Mar 6 05:54:57 2011 Virtual Address,Common Name,Real Address,Last Ref
Sun Mar 6 05:54:57 2011 GLOBAL STATS
Sun Mar 6 05:54:57 2011 Max bcast/mcast queue length,0
Sun Mar 6 05:54:57 2011 END
Sun Mar 6 05:55:12 2011 event_wait : Interrupted system call (code=4)
Sun Mar 6 05:55:12 2011 TCP/UDP: Closing socket
RTNETLINK answers: Operation not permitted
Sun Mar 6 05:55:12 2011 ERROR: Linux route delete command failed: shell command exited with error status: 2
Sun Mar 6 05:55:12 2011 Closing TUN/TAP interface
Sun Mar 6 05:55:12 2011 SIGTERM[hard,] received, process exiting
please advice
And openVpn starts but after a while whole network is unreachable - all phones connected to Trixbox are unreachable.
Sun Mar 6 05:50:10 2011 TCP/UDP: Closing socket
RTNETLINK answers: Operation not permitted
Sun Mar 6 05:50:10 2011 ERROR: Linux route delete command failed: shell command exited with error status: 2
Sun Mar 6 05:50:10 2011 Closing TUN/TAP interface
Sun Mar 6 05:50:10 2011 SIGTERM[hard,] received, process exiting
Sun Mar 6 05:53:04 2011 OpenVPN 2.1_rc2 i386-redhat-linux [SSL] [LZO1] [EPOLL] built on Apr 15 2007
Sun Mar 6 05:53:04 2011 WARNING: file 'keys/MYCOMPANY/server.key' is group or others accessible
Sun Mar 6 05:53:04 2011 TLS-Auth MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sun Mar 6 05:53:04 2011 TUN/TAP device tun0 opened
Sun Mar 6 05:53:04 2011 /sbin/ip link set dev tun0 up mtu 1500
Sun Mar 6 05:53:04 2011 /sbin/ip addr add dev tun0 local 192.168.254.1 peer 192.168.254.2
Sun Mar 6 05:53:04 2011 servers/MYCOMPANY/bin/MYCOMPANY.up tun0 1500 1558 192.168.254.1 192.168.254.2 init
Sun Mar 6 05:53:04 2011 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Mar 6 05:53:04 2011 GID set to nobody
Sun Mar 6 05:53:04 2011 UID set to nobody
Sun Mar 6 05:53:04 2011 UDPv4 link local (bound): [undef]:64000
Sun Mar 6 05:53:04 2011 UDPv4 link remote: [undef]
Sun Mar 6 05:53:04 2011 Initialization Sequence Completed
Sun Mar 6 05:54:57 2011 event_wait : Interrupted system call (code=4)
Sun Mar 6 05:54:57 2011 OpenVPN CLIENT LIST
Sun Mar 6 05:54:57 2011 Updated,Sun Mar 6 05:54:57 2011
Sun Mar 6 05:54:57 2011 Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
Sun Mar 6 05:54:57 2011 ROUTING TABLE
Sun Mar 6 05:54:57 2011 Virtual Address,Common Name,Real Address,Last Ref
Sun Mar 6 05:54:57 2011 GLOBAL STATS
Sun Mar 6 05:54:57 2011 Max bcast/mcast queue length,0
Sun Mar 6 05:54:57 2011 END
Sun Mar 6 05:55:12 2011 event_wait : Interrupted system call (code=4)
Sun Mar 6 05:55:12 2011 TCP/UDP: Closing socket
RTNETLINK answers: Operation not permitted
Sun Mar 6 05:55:12 2011 ERROR: Linux route delete command failed: shell command exited with error status: 2
Sun Mar 6 05:55:12 2011 Closing TUN/TAP interface
Sun Mar 6 05:55:12 2011 SIGTERM[hard,] received, process exiting
please advice