How to setup VPN over reverse ssh tunnel using OpenWrt router?

0

I have TP-Link MR3020 with OpenWrt 15.05.1 with all goodware installed and I've been running reverse SSH tunnel (OpenSSH on both sides) to Amazon EC2 Ubuntu 14.04 instance and pptpd server on router. Router is on firewall-ed network and I want to access that network regardless of our present VPN (which is really unstable).

I have tried to tunnel 1723 manually and do classic PPTP but I can't tunnel GRE protocol successfully and I get error 619 after timeout.

What are my other options here? Can I try single TCP port tunnel with OpenVPN? Can I setup OpenWrt as a client and then connect myself to VPS (will I be able to reach other devices on network or just those on MR3020?). I just need to hear from experts what is possible so I become "one" with the network and I shouldn't have issue implementing it.

PS I have chosen PPTP because of this great article that shows how OpenVPN has really poor performance on low-end routers https://justus.berlin/2016/02/performance-of-tunneling-methods-in-openwrt/

Munsta

Posted 2016-10-09T21:31:15.123

Reputation: 1

Answers

-1

Make sure you installed GRE in OpenWRT. User this:

opkg install gre kmod-gre

Aman Juman

Posted 2016-10-09T21:31:15.123

Reputation: 1

2While this may answer the question, it would be a better answer if you could provide some explanation why it does so. – DavidPostill – 2017-07-29T15:35:32.067

Can you explain the "User this -a"? From review

– fixer1234 – 2017-07-29T19:05:13.563

It was a typo, edited. – Aman Juman – 2017-08-05T13:24:52.973