|
|
Phil Burrow schrieb:
Martin Müller - Rudolf Hausstein OHG wrote: I have tried to change this, but with no success. Cant figure out the right syntax.
So I changed my second LAN to your suggestion. But it wasnt working (like 10.8.0.0). Cant reach the Server-LAN from the Client-Lan. So what I think is, that the problem belongs to the networkmask. I changed my Client-LAN to 192.168.200.0 #/etc/openvpn/server.conf route 192.168.200.0 255.255.255.0 push "route 192.168.100.0 255.255.255.0" Here again, I put away the line 'push "route 192.168.200.0 255.255.255.0" ' because when I use this, the Clients of 192.168.200.0/24 cant reach 192.168.200.99. #/etc/openvpn/ccd/test iroute 192.168.200.0 255.255.255.0 route on the client with tun0 down: Ziel Router Genmask Flags Metric Ref Use Iface 83.64.124.96 0.0.0.0 255.255.255.240 U 0 0 0 eth1 192.168.200.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 83.64.124.97 0.0.0.0 UG 0 0 0 eth1 route in the client with tun0 up: Ziel Router Genmask Flags Metric Ref Use Iface 192.168.123.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 83.64.124.96 0.0.0.0 255.255.255.240 U 0 0 0 eth1 192.168.100.0 192.168.123.5 255.255.255.0 UG 0 0 0 tun0 192.168.200.0 192.168.123.5 255.255.255.0 UG 0 0 0 tun0 192.168.200.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.123.0 192.168.123.5 255.255.255.0 UG 0 0 0 tun0 0.0.0.0 83.64.124.97 0.0.0.0 UG 0 0 0 eth1
Martin
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-06/msg00000.html on line 260 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-06/msg00000.html on line 260 |