{"id":771,"date":"2014-07-10T04:26:41","date_gmt":"2014-07-10T04:26:41","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=771"},"modified":"2022-02-03T11:25:01","modified_gmt":"2022-02-03T17:25:01","slug":"configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/","title":{"rendered":"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server"},"content":{"rendered":"<p>Well, this is less secure, but easier. Configure two computers with one key to complete a tunnel from one computer to another. Here are some links that helped me.<\/p>\n<ul>\n<li><a style=\"font-style: normal;\" href=\"http:\/\/openmaniak.com\/openvpn_static.php\" target=\"_blank\" rel=\"noopener noreferrer\">making the key:\u00a0<\/a><\/li>\n<li><a style=\"font-style: normal;\" href=\"http:\/\/openvpn.net\/index.php\/open-source\/documentation\/miscellaneous\/78-static-key-mini-howto.html\" target=\"_blank\" rel=\"noopener noreferrer\">using the key in the client:<\/a><\/li>\n<li><a style=\"font-style: normal;\" href=\"http:\/\/www.vpntutorials.com\/tutorials\/openvpn-client-setup-tutorial-for-windows-8\/\" target=\"_blank\" rel=\"noopener noreferrer\">installing client<\/a>:\n<ul>\n<li>put the .ovpn files and the shared key in c:\\Program Files (x86)\\OpenVPN\\config directory<\/li>\n<\/ul>\n<\/li>\n<li><a style=\"font-style: normal;\" href=\"http:\/\/openmaniak.com\/openvpn_tutorial.php\" target=\"_blank\" rel=\"noopener noreferrer\">A link for PRECICELY<\/a> what we are looking for to connect Windows OpenVPN to pfSense shared config. It is working but can&#8217;t ping remote (yet)<\/li>\n<\/ul>\n<p>Below is a client file that matches the server file that I need to connect to.<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\n\r\nremote someserver.domain.com\r\nproto udp\r\nport 9999\r\n\r\n#note there is no 0 behind tun - that is for linux\r\ndev tun\r\n#IP ADDRESSING mode example\r\n# Server IP: 10.10.2.1; Client (this computer) 10.10.2.2\r\n#there is a limitation to use .2 only if .1 is the server for the tunnel\r\n\r\nifconfig 10.10.2.2 10.10.2.1\r\n#Windows needs full quoted path if spaces exist\r\nsecret &quot;C:\\\\Program Files (x86)\\\\OpenVPN\\\\config\\\\my-static.key&quot;\r\nverb 3\r\n#verb 9 troubleshooting\r\ncomp-lzo\r\nkeepalive 15 60\r\n\r\n#daemon ; not for windows\r\n#if we assume that our local OpenVPN machine is on 192.168.22.0\/24 network\r\n#but pfSense already is already told what network we are on the setting page\r\n#route 192.168.22.0 255.255.255.0\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, this is less secure, but easier. Configure two computers with one key to complete a tunnel from one computer to another. Here are some links that helped me. making the key:\u00a0 using the key in the client: installing client: put the .ovpn files and the shared key in c:\\Program Files (x86)\\OpenVPN\\config directory A link [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-771","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"Well, this is less secure, but easier. Configure two computers with one key to complete a tunnel from one computer to another. Here are some links that helped me. making the key:\u00a0 using the key in the client: installing client: put the .ovpn files and the shared key in c:Program Files (x86)OpenVPNconfig directory A link [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-10T04:26:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:25:01+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server\",\"datePublished\":\"2014-07-10T04:26:41+00:00\",\"dateModified\":\"2022-02-03T17:25:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/\"},\"wordCount\":213,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/\",\"name\":\"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2014-07-10T04:26:41+00:00\",\"dateModified\":\"2022-02-03T17:25:01+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server - ELB Solutions.com Inc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/","og_locale":"en_US","og_type":"article","og_title":"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server - ELB Solutions.com Inc.","og_description":"Well, this is less secure, but easier. Configure two computers with one key to complete a tunnel from one computer to another. Here are some links that helped me. making the key:\u00a0 using the key in the client: installing client: put the .ovpn files and the shared key in c:Program Files (x86)OpenVPNconfig directory A link [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2014-07-10T04:26:41+00:00","article_modified_time":"2022-02-03T17:25:01+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server","datePublished":"2014-07-10T04:26:41+00:00","dateModified":"2022-02-03T17:25:01+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/"},"wordCount":213,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/","url":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/","name":"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2014-07-10T04:26:41+00:00","dateModified":"2022-02-03T17:25:01+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/configuring-openvpn-for-a-preshared-or-static-keys-for-windows-client-to-pfsense-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Configuring OpenVPN for a PreShared or Static Keys for Windows client to pfSense Server"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=771"}],"version-history":[{"count":6,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/771\/revisions"}],"predecessor-version":[{"id":2801,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/771\/revisions\/2801"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}