On August 22, 2013 12:00:12 AM Jan Just Keijser <[email protected]> wrote: > Daniel L. Miller wrote: > > Hi all. I've been using bridged vpn for a while - now trying to get > routed working. > > > > My setup: > > Server side router (mikrotik) LAN IP 192.168.0.1 > > OpenVPN server (ubuntu) LAN IP 192.168.0.3 > > OpenVPN pool 10.59.97.0/24 > > Android client 10.59.97.6 > > > > I can connect and communicate between client and server. But I cannot > reach other LAN hosts from the client or vice versa. On the router I added > 10.59.97.0/24 via 192.168.0.3 source 192.168.0.1. I can ping 10.59.97.1 > from the router - but not 10.59.97.6. > > > without config files it is impossible to tell what is happening; but most > likely you're missing return routes (for the VPN and for the LANs)
Quite right, sorry. Client config: client dev tun proto udp remote myserver myport ca ca.crt cert wheeljack.crt key wheeljack.key tls-auth ta.key 1 ns-cert-type server comp-lzo replay-window 72 30 resolv-retry infinite verb 3 nobind keepalive 10 60 ping-timer-rem persist-key script-security 2 Server: server 10.59.97.0 255.255.255.0 local 192.168.0.3 port 1196 proto udp dev tun ifconfig-pool-persist /etc/openvpn/amfes-tun-ip.txt status amfes-tun.log log-append /var/log/openvpn/amfes-tun.log client-config-dir /etc/openvpn/ccd tls-server ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/server.crt key /etc/openvpn/easy-rsa/keys/server.key # This file should be kept secret dh /etc/openvpn/easy-rsa/keys/dh1024.pem tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0 keepalive 10 120 persist-key verb 3 replay-window 72 30 comp-lzo tun-mtu 1500 client-to-client push "route 192.168.0.0 255.255.255.0 -- Daniel ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
