openvpn doesn't work on WRT1900ACS

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
carls9
DD-WRT Novice


Joined: 30 Sep 2018
Posts: 5

PostPosted: Mon Nov 12, 2018 0:15    Post subject: openvpn doesn't work on WRT1900ACS Reply with quote
frustrated, spend almost whole day, and tried times according to following two instruction, but no one works.

https://advancedhomeserver.com/dd-wrt-and-openvpn-part-1/

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=304754

will very appreciate if someone can direct me. Thanks!
Sponsor
BobbyLee
DD-WRT User


Joined: 04 Jul 2016
Posts: 131

PostPosted: Mon Nov 12, 2018 2:47    Post subject: Reply with quote
Have you ever had it working and it quit working recently or is this your first attempt? Are you setting it up as a server or client for some other VPN service? One of the articles you sight is from 2012 and isn't of much help, I know I tried using that one as a road map setting up mine. I probably used the other reference you sighted because I used a lot of references and it took me months to get a good enough understanding to get mine working without errors but there is no single reference that seems to work following them step by step. Lots of folks here helped me out, state what you're trying to do, post your profiles (i.e. client and server profiles) and ask for help with your specific situation, I'm sure folks will pop in with suggestions/help. Also, if you are trying to set up OpenVPN server do you have a DDNS service for the DDNS or do you have a static IP that doesn't change?

One reference I found very helpful was the list of commands for OpenVPN: https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage

Good luck.

_________________
Linksys WRT3200ACM
Currently using Linksys Firmware until DDWRT lets my ObiTalk 202 complete calls when connected via WiFi
Last used DD-WRT Version: r38326
OpenVPN server
carls9
DD-WRT Novice


Joined: 30 Sep 2018
Posts: 5

PostPosted: Mon Nov 12, 2018 3:35    Post subject: Reply with quote
install openvpn on windows 10, generate related files, also successful to configure DDNS, did I need forward port 1194 to 192.168.1.1 (router)?

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1069349

This thread posted on Mar 02, 2017, finally openvpn status show

State
Server: CONNECTED SUCCESS
TAP Mode: Bridged

Use PC to generate below four files

server.crt
ca.crt
server.key
dh1024.pem

Openvpn Sever settting as below

Quote:

OpenVPN: Enable
Start Type: WAN Up
Config as: Server
Server mode: Bridge (TAP)
DHCP-Proxy mode: Enable
Port: 1194
Tunnel Protocol: UDP
Encryption Cipher: AES-128 CBC
Hash Algorithm: SHA1
Advanced Options: Enable
TLS Cipher: None
LZO Compression: Adaptive
Redirect default gateway: Disable
Allow Client to Client: Enable
Allow duplicate cn: Disable
Tunnel MTU Setting: 1500
Tunnel UDP Fragment: (BLANK)
Tunnel UDP MSS-Fix: (BLANK)
CCD-Dir DEFAULT file: (BLANK)
Client connect script: (BLANK)
Static Key: (BLANK)
PKCS12 Key: (BLANK)
Public Server Cert: (server.crt)
CA Cert: (ca.crt)
Private Server Key: (server.key)
DH PEM: (dh1024.pem)
Additional Config: (BLANK)
TLS Auth Key: (BLANK)
Certificate Revoke List: (BLANK)


After save & apply & reboot, go to status-openvpn, finally can see openvpn in status, but still doesn't work with client

Client's configure files as below:
Quote:
client
dev tap
proto udp
remote xxx.xxx.xxx.xxx 1194
nobind
persist-key
persist-tun
verb 4
float
ca ca.crt
cert client.crt
key client.key
comp-lzo yes
tun-mtu 1500
auth SHA1
cipher AES-128-CBC


The log shows:


Quote:

20181111 21:00:26 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:14
20181111 21:00:26 D MANAGEMENT: CMD 'log 500'
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum