Erich Titl <erich.titl <at> think.ch> writes:
> On the clients you need a route to 192.168.1.0/24 which is inserted by
> the server at connection time.
>
I still didnt get it working.
The network layout is as follows;
VPN SERVER ROUTER: VPNCLIENT
+------------------+ +------------------+ +-----+ +-----------+
| VPN 192.168.2.1 |_____| LAN: 192.168.1.3 |_____| ISP |___|192.168.2.6|
| LAN 192.168.1.2 | | WAN: 80.x.x.x | | | | |
+------------------+ +------------------+ +-----+ +-----------+
| | | |
CLIENTS
+------------------+
| LAN 192.168.1.x |
+------------------+
Routing table on the server:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.2 * 255.255.255.255 UH 0 0 0 tun0
192.168.2.0 192.168.2.2 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 192.168.1.3 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.1.3 0.0.0.0 UG 0 0 0 eth0
Routing table on the client
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 80.127.225.26 80.127.225.26 1
80.127.225.26 255.255.255.255 127.0.0.1 127.0.0.1 1
80.255.255.255 255.255.255.255 80.127.225.26 80.127.225.26 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.2.0 255.255.255.0 192.168.2.5 192.168.2.6 1
192.168.2.4 255.255.255.252 192.168.2.6 192.168.2.6 1
192.168.2.6 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.2.255 255.255.255.255 192.168.2.6 192.168.2.6 1
194.109.30.11 255.255.255.255 80.127.225.26 80.127.225.26 1
224.0.0.0 224.0.0.0 80.127.225.26 80.127.225.26 1
224.0.0.0 224.0.0.0 192.168.2.6 192.168.2.6 1
255.255.255.255 255.255.255.255 192.168.2.6 2 1
Default Gateway: 80.127.225.26
> On the clients you need a route to 192.168.1.0/24 which is inserted by
the server at connection time.
I dont see this rule?
Whats the correct config to let this vpn network work with the abilty to
connect from my vpn clients to all the machines in the local network?
Joshua
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|