Jump to content
Not connected, Your IP: 3.133.109.58
Sign in to follow this  
mattlesz

DD-WRT not connecting on Linksys E2500 Router

Recommended Posts

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

Share this post


Link to post

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

Share this post


Link to post

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?

Share this post


Link to post

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

Share this post


Link to post

Can you tell me how would I check the iptables rules? Couldn't really understand from google searches.

Yes, same symptoms.

Share this post


Link to post

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 REJECT

iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE

If 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

Share this post


Link to post

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...