Rasky, thanks for excellent tutorial. PPTP server is the only thing I'm missing ever since I switched from DD-WRT (I need PPTP pretty much only for iPhone)
However, I have an issue connecting, could you please help? I'm using PPPoE WAN connection - my DSL modem is in bridge mode. It almost seems like pppd daemon drops WAN connection every time PPTP tunnel is established. Here is short excerpt from the logs:
Jun 16 16:44:04 tomato daemon.info pptpd[1818]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Jun 16 16:44:04 tomato daemon.info pptpd[1818]: CTRL: Starting call (launching pppd, opening GRE)
Jun 16 16:44:04 tomato daemon.notice pppd[1819]: pppd 2.4.5 started by root, uid 0
Jun 16 16:44:04 tomato daemon.info pppd[1819]: Using interface ppp1
Jun 16 16:44:04 tomato daemon.notice pppd[1819]: Connect: ppp1 <—> /dev/pts/2
Jun 16 16:44:10 tomato daemon.notice pppd[1819]: MPPE 128-bit stateless compression enabled
Jun 16 16:44:13 tomato daemon.err pppd[1819]: Cannot determine ethernet address for proxy ARP
Jun 16 16:44:13 tomato daemon.notice pppd[1819]: local IP address 192.168.1.1
Jun 16 16:44:13 tomato daemon.notice pppd[1819]: remote IP address 192.168.1.20
Jun 16 16:44:13 tomato daemon.warn dnsmasq[1155]: no servers found in /etc/resolv.dnsmasq, will retry
Jun 16 16:44:13 tomato daemon.info dnsmasq[1155]: exiting on receipt of SIGTERM
Jun 16 16:44:15 tomato daemon.info dnsmasq[1836]: started, version 2.55 cachesize 1500
In fact, PPTP client on the iPhone continues to think it's connected to VPN server for some time, and then drops it. This is expected, since pppd on my router obtained new WAN IP. Any ideas what's going on?