|
|
> Hello All, > > I am a NewBie to openvpn and Tunnel, But i have know how of Networking. > > I want to setup a tunnel between two linux boxes. > Scenario: > Box 1 : Redhat 7.3 machine which is a webhosting server with a Static IP. > Box 2 : Redhat 9.0 machine which is on a DSL connection and a Dynamic Ip. > > I have compiled openvpn without any compression, I also compiled vTun and > both are on Box1 i haven't done anything on the Redhat 9.0 box. > > Can Anyone please put me on the correct path, Any howto is available. I have > googled and also went to the openvpn site but that how is out of my head. If > any one can please help me. I have compiled openvpn and vtun on both the Machines Now I have a question please any body anwser this: Box 1 Ip Address : 66.xxx.xxxx.124/127 this is Static pool of IP Box 2 Ip Address : 192.168.1.101 (local) and DSL(24.xxx.xxx.10 this is Dynamic) I have use the SSH Keys for the same and also configured for Passwordless Authentication. These are my openvpn.conf files Box 1 ======== dev tun port 5000 #comp-lzo #ping 15 verb 3 #shaper 1000 remote 24.xxx.xxx.145 ifconfig 66.xxx.xxx.123 66.xxx.xxx.124 #up /home/openvpn/bin/ip-up.sh #down /home/openvpn/bin/ip-down.sh #Using Pre-Shared Secret Key. secret /root/certificates/temp.key Box 2 ============== dev tun port 5000 #comp-lzo #ping 15 verb 3 #shaper 1000 remote 66.xxx.xxx.123 ifconfig 192.168.1.101 192.168.1.102 #up /home/openvpn/bin/ip-up.sh #down /home/openvpn/bin/ip-down.sh #Using Pre-Shared Secret Key. secret /root/certificates/temp.key The above example is found from Google and from openvpn site. I don;t know what these two file should contain i dont have them and that is why they are commented. #up /home/openvpn/bin/ip-up.sh #down /home/openvpn/bin/ip-down.sh Now when i start openvpn --config openvpn.conf from both the machines They both goes to the halt stage and nothing happens after. I just want to know what ips should and the seuquence i have a confusion there . Can anybody please correct it the conf file by replacing them to the Right place. Regards, Tina. ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |