من برای تنظیمات iptable فایل زیر را اجرا کردم.
iptables -F
iptables -X
iptables -Z
# Allow all *** stuff
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p 47 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 1723 -j ACCEPT
iptables -A OUTPUT -p 47 -j ACCEPT
iptables -A FORWARD -i ppp0 -o eth0 -s 10.10.1.0/24 -m state --state NEW -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE

اما باز هم کاربر به اینترنت وصل نمی شود. محتوای /var/log/message


CTRL: Client 192.168.201.60 control connection started
Jun 2 21:06:48 localhost pptpd[11484]: CTRL: Starting call (launching pppd, opening GRE)
Jun 2 21:06:48 localhost pppd[11485]: Plugin radius.so loaded.
Jun 2 21:06:48 localhost pppd[11485]: RADIUS plugin initialized.
Jun 2 21:06:48 localhost pppd[11485]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Jun 2 21:06:48 localhost pppd[11485]: pppd 2.4.4 started by root, uid 0
Jun 2 21:06:48 localhost pppd[11485]: Using interface ppp0
Jun 2 21:06:48 localhost pppd[11485]: Connect: ppp0 <--> /dev/pts/4
Jun 2 21:06:51 localhost pptpd[11484]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Jun 2 21:06:52 localhost pppd[11485]: rc_avpair_gen: received unknown attribute 85 of length 4: 0x0000012C
Jun 2 21:06:52 localhost pppd[11485]: PAP peer authentication succeeded for hadad
Jun 2 21:06:52 localhost kernel: PPP Deflate Compression module registered
Jun 2 21:06:52 localhost pppd[11485]: Cannot determine ethernet address for proxy ARP
Jun 2 21:06:52 localhost pppd[11485]: local IP address 10.10.1.2
Jun 2 21:06:52 localhost pppd[11485]: remote IP address 10.10.1.10
Jun 2 21:35:16 localhost pppd[11485]: LCP terminated by peer (TM-5X2^@<M-Mt^@^@^@^@)
Jun 2 21:35:16 localhost pppd[11485]: rc_avpair_new: unknown attribute 48
Jun 2 21:35:16 localhost pppd[11485]: rc_avpair_new: unknown attribute 47
Jun 2 21:35:16 localhost pppd[11485]: Connect time 28.4 minutes.
Jun 2 21:35:16 localhost pppd[11485]: Sent 1171 bytes, received 6514 bytes.
Jun 2 21:35:16 localhost pppd[11485]: Modem hangup
Jun 2 21:35:16 localhost pppd[11485]: Connection terminated.
Jun 2 21:35:16 localhost pppd[11485]: Exit.

اشکال از کجاست؟