OpenVPN KongMod Client Bridge mode AP

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Zew
DD-WRT User


Joined: 30 Jan 2011
Posts: 56

PostPosted: Tue Oct 01, 2013 20:39    Post subject: OpenVPN KongMod Client Bridge mode AP Reply with quote
Hey

Keep things short.
Following this guide..

http://www.dd-wrt.ca/wiki/index.php/OpenVPN

Got my keys created using openVPN 2.1.4 on a SUSE linux distro. Can moved all keys to my Asus RT-N16 DDWR server.

Running...
Router Name DD-WRT
Router Model Asus RT-N16
Firmware Version DD-WRT v24-sp2 (05/24/13) kingkong - build 21661M
Kernel Version
Linux 2.6.24.111 #481 Fri May 24 12:23:45 CEST 2013 mips

Now things get confusing when configuring the openVPN server via the Web GUI. The guide states
"There are default parameters that DD-WRT will always wite to the config file and which you cant change if you use the GUI server mode:

dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
keepalive 10 120
verb 4
mute 5
log-append /var/log/openvpn
writepid /var/run/openvpnd.pid
management 127.0.0.1 5002
management-log-cache 50
mtu-disc yes
topology subnet
client-config-dir /tmp/openvpn/ccd
script-security 2
ifconfig-pool-persist /tmp/openvpn/ip-pool 86400
fast-io
passtos"

does that mean I can't change these at all?
What port forwarding rules would I need to get this to work?

I already have a port forward rule to forward requests from internet port 443 to server on main router to point to my ddwrt box on port 443. This works as I was initially running my secure web site on this port. I have stopped the web service to open the port for openVPN. Any suggestions on how I would configure the GUI to get a VPN connection to work over port 443?

Why would it specify the DH and ca and all that stuff as default peramiter "if you use the GUI" and then the gui has textfields spaces asking for these? The tutorial is very confusing and doesn't explain things for people that need to configure it for a bit of a different deployment style. Not everyone using a DDWR box has it setup as the internet gateway...
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6818
Location: Romerike, Norway

PostPosted: Wed Oct 02, 2013 19:38    Post subject: Reply with quote
Openvpn uses port 1194
spanman
DD-WRT User


Joined: 27 Sep 2008
Posts: 446
Location: Port Of Spain

PostPosted: Wed Oct 02, 2013 19:52    Post subject: Reply with quote
Per Yngve Berg wrote:
Openvpn uses port 1194

By default yes but you can use any port you want.


Zew wrote:

Now things get confusing when configuring the openVPN server via the Web GUI.


Zew see if this post makes it a little clearer
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=147837

_________________
Buffalo WZR-600DHP - 23838
TP Link WDR3600 - 21676
Linksys WRT54G-TM - 12548 (NEWD Eko Mega)
Zew
DD-WRT User


Joined: 30 Jan 2011
Posts: 56

PostPosted: Wed Oct 02, 2013 21:33    Post subject: Reply with quote
Hey thanks for the link spanman. Will look into it, I was able to paste all my cert and key information into the GUI, and saved and applied the settings, And checke dmy proccess and saw an openvpn process running. So at least I know that it did start successfully. One thing at a time, I was able to set almost all the settings right in the GUI, even set it to listen on Port 443 via TCP. Slowly but surely I will get there. Thanks. I'll check later today to see if I can get a client to connect. I saw a site that showed me how to create a .opvn file for my iphone. I really hope it works. Will let ya know. Thanks again spanman!
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