PPtP not connecting on Xiaomi Mi WiFi R3G
Username: Azfar Niaz
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2023
Supply the following if possible:
- Device problem occurs on : Xiaomi Mi WiFi R3G (
https://openwrt.org/toh/xiaomi/mir3g
)
- OpenWrt 18.06.1
Steps to reproduce:
1.opkg update
2.opkg install ppp-mod-pptp
3.opkg install kmod-nf-nathelper-extra
4.opkg install kmod-ipt-raw
5.disabled rebind attack protection from
DNS
and DHCP
6.added below custom rule on /etc/firewall.user
iptables -t raw -A OUTPUT -p tcp -m tcp --dport 1723 -j CT --helper pptp
7.setup the PPTP in the LUCI
8.reboot
Relevant Logs appearing repetitively:
Sun Dec 23 17:48:01 2018 daemon.notice pppd[22738]: pppd 2.4.7 started by root, uid 0
Sun Dec 23 17:48:02 2018 kern.info kernel: [ 1551.622787] pptp-
ISP
: renamed from ppp0
Sun Dec 23 17:48:02 2018 daemon.info pppd[22738]: Using interface pptp-
ISP
Sun Dec 23 17:48:02 2018 daemon.notice pppd[22738]: Connect: pptp-
ISP
←→ pptp (red.connect.net.pk)
Sun Dec 23 17:48:03 2018 daemon.notice pppd[22738]: CHAP authentication succeeded
Sun Dec 23 17:48:03 2018 daemon.notice pppd[22738]: Connection terminated.
Sun Dec 23 17:48:03 2018 daemon.warn pppd[22740]: read returned zero, peer has closed
Sun Dec 23 17:48:03 2018 daemon.warn pppd[22740]: read returned zero, peer has closed
Sun Dec 23 17:48:03 2018 daemon.info pppd[22738]: Exit.
Sun Dec 23 17:48:03 2018 daemon.notice netifd: Interface ‘
ISP
’ is now down
Sun Dec 23 17:48:03 2018 daemon.notice netifd: Interface ‘
ISP
’ is setting up now
Sun Dec 23 17:48:03 2018 daemon.info pppd[22998]: Plugin pptp.so loaded.
Sun Dec 23 17:48:03 2018 daemon.info pppd[22998]: PPTP plugin version 1.00
Sun Dec 23 17:48:03 2018 daemon.notice pppd[22998]: pppd 2.4.7 started by root, uid 0