silmo wrote
i am able to ping from "pi vpn server" (192.168.188.68) to "pi vpn client" (192.168.1.60) and vice versa.
Well done.
silmo wrote
I understand i need some NAT config to vpn client ? What exactly is command and where write those
iptables:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
OpenVPN Community Edition Documentation
You will have to customise that to your environment.
silmo wrote
i want JUST those to get acces to internet through vpn pipe
iptables and block access to the VPN from other nodes.
silmo wrote
My lan2 router doesnt have ip route options :/ Do i have to configure my pivpn server nat too ?
You do not have to configure NAT on the server but you may find that easier.
Personally, I find using NAT complicates things but you don't have much choice at your client end.
You could install a better router or make the RPi the gateway (will require two real ethernets).