# # Sample OpenVPN configuration file for # home using a pre-shared static key. # # '#' or ';' may be used to delimit comments. # Use a dynamic tun device. # For Linux 2.2 or non-Linux OSes, # you may want to use an explicit # unit number such as "tun1". # OpenVPN also supports virtual # ethernet "tap" devices. dev tun # Our OpenVPN peer is the office gateway. remote KEENETIC-1.mykeenetic.ru # 10.1.0.2 is our local VPN endpoint (home). # 10.1.0.1 is our remote VPN endpoint (office). ifconfig 10.1.0.2 10.1.0.1 cipher AES-128-CBC # Our pre-shared static key # # 2048 bit OpenVPN static key # -----BEGIN OpenVPN Static key V1----- 06f461182497f1dbc422ccb8dd91e081 b97ab585187508a6273ef562423c7329 7bb2005f51620715baa6c2b6049004d9 8933c61e939bead15c2d130198ce2438 d4dc443ee4ea15b1cc2b7fe075c4dde2 bcf8bf1939385d9295f5b44774336449 ad611e635857b6479f048f5082da4817 186ca43cff7c59b8942b665b57851461 2739179c3f2b0a2c65a89a2cffe97183 de18ba4bae12bb40359f5581a67cfa00 7ff68c02dbf333bf67dbd640d0d28ba4 99bbf3063304a173ccaed7389d1f0553 ef239a6fde60665ea7540e22fad19262 8cff4ac27863ad386c529ccd5263e2bd 3cbebc829a26a5c9829446cebfa27a3a 618ba2f21afe9eda1663d0cff5b90021 -----END OpenVPN Static key V1----- # OpenVPN 2.0 uses UDP port 1194 by default # (official port assignment by iana.org 11/04). # OpenVPN 1.x uses UDP port 5000 by default. # Each OpenVPN tunnel must use # a different port number. # lport or rport can be used # to denote different ports # for local and remote. ; port 1194 # Downgrade UID and GID to # "nobody" after initialization # for extra security. ; user nobody ; group nobody # If you built OpenVPN with # LZO compression, uncomment # out the following line. ; comp-lzo # Send a UDP ping to remote once # every 15 seconds to keep # stateful firewall connection # alive. Uncomment this # out if you are using a stateful # firewall. ; ping 15 # Uncomment this section for a more reliable detection when a system # loses its connection. For example, dial-ups or laptops that # travel to other locations. ; ping 15 ; ping-restart 45 ; ping-timer-rem ; persist-tun ; persist-key # Verbosity level. # 0 -- quiet except for fatal errors. # 1 -- mostly quiet, but display non-fatal network errors. # 3 -- medium output, good for normal operation. # 9 -- verbose, good for troubleshooting verb 3 route 192.168.1.0 255.255.255.0