-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/08/13 11:43, Gert Doering wrote: > Hi, > > On Wed, Aug 21, 2013 at 06:10:20PM -0700, 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. >> >> What magic am I missing? > > From the config files, the routes should be there. > > So my guess is that IPv4 forwarding (router mode!) is not turned on > on the Ubuntu server. No idea how to correctly set this to be > automatically enabled at boot on Ubuntu, but for a quick test, look > at
In general on all Linux flavours, to make sysctl settings persistent edit /etc/sysctl.conf. If the key you're changing is missing in the file, just use what you used successfully on the command line. Normally the config syntax is the same as the output of the sysctl command. $ sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 1 - -- kind regards, David Sommerseth -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlIV4GwACgkQDC186MBRfroN6gCfcZCKFMHuG+1YjQHyfOXiOFqF V7kAn3DPJo8M+j7prIR62LkVtxtuzjDO =SNcP -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ 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
