[DIY] Configure OpenVPN on newer releases DD-WRT (GUI Style)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
patmtp35
DD-WRT Novice


Joined: 19 Mar 2010
Posts: 41

PostPosted: Wed Jan 04, 2012 21:38    Post subject: Reply with quote
hum

ihave try this tuto but, we can't apply it on last firmware as some option are no more existing as you could see on the attachement file.

on the screen shot we have probably the same option but from arethusa we don't have all certificate



ddwrt.png
 Description:
 Filesize:  47.54 KB
 Viewed:  18885 Time(s)

ddwrt.png


Sponsor
patmtp35
DD-WRT Novice


Joined: 19 Mar 2010
Posts: 41

PostPosted: Thu Jan 05, 2012 22:55    Post subject: Reply with quote
i found a way to have it works , i adapt a tuto and write this post:

http://bb.s6n.org/viewtopic.php?id=495
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Sat Jan 07, 2012 16:24    Post subject: Reply with quote
i want to connect as a client
Where should i enter "Public Client Cert", "Private Client Key" and "TLS Auth";

thanks
patmtp35
DD-WRT Novice


Joined: 19 Mar 2010
Posts: 41

PostPosted: Sat Jan 07, 2012 16:32    Post subject: Reply with quote
vagder wrote:
i want to connect as a client
Where should i enter "Public Client Cert", "Private Client Key" and "TLS Auth";

thanks


you can't you hav to try my how to to connect as client but with script solution
vagder
DD-WRT User


Joined: 08 Mar 2008
Posts: 91

PostPosted: Sat Jan 07, 2012 16:53    Post subject: Reply with quote
so, why this version of GUI is better than the old one?
Evil or Very Mad
somms
DD-WRT User


Joined: 21 Mar 2008
Posts: 261

PostPosted: Sun Jan 08, 2012 18:43    Post subject: Reply with quote
vagder wrote:
so, why this version of GUI is better than the old one?
Evil or Very Mad


In the latest DD-WRT builds, for me this means no more having to put in the Startup script:

Code:
openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up


and no more Firewall script either:

Code:
iptables -I INPUT -p udp --dport 1194 -j ACCEPT


Everything just works now from the improved GUI and is very simple...
patmtp35
DD-WRT Novice


Joined: 19 Mar 2010
Posts: 41

PostPosted: Sun Jan 08, 2012 19:06    Post subject: Reply with quote
somms wrote:
vagder wrote:
so, why this version of GUI is better than the old one?
Evil or Very Mad


In the latest DD-WRT builds, for me this means no more having to put in the Startup script:

Code:
openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up


and no more Firewall script either:

Code:
iptables -I INPUT -p udp --dport 1194 -j ACCEPT


Everything just works now from the improved GUI and is very simple...


it seems but it's not so simple if you do it with arethusa i m happy !!
miles267
DD-WRT Novice


Joined: 13 Jan 2012
Posts: 1

PostPosted: Fri Jan 13, 2012 17:31    Post subject: Reply with quote
Is it possible to configure DD-WRT to act as an OpenVPN CLIENT at this time?

Assuming you already have an active OpenVPN SERVER configured and operational?
patmtp35
DD-WRT Novice


Joined: 19 Mar 2010
Posts: 41

PostPosted: Fri Jan 13, 2012 19:11    Post subject: Reply with quote
miles267 wrote:
Is it possible to configure DD-WRT to act as an OpenVPN CLIENT at this time?

Assuming you already have an active OpenVPN SERVER configured and operational?


yes i do it using arethusa server
walk
DD-WRT Novice


Joined: 23 Feb 2012
Posts: 1

PostPosted: Thu Feb 23, 2012 18:07    Post subject: Re: [DIY] Configure OpenVPN on newer releases DD-WRT (GUI St Reply with quote
i have a silly question, but where can i get this version of the firmware? when i look at the database on dd-wrt i can only find the version 14896 for my wrt54 gs v1.1....
pbgarcol
DD-WRT Novice


Joined: 20 Feb 2012
Posts: 27

PostPosted: Tue Feb 28, 2012 19:51    Post subject: Reply with quote
somms wrote:
...

In the latest DD-WRT builds, for me this means no more having to put in the Startup script:

Code:
openvpn --mktun --dev tap0
brctl addif br0 tap0
ifconfig tap0 0.0.0.0 promisc up


and no more Firewall script either:

Code:
iptables -I INPUT -p udp --dport 1194 -j ACCEPT


Everything just works now from the improved GUI and is very simple...

Hi Smile
I have a couple of questions about this :

1) if I want to channel all my LAN traffic through the VPN, the Daemon mode must be used and not the client mode?
2) there's no rules at all in the management console, the GUI takes all in charge?

on Arethusa site, they give the following instructions :

Go to Administration -> Commands.

Enter these 3 lines in "Commands":
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
iptables -A POSTROUTING -t nat -o tun0 -j MASQUERADE

Click on "Save Firewall".
d33pa
DD-WRT Novice


Joined: 03 Dec 2010
Posts: 4

PostPosted: Fri Mar 09, 2012 8:08    Post subject: Reply with quote
dear op,

can you post a client config file that works with your GUI setup on post#1?
At my wits end here. TIA
joshd
DD-WRT Novice


Joined: 23 Jul 2012
Posts: 2

PostPosted: Mon Jul 23, 2012 23:52    Post subject: Reply with quote
I too am having terrible luck getting a client config file to work with the settings mentioned by the OP.

Anybody have any luck with this configuration and willing to post up a copy of their client config file? Obviously after you remove/change sensitive info.

Thanks.
MumboJumbo
DD-WRT Novice


Joined: 22 Oct 2012
Posts: 2

PostPosted: Mon Oct 22, 2012 10:30    Post subject: OpenVPN simple Setup Guide Reply with quote
Just to clarify, this documentation is "AS IS" and is only an indication as to "what to-do" when setting up OpenVPN on newer releases of dd-wrt.

Remember, that Server Settings must be used on client side!

Example: LZO Compression server side = Yes
Then Client side = LZO Compression = Yes.

Enable client to client, if you need clients to see eachother, and remember that the VPN Ip scope must be able to handle the amount of clients.

Server Config:


Client Config:



OpenVPNClientConf.jpg
 Description:
Client Config
 Filesize:  112.76 KB
 Viewed:  16390 Time(s)

OpenVPNClientConf.jpg



OpenVPNServerConf.jpg
 Description:
Server Config
 Filesize:  139.64 KB
 Viewed:  16390 Time(s)

OpenVPNServerConf.jpg


MumboJumbo
DD-WRT Novice


Joined: 22 Oct 2012
Posts: 2

PostPosted: Mon Oct 22, 2012 10:33    Post subject: Re: OpenVPN simple Setup Guide Reply with quote
MumboJumbo wrote:
Just to clarify, this documentation is "AS IS" and is only an indication as to "what to-do" when setting up OpenVPN on newer releases of dd-wrt.

Remember, that Server Settings must be used on client side!

Example: LZO Compression server side = Yes
Then Client side = LZO Compression = Yes.

Enable client to client, if you need clients to see eachother, and remember that the VPN Ip scope must be able to handle the amount of clients.

Server Config:


Client Config:


If your setup is running, and suddenly stops, after changing some settings. Use SSH to the router and look at the log file, for errors as these might not be shown on the WebGUI

Sometimes, the apply settings, messes up keys/certificates and nothing shows on Status page, try re-applying the keys and reload.

//Mumbo
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware 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 can attach files in this forum
You can download files in this forum