dominatorstang
Occasional Visitor
Tested using :
-Samsung Galaxy Note II
-RT-AC66U (Asuswrt-Merlin 3.0.0.4.372.30_2)
-RT-AC56U (Asuswrt-Merlin 3.0.0.4.372.30_2)
You will need to have already done the following before you start:
-have followed the Easy-RSA instructions for building your keys and certificates
-your Asus router flashed with Asuswrt-Merlin
Server
Open your router interface using a web browser
Click VPN Server on the left under advanced settings
Go to the OpenVPN Server Settings tab
now update your settings to match the below
Select server instance: Server1
Service state : off (leave this off until later down)
Start with WAN : Yes (this also allows automatic starting after reboot)
Interface Type : TUN
Protocol : TCP
Port : 1194
Firewall : Automatic
Authorization Mode : TLS
Extra HMAC authorization : Disabled
VPN Subnet / Netmask : 10.8.0.0 255.255.255.0
Advanced Settings
Poll Interval: 0
Push LAN to clients : Yes
Direct clients to redirect Internet traffic :No
Respond to DNS: Yes
Advertise DNS to clients: Yes
Encryption cipher : BR-CBC (default works but better to just set it)
Compression : adaptive
TLS Renegotiation Time : -1
Manage Client-Specific Options: No (you can enable this if you have multi-clients and want then to cross talk)
click apply changes.
No click the switch at "Service state" so the server will start. Once it finishes then it should show a green "ON" at the switch to show it started fine.
Now for the android client
I did not have great success with the "official" openvpn client at first so I wrote this using "OpenVPN for android 0.5.38". A post below by "The Chief" explains using the official OpenVPN app for android and I have also confirmed it working with UDP
Once "OpenVPN for Android 0.5.38" is downloaded you will also need to create a pkcs12 file with the easy-rsa if you have not already ( the android app also lets you use key files and certificates individually but I had some quarks so I just went with the pkcs12 file.
I used the info from this site /https://airvpn.org/topic/8795-pkcs12-file-generation-android-tutorial/ to create the pkcs12 file needed.
the android program is pretty easy to use, you just enter the ip address or Domain Name and select the pkcs12file you created, then connect.
I originally just zipped through the android side of things for testing of my server and not to actually use it so when you go through the setup, if you find something that I missed then please let me know so I can update this post.
Thanks
-Samsung Galaxy Note II
-RT-AC66U (Asuswrt-Merlin 3.0.0.4.372.30_2)
-RT-AC56U (Asuswrt-Merlin 3.0.0.4.372.30_2)
You will need to have already done the following before you start:
-have followed the Easy-RSA instructions for building your keys and certificates
-your Asus router flashed with Asuswrt-Merlin
Server
Open your router interface using a web browser
Click VPN Server on the left under advanced settings
Go to the OpenVPN Server Settings tab
now update your settings to match the below
Select server instance: Server1
Service state : off (leave this off until later down)
Start with WAN : Yes (this also allows automatic starting after reboot)
Interface Type : TUN
Protocol : TCP
Port : 1194
Firewall : Automatic
Authorization Mode : TLS
Extra HMAC authorization : Disabled
VPN Subnet / Netmask : 10.8.0.0 255.255.255.0
Advanced Settings
Poll Interval: 0
Push LAN to clients : Yes
Direct clients to redirect Internet traffic :No
Respond to DNS: Yes
Advertise DNS to clients: Yes
Encryption cipher : BR-CBC (default works but better to just set it)
Compression : adaptive
TLS Renegotiation Time : -1
Manage Client-Specific Options: No (you can enable this if you have multi-clients and want then to cross talk)
click apply changes.
No click the switch at "Service state" so the server will start. Once it finishes then it should show a green "ON" at the switch to show it started fine.
Now for the android client
I did not have great success with the "official" openvpn client at first so I wrote this using "OpenVPN for android 0.5.38". A post below by "The Chief" explains using the official OpenVPN app for android and I have also confirmed it working with UDP
Once "OpenVPN for Android 0.5.38" is downloaded you will also need to create a pkcs12 file with the easy-rsa if you have not already ( the android app also lets you use key files and certificates individually but I had some quarks so I just went with the pkcs12 file.
I used the info from this site /https://airvpn.org/topic/8795-pkcs12-file-generation-android-tutorial/ to create the pkcs12 file needed.
the android program is pretty easy to use, you just enter the ip address or Domain Name and select the pkcs12file you created, then connect.
I originally just zipped through the android side of things for testing of my server and not to actually use it so when you go through the setup, if you find something that I missed then please let me know so I can update this post.
Thanks
Last edited: