[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Re: routing problem


  • Subject: [Openvpn-users] Re: routing problem
  • From: joshua <jsanten@xxxxxxxxx>
  • Date: Wed, 22 Jun 2005 09:58:30 +0000 (UTC)

Erich Titl <erich.titl <at> think.ch> writes:

> What is the function of that router? Please post a network diagram. It
> will help you and us understandig your problem.
>
The router is the internet gateway cq firewall (and the firewall rules are ok i 
checked them and even with the firewall turned off its not working).

Network
The ethernet device (lan) has an ip of 192.168.1.2 nm 255.255.255.0 gw 
192.168.1.3 for the local network. The tun device (vpn) has an ip of 192.168.2.1

The router lan adres is 192.168.1.3 nm 255.255.255.0. Which routes all traffic 
to the internet (wan ip 80.x.x.x)

All local clients have ip adresess of 192.168.1.x nm 255.255.255.0 gw 
192.168.1.3

> > 
> > The vpn clients are able to ping 192.168.2.1 (the ip of the vpn server) but 
not 
> > able to ping to 192.168.1.2 and none of the other machines in the local 
network.
> > 
> > ip_forward is set to 1 on the server.
> > 
> > in the server config file i put the following lines:
> > server 192.168.2.0 255.255.255.0
> > ifconfig-pool-persist ipp.txt
> > push "dhcp-option DNS 192.168.1.3"
> > push "dhcp-option DOMAIN jsanten.org"
> > push "route 192.168.2.0 255.255.255.0 192.168.1.2"
> 
> You are lacking a route to 192.168.1.0
how can i add that route correctly cos i tried that one too?:-(
i im not able to send the output of the route while im not at home now, but if 
u need them i can send them later on.

thx
Joshua


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users