Hello,
   
     Please see the following picture:
   
  http://www.wilson-kwok.com/pptp.jpg
   
   I used one to one NAT from 210.0.0.1 to 192.168.0.2 for web server, 
  and then use port forwarding from 210.0.0.1 to 192.168.0.3 for pptp server,
  but I cannot connect from my home to pptp server.
   
  Here is the nat file:
   
  210.0.0.1   eth0:2          192.168.0.2
   
  Here is the rules file:
   
  HTTP/ACCEPT   net    loc:192.168.0.2

  DNAT          net   loc:192.168.0.3  tcp      1723           -    210.0.0.1
DNAT          net   loc:192.168.0.3  47      -           -    210.0.0.1
   
  Here is the pptp log:
   
  Jun 5 19:54:54 test pppd[5367]: Plugin radius.so loaded. 
Jun 5 19:54:54 test pppd[5367]: RADIUS plugin initialized. 
Jun 5 19:54:54 test pppd[5367]: pppd 2.4.4 started by root, uid 0 
Jun 5 19:54:54 test kernel: divert: not allocating divert_blk for non-ethernet 
device ppp0 
Jun 5 19:54:54 test pppd[5367]: Using interface ppp0 
Jun 5 19:54:54 test pppd[5367]: Connect: ppp0 <--> /dev/pts/0 
Jun 5 19:55:24 test pppd[5367]: LCP: timeout sending Config-Requests 
Jun 5 19:55:31 test pptpd[5366]: CTRL: Reaping child PPP[5367] 
Jun 5 19:55:31 test pppd[5367]: Modem hangup 
Jun 5 19:55:31 test pppd[5367]: Connection terminated. 
Jun 5 19:55:31 test kernel: divert: no divert_blk to free, ppp0 not ethernet 
Jun 5 19:55:31 test pppd[5367]: Exit. 

   
  
 

       
---------------------------------
現在你可輕易阻擋垃圾郵件,立即使用Yahoo! Mail  你就會相信!
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to