mattlesz 0 Posted ... I have tried build 19327 and 19342. I have done everything as shown on airvpn on setting it up and can't figure it out. Spent over 10 hours already researching and reading the forums. Anyone know what the issue may be? Here is my log: Log Serverlog Clientlog 20120922 18:54:39 Socket Buffers: R=[87380->131072] S=[16384->131072] 20120922 18:54:39 Data Channel MTU parms [ L:1559 D:1450 EF:59 EB:4 ET:0 EL:0 ] 20120922 18:54:39 Local Options String: 'V4 dev-type tun link-mtu 1559 tun-mtu 1500 proto TCPv4_CLIENT cipher AES-256-CBC auth SHA1 keysize 256 key-method 2 tls-client' 20120922 18:54:39 Expected Remote Options String: 'V4 dev-type tun link-mtu 1559 tun-mtu 1500 proto TCPv4_SERVER cipher AES-256-CBC auth SHA1 keysize 256 key-method 2 tls-server' 20120922 18:54:39 Local Options hash (VER=V4): '5cb3f8dc' 20120922 18:54:39 Expected Remote Options hash (VER=V4): '898ae6c6' 20120922 18:54:39 I Attempting to establish TCP connection with 108.59.8.147:443 [nonblock] 20120922 18:54:40 I TCP connection established with 108.59.8.147:443 20120922 18:54:40 I TCPv4_CLIENT link local: [undef] 20120922 18:54:40 I TCPv4_CLIENT link remote: 108.59.8.147:443 20120922 18:54:40 TLS: Initial packet from 108.59.8.147:443 sid=e8ce35ae aee35c38 20120922 18:54:42 VERIFY OK: depth=1 /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/emailAddress=info@airvpn.org 20120922 18:54:42 VERIFY OK: nsCertType=SERVER 20120922 18:54:42 VERIFY OK: depth=0 /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/emailAddress=info@airvpn.org 20120922 18:54:43 N Connection reset restarting [0] 20120922 18:54:43 TCP/UDP: Closing socket 20120922 18:54:43 I SIGUSR1[soft connection-reset] received process restarting 20120922 18:54:43 Restart pause 5 second(s) 20120922 18:54:48 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 20120922 18:54:48 I Re-using SSL/TLS context 20120922 18:54:48 Control Channel MTU parms [ L:1559 D:140 EF:40 EB:0 ET:0 EL:0 ] 20120922 18:54:48 Socket Buffers: R=[87380->131072] S=[16384->131072] 20120922 18:54:48 Data Channel MTU parms [ L:1559 D:1450 EF:59 EB:4 ET:0 EL:0 ] 20120922 18:54:48 Local Options String: 'V4 dev-type tun link-mtu 1559 tun-mtu 1500 proto TCPv4_CLIENT cipher AES-256-CBC auth SHA1 keysize 256 key-method 2 tls-client' 20120922 18:54:48 Expected Remote Options String: 'V4 dev-type tun link-mtu 1559 tun-mtu 1500 proto TCPv4_SERVER cipher AES-256-CBC auth SHA1 keysize 256 key-method 2 tls-server' 20120922 18:54:48 Local Options hash (VER=V4): '5cb3f8dc' 20120922 18:54:48 Expected Remote Options hash (VER=V4): '898ae6c6' 20120922 18:54:48 I Attempting to establish TCP connection with 108.59.8.147:443 [nonblock] 20120922 18:54:49 I TCP connection established with 108.59.8.147:443 20120922 18:54:49 I TCPv4_CLIENT link local: [undef] 20120922 18:54:49 I TCPv4_CLIENT link remote: 108.59.8.147:443 20120922 18:54:49 TLS: Initial packet from 108.59.8.147:443 sid=cb81aa6c da52feb0 20120922 18:54:50 VERIFY OK: depth=1 /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/emailAddress=info@airvpn.org 20120922 18:54:50 VERIFY OK: nsCertType=SERVER 20120922 18:54:50 VERIFY OK: depth=0 /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/emailAddress=info@airvpn.org 20120922 18:54:52 N Connection reset restarting [0] 20120922 18:54:52 TCP/UDP: Closing socket 20120922 18:54:52 I SIGUSR1[soft connection-reset] received process restarting 20120922 18:54:52 Restart pause 5 second(s) 20120922 18:54:55 MANAGEMENT: Client connected from 127.0.0.1:5001 20120922 18:54:55 D MANAGEMENT: CMD 'state' 20120922 18:54:55 MANAGEMENT: Client disconnected 20120922 18:54:55 MANAGEMENT: Client connected from 127.0.0.1:5001 20120922 18:54:55 D MANAGEMENT: CMD 'state' 20120922 18:54:55 MANAGEMENT: Client disconnected 20120922 18:54:55 MANAGEMENT: Client connected from 127.0.0.1:5001 20120922 18:54:55 D MANAGEMENT: CMD 'state' 20120922 18:54:55 MANAGEMENT: Client disconnected 20120922 18:54:55 MANAGEMENT: Client connected from 127.0.0.1:5001 20120922 18:54:55 D MANAGEMENT: CMD 'log 500' 19700101 00:00:00 Quote Share this post Link to post
Staff 9972 Posted ... Hello! It appears that there's absolutely nothing wrong in your configuration, so it's still likely that it's a firmware problem. In the specialized forums, we have seen tons of E2500 users reporting your very same, exact problem ("connection reset" without explanation), but no solution. So this is not a true support answer, sorry, but we'll keep investigating and keep you updated. Also, feel free to keep the thread "up". Kind regards Quote Share this post Link to post
mattlesz 0 Posted ... Thanks for your response. I also have a Netgear WNDR4000 router that does the same. I guess it's a firmware issue for that as well? Quote Share this post Link to post
Staff 9972 Posted ... Thanks for your response.I also have a Netgear WNDR4000 router that does the same.I guess it's a firmware issue for that as well?Hello!Same symptoms (connect/disconnect cycle)?Can you please double-check your iptables rules?Also, you might consider to flash OpenWrt, if there's compatibility with any of your routers.Kind regards Quote Share this post Link to post
mattlesz 0 Posted ... Can you tell me how would I check the iptables rules? Couldn't really understand from google searches. Yes, same symptoms. Quote Share this post Link to post
Staff 9972 Posted ... Can you tell me how would I check the iptables rules? Couldn't really understand from google searches.Yes, same symptoms.Hello!The commands to insert the proper rules (assuming that your router has tun0 and br0 interfaces) are:iptables -I FORWARD -i br0 -o tun0 -j ACCEPT iptables -I FORWARD -i tun0 -o br0 -j ACCEPT iptables -I INPUT -i tun0 -j REJECTiptables -t nat -A POSTROUTING -o tun0 -j MASQUERADEIf you use the router DD-WRT web interface you can insert them in the appropriate section (see https://airvpn.org/ddwrt for instructions), otherwise you can insert those commands in one of your scripts.Kind regards Quote Share this post Link to post
mattlesz 0 Posted ... Ah yes, iptables are fine. Tried multiple times. Quote Share this post Link to post
fribeiro123 2 Posted ... I have tried build 19327 and 19342. I have done everything as shown on airvpn on setting it up and can't figure it out. Spent over 10 hours already researching and reading the forums. Anyone know what the issue may be? It's the firmware. The last versions of the dd-wrt firmware have a bug on openvpn (see: http://svn.dd-wrt.com/ticket/2536). You have to reflash your router with a older version -> i have a E2500 like you with the firmware version Eko's 18946 (ftp://ftp.dd-wrt.com/others/eko/V24-K26/svn18946/). According with the search i made i think this is the last version with openvpn working. Quote Share this post Link to post