What's new

Configure Asuswrt Merlin OpenVPN-Server for access with VPN Port-Forwarding

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Wolfschiesst

Occasional Visitor
Dear @all,

my Asus Router RT-AC88U - flashed with current Merlin Beta-Firmware 380.67_alpha2 - is configured to run as VPN OpenVPN-Client. The VPN-client connection via the router is running successfully.

up.gif


In addition to that, I'd like to use the OpenVPN-server of the above mentioned router, to enable secure remote access to my home network (NAS, Samba-Shares, Printers etc.) - from the road (when I'm not at home) - using my mobile phone or my Laptop.

So I startet with the configuration of OpenVPN-server 1.
Sample for Advanced Config: see attached image


After saving the configuration, I startet the router's export and imported the generated *.ovpn-file to my client devices OpenVPN-installation.

Then I configured an open port using the "remote port forwarding"-feature of my VPN's providers client-backend, in order to enable TCP/UDP-Traffic to my local OpenVPN-Server port (e.g. 1149) using a predifined ddns-alias (like XXXXX.vpnprovider.org). So for example vpnproviders port 50000 directs to local port 1149 (TCP + UDP).

Unfortunaltely I got now stuck with building up any connection from the clients.

The DNS-resolution of my VPN-provider works correctly (client receives correct OpenVPN-Server IP), but the OpenVPN-Client (version 1.1.1 build 212 - 64-bit on iPhone)) ends with connection_timeout.


iPhone's OpenVPN-client Log-File (anonymized):

Code:
2017-06-11 02:07:16 ----- OpenVPN Start -----
OpenVPN core 3.1.2 ios arm64 64-bit built on Dec  5 2016 12:50:25
2017-06-11 02:07:16 Frame=512/2048/512 mssfix-ctrl=1250
2017-06-11 02:07:16 UNUSED OPTIONS
2017-06-11 02:07:16 EVENT: RESOLVE
2017-06-11 02:07:16 Contacting 46.165.XXX.XXX:YYYYY via TCP
2017-06-11 02:07:16 EVENT: WAIT
2017-06-11 02:07:16 SetTunnelSocket returned 1
2017-06-11 02:07:16 Transport Error: TCP connect error on 'XXXXXX.vpnprovider.org:YYYYY' (46.165.XXX.XXX:YYYYY): Connection refused
2017-06-11 02:07:16 Client terminated, restarting in 2000 ms...
2017-06-11 02:07:17 NET Internet:ReachableViaWWAN/WR t------
2017-06-11 02:07:18 EVENT: RECONNECTING
2017-06-11 02:07:18 Contacting 46.165.XXX.XXX:YYYYY via TCP
2017-06-11 02:07:18 EVENT: WAIT
2017-06-11 02:07:18 SetTunnelSocket returned 1
2017-06-11 02:07:19 Transport Error: TCP connect error on 'XXXXXX.vpnprovider.org:YYYYY' (46.165.XXX.XXX:YYYYY): Connection refused
2017-06-11 02:07:19 Client terminated, restarting in 2000 ms...

Is there anything more I need to configure on the router or the client? Maybe a firewall forwarding problem (if this could be the problem, what do I need to do)?

Since I do not have to forward to a specific client in my home lan (that is running a OpenVPN-server), but the main router itself is the OpenVPN server, I didn't find a suitable configuration example, yet.

I would be very grateful for tips or helping hints.

cool.png
 

Attachments

  • Asuswrt Merlin_Config OVPN Server.pdf
    149 KB · Views: 406
  • Asuswrt Merlin_Config OVPN Server.JPG
    Asuswrt Merlin_Config OVPN Server.JPG
    39.7 KB · Views: 804

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top