Hello!
I'm running OpenVPN on my raspberry, that is in my LAN.
The raspberry IP is 10.212.1.60 and the gw is 10.212.1.1
The OpenVPN on the raspberry is up and running, in fact I can connect from my iphone/ipad to the openvpn raspberry without problem.
The problem is that I cannot access other devices on my LAN either surf the internet from my LAN.
So my goal is to connect the the raspberry (with my iphone, ipad or other client) redirect ALL traffic to my LAN, be able to exit to internet via my gatway and reach other devices on my LAN.
On my LAN I have also a DHCP server so I can get the IP from my DHCP if needed.
Here's the actual config files.
I need some help in the config files and also in configuring the routing (if needed) on the raspberry.
Thank you
------------- server.conf----------------
port 1194
proto udp
dev tun
ca easy-rsa/keys/ca.crt
cert easy-rsa/keys/raspberrypi.crt
key easy-rsa/keys/raspberrypi.key
dh easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
--------------------------------------------
------------------client conf -----------------
client
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-----END PRIVATE KEY-----
</key>
ns-cert-type server
comp-lzo
verb 3
---------------------------------------------