I've
been trying to get this to work. with no luck. I've used the POM module which
fails everytime I try to patch my kernel 2.4.4 and up
no
luck even on a freshly downloaded kernel. other patches work but pptp does
not. I tried another patch which patched my 2.4.18 kernel
but
all my connections fail to make it to my server. I woudl love to talk to
at least one person who HAS gotten this to work.
Are you using the POM ip_conntrack_pptp module (or compiled into
kernel)?
I
am fairly sure that NAT of any type 'breaks' PPTP connections, and the above
module is needed for you to NAT the PPTP connections...
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 1723 -j DNAT --to 10.1.1.15
iptables -t nat -A PREROUTING -i ppp0 -p 47 -j DNAT --to 10.1.1.15