openvpn blank status page

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
fvargasfrank
DD-WRT Novice


Joined: 31 Jan 2016
Posts: 10

PostPosted: Sat Feb 06, 2016 20:45    Post subject: openvpn blank status page Reply with quote
Can someone please help with this
OpenVpN is working as it good

Here are my config

push "route 192.168.1.0 255.255.255.0"

server 10.8.0.0 255.255.255.0

dev tun0

proto udp

keepalive 10 120

dh /tmp/openvpn/dh.pem

ca /tmp/openvpn/ca.crt

cert /tmp/openvpn/cert.pem

key /tmp/openvpn/key.pem

# Only use crl-verify if you are using the revoke list - otherwise leave it commented out

# crl-verify /tmp/openvpn/ca.crl

# management parameter allows DD-WRT\s OpenVPN Status web page to access the server\s management port

# port must be 5001 for scripts embedded in firmware to work

management localhost 16


I try managemnet 5001 and 5002 and nothing
im running it as service
Sponsor
fvargasfrank
DD-WRT Novice


Joined: 31 Jan 2016
Posts: 10

PostPosted: Sat Feb 06, 2016 23:20    Post subject: Reply with quote
eibgrad wrote:
Depends what you mean by "my config". Is that a dump of the OpenVPN server's config file ...

Code:
cat /tmp/openvpn/openvpn.conf


... or just what you added to the Additional Config field?

A common mistake is following the wikis and dumping a bunch of directives into Additional Config you don't need, or worse, end up overriding others the GUI is already creating. Such overrides are sometimes benign, while others may change its behavior. For example, for all I know your build assumes a management port of 14 (it's been many different ports over the years; 14, 16, 5001, 5002, perhaps others).

Those wiki are antiquated. When used w/ a modern dd-wrt build, they often causes more problems than they solve. In general, the only thing you need in the Additional Config field are push directives.

To see what I mean, w/ your current configuration, and the OpenVPN server active, go to a telnet/ssh session and dump the OpenVPN server config file as I described above. You'll find many redundancies caused by your own additions to Additional Config.




here is the config from the cat command
root@DD-WRT:~# cat /tmp/openvpn/openvpn.conf
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
keepalive 10 120
verb 3
mute 3
syslog
writepid /var/run/openvpnd.pid
management 127.0.0.1 14
management-log-cache 100
topology subnet
script-security 2
port 1194
proto udp
cipher bf-cbc
auth sha1
client-connect /tmp/openvpn/clcon.sh
client-disconnect /tmp/openvpn/cldiscon.sh
client-config-dir /jffs/etc/openvpn/ccd
comp-lzo adaptive
tls-server
ifconfig-pool-persist /tmp/openvpn/ip-pool 86400
client-to-client
fast-io
tun-mtu 1500
mtu-disc yes
server 10.8.0.0 255.255.255.0
dev tun2
tun-ipv6
push "route 192.168.1.0 255.255.255.0"

server 10.8.0.0 255.255.255.0

dev tun0

proto udp

keepalive 10 120

dh /tmp/openvpn/dh.pem

ca /tmp/openvpn/ca.crt

cert /tmp/openvpn/cert.pem

key /tmp/openvpn/key.pem

# Only use crl-verify if you are using the revoke list - otherwise leave it commented out

# crl-verify /tmp/openvpn/ca.crl

# management parameter allows DD-WRT's OpenVPN Status web page to access the server's management port

# port must be 5001 for scripts embedded in firmware to work

management localhost 16



lol i saw the management was point to port 14 on the cat /tmp/openvpn/openvpn.conf
I change the
management localhost 16
to 14 and its working now

Thank you very MUCH
fvargasfrank
DD-WRT Novice


Joined: 31 Jan 2016
Posts: 10

PostPosted: Sat Feb 06, 2016 23:24    Post subject: Reply with quote
Here is how it looks now with my android connected to it

Im happy now lol Laughing Laughing

Again thank you very much
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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