Hi,

 Where (which ip address) are your services (ssh, mail
and etc) hosted? As you may know this kind of problem
"No route to host" is related to IP layer. So, if you
can ping 192.168.0.1 successfully, you are probably
connecting a different ip address to access your
services.

 Take into account when you connect to your pptp
server you get a local ip address in private network
of that server and you won't be able to ping outside
world else through an specific route/nat on your
define gateway.

Regards,

--- 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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





 
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