Hi geeks,
I am setting up PPtP connection between Openwrt 19.07 Banana PI based board and Ubuntu 22 pc. Connection get established but after 5-6 sec connection reset itself and this goes in loop.
from Log on Ubuntu side I observed bytes sent but no bytes received back. On wireshark I observed following packets where call-clear request originates and connection get reestablished but do not settle. For recent connection I have made Ubuntu pc as server(192.168.1.10) and Openwrt router as client(192.168.2.11).
following is os details-
root@LEDE:/#
In addition to what @frollic said... other things to consider:
don't use this protocol. It's not secure as it is trivially easy to crack. Use a modern protocol such as Wireguard.
Also... with respect to what is currently running on your BPI-R2, it's not official OpenWrt...
It appears you are using firmware that is not from the official OpenWrt project.
When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.
Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).
If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.
Actually we are using banana PI with particular openwrt OS, it has been in the field , now client want to add PPtp VPN. I know its vulnerability.
Connection establishes but echo ping does not go through PPTP, which cause connection to reset, that is only issue. Openwrt has a section on this https://openwrt.org/docs/guide-user/services/vpn/pptp/client. I followed steps mentioned in this doc, but it could not be successful.
As we have established, this is a fork of OpenWrt, not firmware from the official project. This means that you need to ask the maintainers of that fork for help since theirs may have fundamental differences in behavior relative to official OpenWrt. Additionally, the version you have installed now is ancient and unsupported by the official project, which is why you are advised to upgrade to something more recent.
Hi,
I got it done, actually with LAN to LAN interface it does not work resets. I used LTE interface of modem and setup PPTP vpn with remote end with port forwarding on 1723 and 47 ports. It works.