{"id":10551,"date":"2015-10-05T20:00:54","date_gmt":"2015-10-06T03:00:54","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=10551"},"modified":"2021-06-16T15:55:04","modified_gmt":"2021-06-16T22:55:04","slug":"ipsec-using-openswan-on-zybo","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/ipsec-using-openswan-on-zybo\/","title":{"rendered":"IPSec Using Openswan on ZYBO"},"content":{"rendered":"<p>Instructables user <a href=\"http:\/\/www.instructables.com\/member\/muton92\/\" rel=\"author\">muton92<\/a>\u00a0has <a href=\"http:\/\/www.instructables.com\/id\/IPSec-using-OpenSwan-on-Zybo\/?ALLSTEPS\">a project to use Openswan<\/a>, an IPSec implementation for Linux, \u00a0on ZYBO. Internet security protocols are a vital thing to know how to use to protect your data. This project will get you started on the path to that security.<\/p>\n<p>To do this project, you will need a ZYBO, a router, and two LAN cables for connecting to the router. You&#8217;ll also need to have done the first tutorial about installing Xillinux on ZYBO.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1128 size-full\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/ZYBO-revB-obl-600.png\" alt=\"ZYBO\" width=\"600\" height=\"510\" data-wp-pid=\"1128\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/ZYBO-revB-obl-600.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/06\/ZYBO-revB-obl-600-300x255.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Begin by installing Openswan. Then start the program and generate RSA keys for both hosts. You will have to type in a code on your computer&#8217;s terminal type to get IPSec public key. Use your configuration file, modifying it with your own values for IP and RSA keys. Make sure IPSec has started, then test your tunnel functionality.<\/p>\n<figure id=\"attachment_10679\" aria-describedby=\"caption-attachment-10679\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.instructables.com\/id\/IPSec-using-OpenSwan-on-Zybo\/?ALLSTEPS\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-10679\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/openswan-code-600x192.jpg\" alt=\"Testing functionality...\" width=\"600\" height=\"192\" data-wp-pid=\"10679\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/openswan-code-600x192.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/openswan-code.jpg 620w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-10679\" class=\"wp-caption-text\">Testing functionality&#8230;<\/figcaption><\/figure>\n<p>With the importance of security, you should probably get started on using this tutorial! Let us know your thoughts by commenting below.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-10551 jlk' data-task='like' data-post_id='10551' data-nonce='5286a1c13f' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-10551 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-10551 jlk' data-task='unlike' data-post_id='10551' data-nonce='5286a1c13f' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-10551 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-10551 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>(Internet) safety first!<\/p>\n","protected":false},"author":7,"featured_media":10678,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4327,35],"tags":[],"ppma_author":[4464],"class_list":["post-10551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-fpga"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/openswan-ipsec-zybo.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4464,"user_id":7,"is_guest":0,"slug":"amber_mear","display_name":"Amber Mear","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/10551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=10551"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/10551\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/10678"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=10551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=10551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=10551"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=10551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}