Networking Forums

Networking Forums > Computer Networking > Linux Networking > vpn can connect, can't reach hosts

Reply
Thread Tools Display Modes

vpn can connect, can't reach hosts

 
 
robert
Guest
Posts: n/a

 
      08-18-2006, 12:06 PM
Hi all, I'm a vpn newbie. I'm using pptpconfig to connect
via suse 9.3 - which seems to use the standard pptp that comes with the
disto, and I get this message:

Using interface ppp0pptpconfig: monitoring interface ppp0

Connect: ppp0 <--> /dev/pts/4
MPPE 128-bit stateless compression enabled
local IP address 192.168.2.106
remote IP address 192.168.2.101
pptpconfig: pppd process exit status 0 (started)
ip route replace 24.199.x.x via 200.157.x.x dev eth0 src 200.157.x.x
pptpconfig: routes added to remote networks
pptpconfig: usepeerdns was set, but /{var/run,etc}/ppp/resolv.conf was
not readable
pptpconfig: connected

ifconfig shows:

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.2.106 P-t-P:192.168.2.101
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:996 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:210 (210.0 b) TX bytes:102 (102.0 b)

However, I cannot ping or nmap host 192.168.2.93 , which is indeed a
live host. A fellow windows user says he can ping it. One detail: I
did not supply a domain name as I don't know it yet - waiting for an
answer - but perhaps that is just for authenctication which I
apearently can do. The vpn server is most likely windows - everything
this company does is.

Please help!
Robert

 
Reply With Quote
 
 
 
 
Jacob Bunk Nielsen
Guest
Posts: n/a

 
      08-18-2006, 01:18 PM
"robert" <(E-Mail Removed)> writes:

> pptpconfig: routes added to remote networks


So what does the output of '/sbin/route -n' look like after
connecting?

--
Jacob
 
Reply With Quote
 
robert
Guest
Posts: n/a

 
      08-18-2006, 01:24 PM
Thanks for the reply Jacob:

/root> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
24.199.166.57 10.101.44.1 255.255.255.255 UGH 0 0 0
eth0
192.168.2.101 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
10.101.40.0 0.0.0.0 255.255.248.0 U 0 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 10.101.44.1 0.0.0.0 UG 0 0 0
eth0

Where 10.101.44.1 is the local non-vpn gateway.

Thanks!
Robert

Jacob Bunk Nielsen escreveu:

> "robert" <(E-Mail Removed)> writes:
>
> > pptpconfig: routes added to remote networks

>
> So what does the output of '/sbin/route -n' look like after
> connecting?
>
> --
> Jacob


 
Reply With Quote
 
robert
Guest
Posts: n/a

 
      08-18-2006, 05:33 PM

robert escreveu:

> Thanks for the reply Jacob:
>
> /root> /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 24.199.166.57 10.101.44.1 255.255.255.255 UGH 0 0 0
> eth0
> 192.168.2.101 0.0.0.0 255.255.255.255 UH 0 0 0
> ppp0
> 10.101.40.0 0.0.0.0 255.255.248.0 U 0 0 0
> eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
> eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
> 0.0.0.0 10.101.44.1 0.0.0.0 UG 0 0 0
> eth0
>
> Where 10.101.44.1 is the local non-vpn gateway.
>
> Thanks!
> Robert
>
> Jacob Bunk Nielsen escreveu:
>
> > "robert" <(E-Mail Removed)> writes:
> >
> > > pptpconfig: routes added to remote networks

> >
> > So what does the output of '/sbin/route -n' look like after
> > connecting?
> >
> > --
> > Jacob


Yes, I needed to change the routing and then everthing worked:

route del default gw 10.101.45.1
route add default gw 192.168.2.101

Thanks,
Robert

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connect to shared folder via hosts file John A Grandy Windows Networking 12 11-11-2008 03:15 PM
iptables: allowing only listed hosts to connect to a port Mark Hobley Linux Networking 15 07-05-2008 10:08 AM
hosts.deny and hosts.allow problem dan Linux Networking 3 06-15-2005 07:26 PM
RRAS Win2003: Cannot reach public IP reserved hosts behind our NAT =?Utf-8?B?Tmljaw==?= Windows Networking 4 08-02-2004 02:22 PM
out of reach for bb lob_on Broadband 4 08-21-2003 01:05 PM



1 2 3 4 5 6 7 8 9 10 11