Start with all parameters from command line. ![]() Or start the server with all necessary parameters from command ~ # openvpn -proto udp -dev tun -topology p2p -ifconfig 172.31.200.1 172.31.200.2 -secret temp-p2p-network.key -comp-lzo -keepalive 10 60 -cipher AES-256-CBC -ping-timer-rem # These settings ensure that OpenVPN reconnects when the partner changes his IP AddressĪnd start the openvpn ~ # openvpn -config /root/p2p.ovpn On the server create a config file /root/p2p.ovpn This is used for en- and decrypt the traffic between the ~ # openvpn -genkey -secret ~/temp-p2p-network.key -keysize 2048Ĭopy the key temp-p2p-network.key to root’s home directory on both systems. This post describes how to setup an adhoc openvpn connection between two linux hosts.įirst install openvpn on both ~ # apt-get install openvpn
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |