johnd7
We have received your request and will get back to you with further details shortly. You can login to the support center or check your mailbox for further updates.
General Information
Subject: connect busybox to Endian Firewall OpenVPN
Hey there,
I am trying to connect busybox to an Endian Firewall OpenVPN server without success. OpenVPN server seems to be properly configured for I can get a connection using windows and ubuntu linux. Using busybox, I am reciving some problems, my openvpn.log file output is as follows,
Tue Oct 1 10:13:46 2013 us=899312 UDPv4 READ [0] from [undef]: DATA UNDEF len=-1
Tue Oct 1 10:14:02 2013 us=626750 UDPv4 WRITE [14] to 192.168.1.3:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 10:14:02 2013 us=628218 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)
Tue Oct 1 10:14:02 2013 us=628656 UDPv4 READ [0] from [undef]: DATA UNDEF len=-1
Tue Oct 1 10:14:32 2013 us=127312 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue Oct 1 10:14:32 2013 us=127687 TLS Error: TLS handshake failed
Tue Oct 1 10:14:32 2013 us=129781 TCP/UDP: Closing socket
Tue Oct 1 10:14:32 2013 us=130437 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 1 10:14:32 2013 us=130843 Restart pause, 2 second(s)
Tue Oct 1 10:14:33 2013 us=620687 SIGTERM[hard,init_instance] received, process exiting
I have configured iptables, as you can see below,
iptables -I INPUT 1 -p tcp --dport 1194 -j ACCEPT
iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD 1 --source 192.168.101.0/24 -j ACCEPT
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
My client configuration file is the following,
#OpenVPN Configuration
cd /opt/dnt/OpenVPN
dev tun
client
cipher BF-CBC
remote 192.168.1.3
rport 1194
proto udp
tun-mtu 1350
fragment 1300
mssfix
float
reneg-sec 3600
nobind
route-delay 1
redirect-gateway def1
script-security 2
ca zertificate/certificado_alcobendas.pem
ns-cert-type server
auth-user-pass /opt/dnt/OpenVPN/openvpn.login
log /tmp/openvpn.log
status /tmp/openvpn.status
comp-lzo yes
verb 6
explicit-exit-notify 2
Could someone please give me an idea to solve this issue? Any help would be really appreciated.
Kind regards.
johnd7
Please, replace my openvpn.log file with this,
Tue Oct 1 11:49:44 2013 us=805874 UDPv4 link local: [undef]
Tue Oct 1 11:49:44 2013 us=806468 UDPv4 link remote: 192.168.1.2:1194
Tue Oct 1 11:49:44 2013 us=808531 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:44 2013 us=809562 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:49:47 2013 us=77499 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:47 2013 us=78312 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:49:51 2013 us=606843 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:51 2013 us=607656 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:49:59 2013 us=996562 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:59 2013 us=997406 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:50:15 2013 us=616593 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:50:15 2013 us=617406 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:49:44 2013 us=805874 UDPv4 link local: [undef]
Tue Oct 1 11:49:44 2013 us=806468 UDPv4 link remote: 192.168.1.2:1194
Tue Oct 1 11:49:44 2013 us=808531 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:44 2013 us=809562 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:49:47 2013 us=77499 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:47 2013 us=78312 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:49:51 2013 us=606843 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:51 2013 us=607656 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:49:59 2013 us=996562 UDPv4 WRITE [14] to 192.168.1.2:1194: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Tue Oct 1 11:49:59 2013 us=997406 write UDPv4 []: Operation not permitted (code=1)
Tue Oct 1 11:50:44 2013 us=968781 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue Oct 1 11:50:44 2013 us=969187 TLS Error: TLS handshake failed
Tue Oct 1 11:50:44 2013 us=971343 TCP/UDP: Closing socket
Tue Oct 1 11:50:44 2013 us=971999 SIGUSR1[soft,tls-error] received, process restarting
Tue Oct 1 11:50:44 2013 us=972437 Restart pause, 2 second(s)
Tue Oct 1 11:50:46 2013 us=291937 SIGTERM[hard,init_instance] received, process exiting