發表文章

目前顯示的是 一月, 2016的文章

Tips: PPTP client on Openwrt

Besides from following the openwrt wiki PPTP client page, there are some extra tips required for making PPTP client work on openwrt.

Just like on normal linux distribution, special netfilter modules are required:
nf_nat_pptpnf_conntrack_pptpnf_conntrack_proto_gre On openwrt, you need to install 'kmod-nf-nathelper-extra' to get theses modules; opkg install kmod-nf-nathelper-extra
With this, you should be able to connect to PPTP server without problem.
After the connection, you sometimes get these error and the connection drops:
Sun Jan 24 19:13:57 2016 daemon.warn pppd[29657]: read returned zero, peer has closed Sun Jan 24 19:13:57 2016 daemon.warn pppd[29657]: read returned zero, peer has closed Sun Jan 24 19:14:17 2016 daemon.info pppd[29655]: Terminating on signal 15
Surprisingly, this is caused by MTU. Setting MTU to 1400 on LUCI fixed this.