OpenWrt Forum Archive

Topic: PPTPD and iptables

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I've switched from dd-wrt to openwrt because it seemed to be more flexible and robust.
but now i must learn that for example enabling a pptp-server (so i could connect from away to my lan) is very complicated. in ddwrt it's just two clicks.
can someone help me? i think in openwrt something like this is missing in ip-up in pptpd:

#!/bin/sh
/usr/sbin/iptables -I FORWARD -i $1 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1353: -j TCPMSS --set-mss 1352
/usr/sbin/iptables -I INPUT -i $1 -j ACCEPT
/usr/sbin/iptables -I FORWARD -i $1 -j ACCEPT

which is what is in ddwrt pptpd if-up. i have no clue what above lines mean. so maybe somebody could build an pptppd package that just works?
thnaks

The discussion might have continued from here.