Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help! Can't ping Linux server across VPN

Reply
Thread Tools Display Modes

Help! Can't ping Linux server across VPN

 
 
just4phun
Guest
Posts: n/a

 
      09-15-2006, 11:03 AM
I've set up a VPN and can access shared files on windoze machines
across the VPN. I can NOT access shares on a Linux box. I can't even
ping the linux box across the VPN. Iptables is turned off. I think I
must be overlooking something obvious. Any help would be appreciated.

My network configuration is as follows:

Qwest DSL comes into an Actiontec GT701-WG DSL modem. The DSL account
is set up with a block of 8 IP addresses (6x.3x.4x.224 through
6x.3x.4x.231 - 5 are user assignable). The modem is assiged the
"Reserved Gateway" WAN IP address of 6x.3x.4x.230, with a LAN IP of
192.168.0.1. From the DSL modem I go into a Linksys BEFVP41 VPN router
(WAN IP = 6x.3x.4x.229, LAN IP=192.168.0.66). I go from the router to a
hub. The Windoze machines (Dell Dimensions with XP Pro, IPs =
192.168.0.2xx) and the linux box (Tyan 2460 mobo, SMC1211TX LAN card,
Fedora core 4, running samba, IP = 192.168.0.11) are all plugged into
this same hub.

The other end of the VPN tunnel is a laptop across the street running
TheGreenBow VPN client. With everything up and running, the laptop can
connect to shared folders on the Windoze machines. The laptop (IP =
192.168.99.111) can ping the windoze machines (IP = 192.168.0.2xx)
across the VPN and the windoze machines can ping the laptop. The laptop
can not ping the linux box (IP = 192.168.0.11) and the linux box can
not ping the laptop. The windoze machines and the linux box can all
ping each other. The linux box can ping the BEFVP41 VPN router (IP =
192.168.0.66).

Am I missing some sort of fundamental thing I need to do with Linux in
order to use a VPN?

Thanks,

Jim

 
Reply With Quote
 
 
 
 
Christian Winter
Guest
Posts: n/a

 
      09-15-2006, 01:22 PM
just4phun wrote:
> I've set up a VPN and can access shared files on windoze machines
> across the VPN. I can NOT access shares on a Linux box. I can't even
> ping the linux box across the VPN. Iptables is turned off. I think I
> must be overlooking something obvious. Any help would be appreciated.
>
> My network configuration is as follows:
>
> Qwest DSL comes into an Actiontec GT701-WG DSL modem. The DSL account
> is set up with a block of 8 IP addresses (6x.3x.4x.224 through
> 6x.3x.4x.231 - 5 are user assignable). The modem is assiged the
> "Reserved Gateway" WAN IP address of 6x.3x.4x.230, with a LAN IP of
> 192.168.0.1. From the DSL modem I go into a Linksys BEFVP41 VPN router
> (WAN IP = 6x.3x.4x.229, LAN IP=192.168.0.66). I go from the router to a
> hub. The Windoze machines (Dell Dimensions with XP Pro, IPs =
> 192.168.0.2xx) and the linux box (Tyan 2460 mobo, SMC1211TX LAN card,
> Fedora core 4, running samba, IP = 192.168.0.11) are all plugged into
> this same hub.
>
> The other end of the VPN tunnel is a laptop across the street running
> TheGreenBow VPN client. With everything up and running, the laptop can
> connect to shared folders on the Windoze machines. The laptop (IP =
> 192.168.99.111) can ping the windoze machines (IP = 192.168.0.2xx)
> across the VPN and the windoze machines can ping the laptop. The laptop
> can not ping the linux box (IP = 192.168.0.11) and the linux box can
> not ping the laptop. The windoze machines and the linux box can all
> ping each other. The linux box can ping the BEFVP41 VPN router (IP =
> 192.168.0.66).
>
> Am I missing some sort of fundamental thing I need to do with Linux in
> order to use a VPN?


Yes, most probably routing. Does the the linux box have a route for
the 192.168.99.0/24 net (or a default route) that points to
192.168.0.1?

-Chris
 
Reply With Quote
 
just4phun
Guest
Posts: n/a

 
      09-15-2006, 06:45 PM
Thanks Chris. Ultimately, the laptop (and other laptops) will be
connecting from many different locations, so in the long run, it
wouldn't help to have a route to the 192.168.00.0/24 net. You're right
though, that I didn't set a default route that points to
192.168.0.1. Am I correct that I would set that as:

route add -net default gw 192.168.0.1 dev eth0

Also, do I need to do anything with the /etc/ipsec.conf file? I
assummed I didn't because the linux box is not actually acting as a VPN
client.

Thanks again,

Jim

Christian Winter wrote:
> just4phun wrote:
> >
> > Am I missing some sort of fundamental thing I need to do with Linux in
> > order to use a VPN?

>
> Yes, most probably routing. Does the the linux box have a route for
> the 192.168.99.0/24 net (or a default route) that points to
> 192.168.0.1?
>
> -Chris


 
Reply With Quote
 
just4phun
Guest
Posts: n/a

 
      09-15-2006, 07:40 PM
Correction:

> wouldn't help to have a route to the 192.168.00.0/24 net. You're right


I meant to type 192.168.99.0/24 above.

Also, should I be setting the default route to be the DSL modem, or the
VPN router?

 
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
Cannot ping server but server can ping workstations Jeff Windows Networking 3 07-06-2006 07:06 PM
Problem accessing Linux Server using Telnet from Windows 2000, though PING is working properly from both sides Sameer Linux Networking 2 04-17-2006 03:08 PM
Windows ping and Linux ping command? tom Linux Networking 5 11-10-2003 08:52 PM
Unable to ping linux server from different subnet. Paul Graves Linux Networking 1 07-20-2003 02:28 PM
Cannot access Linux Web Page or ping linux server from different subnet. Paul Graves Linux Networking 2 07-20-2003 08:39 AM



1 2 3 4 5 6 7 8 9 10 11