Dear Rahul,

As i have not worked with this product i cannot say
much about it, But may be these steps can help
1) Add default route to the host you use to connect
through the tunnel
2) On the gateway (linux) use following command to add
route
ip route add -net 192.169.0.0/24 via ppp0
3) Enable Proxy arp in linux by setting value of 1
echo 1 > /proc/net/ppp0/proxy_arp
4) In Iptables statement you used to masquerade
specify the network you wish to masq with the
interface specefication.

Some times it is recommended to recompile the iptables
package with library modules you use for Packet
compression.

Please let me know if it had made any difference at
all in your implementation

Regards

Vishwesh

--- Rahul Sexana <[EMAIL PROTECTED]> wrote:

>  Hi,
> I hv just setup a Poptop PPTP server with the help
> of one of my friend on my
> dedicated server in US which is having only an
> static ip  72.36.136.18.
> 
> My configurations are:-
> 
> [pptpd.conf]
> ppp /usr/sbin/pppd
> option /etc/ppp/options.pptpd
> debug
> logwtmp
> localip 192.168.0.1
> remoteip 192.168.0.10-20
> 
> [/etc/ppp/options.pptp]
> lock
> noauth
> refuse-eap
> refuse-chap
> refuse-mschap
> nobsdcomp
> nodeflate
> 
> [/etc/ppp/options.pptpd]
> name pptpd
> refuse-pap
> refuse-chap
> refuse-mschap
> require-mschap-v2
> require-mppe-128
> proxyarp
> lock
> nobsdcomp
> auth
> login
> 
> My iptables rules are:-
> 
> iptables -t filter -A INPUT -i ppp+ -j ACCEPT
> iptables -t filter -A INPUT -p tcp --dport 1723 -j
> ACCEPT
> iptables -t nat -A POSTROUTING -j MASQURADE
> 
> Now when i try to connect from a windows default
> pptp it connects
> successfully . My windows machine gets a ip
> 192.168.0.10 and my US dedicated
> server gets an ip of 192.168.0.1.
> I can ping successfully to 192.168.0.1.
> 
> My problem is this that when i try to access any of
> the service like ssh,
> telnet, or webmin or mail it shows "no route to
> host".
> 
> Do i need to add anything in my iptables..
> 
> My route table shows me
> 
> [EMAIL PROTECTED] ~]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask        
> Flags Metric Ref    Use
> Iface
> 192.168.0.10    0.0.0.0         255.255.255.255 UH  
>  0      0        0 ppp0
> 72.36.136.16    0.0.0.0         255.255.255.248 U   
>  0      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U   
>  0      0        0 eth0
> 0.0.0.0            72.36.136.17    0.0.0.0        
> UG    0      0        0
> eth0
> 
> 
> My /var/log/messages shows me this
> Aug 10 12:05:35 bighead pptpd[4110]: CTRL: Client
> 86.96.111.40 control
> connection started
> Aug 10 12:05:35 bighead pptpd[4110]: CTRL: Starting
> call (launching pppd,
> opening GRE)
> Aug 10 12:05:35 bighead pppd[4111]: Plugin
> /usr/lib/pptpd/pptpd-logwtmp.soloaded.
> Aug 10 12:05:35 bighead pppd[4111]: pppd 2.4.3
> started by root, uid 0
> Aug 10 12:05:36 bighead pppd[4111]: Using interface
> ppp0
> Aug 10 12:05:36 bighead pppd[4111]: Connect: ppp0
> <--> /dev/pts/1
> Aug 10 12:05:36 bighead pptpd[4110]: GRE: Bad
> checksum from pppd.
> Aug 10 12:05:39 bighead pptpd[4110]: CTRL: Ignored a
> SET LINK INFO packet
> with real ACCMs!
> Aug 10 12:05:42 bighead pppd[4111]: MPPE 128-bit
> stateless compression
> enabled
> Aug 10 12:05:45 bighead pppd[4111]: Cannot determine
> ethernet address for
> proxy ARP
> Aug 10 12:05:45 bighead pppd[4111]: local  IP
> address 192.168.0.1
> Aug 10 12:05:45 bighead pppd[4111]: remote IP
> address 192.168.0.10
> Aug 10 12:13:16 bighead pppd[4111]: Modem hangup
> Aug 10 12:13:16 bighead pppd[4111]: Connect time 7.6
> minutes.
> Aug 10 12:13:16 bighead pppd[4111]: Sent 1435 bytes,
> received 8643 bytes.
> Aug 10 12:13:16 bighead pppd[4111]: MPPE disabled
> Aug 10 12:13:16 bighead pppd[4111]: Connection
> terminated.
> Aug 10 12:13:16 bighead pppd[4111]: Exit.
> Aug 10 12:13:16 bighead pptpd[4110]: CTRL: Client
> 86.96.111.40 control
> connection finished
> 
> 
> Thanks in advance,
> 
> Rahul Sexana
> 



        
        
                
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dubailug/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to