Openvpn and routing problem
Hi,
I've been experimenting openvpn for the last 2 months and still i wasnt able to put it in live. Below are my problems:
SCENARIO 1:
1. We have existing LAN with ip address (10.0.5.x/24) and internet connection gateway (eth0 = 10.0.5.1), telco ip provided is (eth1= 61.x.x.x/29). Currently, the local ip addresses (10.0.5.x/24) can surf the internet and it looks working fine.
2. I can access the server 61.x.x.x/29 from my laptop connected to the internet.
Problem with the setup above:
1. How can i access the LAN (10.0.5.x/24) from outside like my computer.
What routing should i use to be able to access directly any machine with ip address 10.0.5.0/24?
SCENARIO 2:
I want to setup an openvpn server(which will eventually replace the gateway server 10.0.5.1) and with multiple clients. I was able to setup the keys of both server and client, but having problem on the routing part. I want to achive the following:
1. Openvpn client can:
a. access the openvpn server.
b. access the LAN.
Kindly help me on this as i'm getting tired of working lates on research how to implement this. Thank you very much and i appreciate any help.
Regards,
|