{"id":18211,"date":"2022-08-05T16:04:34","date_gmt":"2022-08-05T14:04:34","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=18211"},"modified":"2022-08-05T16:04:37","modified_gmt":"2022-08-05T14:04:37","slug":"oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/","title":{"rendered":"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall &#8216;IPFire&#8217;"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction &amp; why attaching your personnal network to OCI (Oracle Cloud Infrastructure)<\/h2>\n\n\n\n<p>You want to use your existing tools and infrastructure, but you need high internet performance for your Oracle environment \u2013 the combination of on premise and OCI may make sense for you. Or if you simply want to check what possibilities OCI provides for your business with OCI, you can gain some experience with a mix of both worlds.<\/p>\n\n\n\n<p>Maybe you are interested in Oracle Cloud Infrastructure and you don\u2019t want to move all of your IT to the cloud? Or you have some tools or data locally in your premise IT you want to user further? If you don\u2019t plan to move terabytes of data you can do a quick and easy test within a short time with an open source firewall from IPFire (<a href=\"https:\/\/www.ipfire.org\/\">https:\/\/www.ipfire.org<\/a>) to connect your infrastructure to OCI via VPN. If you have an existing IPFire firewall connected to the internet (in my case no NAT) the time to configure the needed 2 IPSec tunnels is done in less than 5min.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why open source \u2018IPFire\u2019 Firewall?<\/h2>\n\n\n\n<p>I\u2019m using IPFire-firewall since years without problems and even if you\u2019re not very experienced command-line user you can install, configure and maintain the firewall by GUI easily too.<\/p>\n\n\n\n<p>And in addition, regarding our intention to connect OCI, the IPSec configuration is very simple to configure via GUI too.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example configuration overview<\/h2>\n\n\n\n<p><strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\">CPE <\/mark><\/strong>(Customer-Premises Equipment) is nothing else than your personal IT entry-point. So please don&#8217;t use public IP-address beginning with something like 94.16.xxx.yyy if you don&#8217;t want to run into trouble with my provider Quickline (except if you have the same provider. Only then it would look similar).<\/p>\n\n\n\n<p>\/!\\ Please check first which IP-address is assigned by your ISP (Internet Service Provider) before you begin to setup CPE in OCI. The OCI CPE is configured together with your personal firewall.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"521\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png\" alt=\"\" class=\"wp-image-18212\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-300x153.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-768x391.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview.png 1412w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\">IPSec <\/mark><\/strong>to be defined on both sides &#8211; in OCI and in your personal network (in my example with the IPFire firewall and the IPSec configuration).<\/p>\n\n\n\n<p><strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\">DRG <\/mark><\/strong>&#8220;Dynamic Routing Gateway&#8221; will coordinate routing between your on-prem netword and the VCNs\/Subnets in OCI.<\/p>\n\n\n\n<p><strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\">VCN <\/mark><\/strong>&#8220;Virtual Cloud Network&#8221; is the network you attach other components to and where you can define subnets, routing tables, security lists.<\/p>\n\n\n\n<p>Attach the Routing Table (RT) and Security List (SL) definitions to your subnets later. I was wondering why it didn\u2019t work on my first attempt. <\/p>\n\n\n\n<p><strong><mark class=\"has-inline-color has-vivid-cyan-blue-color\">VCN Subnet<\/mark><\/strong> &#8211; here you place your compute instances and apply your SL (Security List ~firewall rules) and RT (Routing Table).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p><strong>On OCI side<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>your OCI tenancy<\/li><li>VCN (Virtual Cloud Network)<\/li><li>VCN subnet<\/li><li>CPE (Customer-Premises Equipment)<\/li><li>IPSec connection<\/li><li>2x IPSec tunnel<\/li><li>Dynamic Routing Gateway (DRG)<\/li><li>Security List (SL)<\/li><li>Routing Table (RT)<\/li><li>At least 1 instance<\/li><\/ul>\n\n\n\n<p><strong>On customer side<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>IPFire firewall<\/li><li>Your external IP-Address<\/li><li>1 LINUX OS instance on your premise IT<\/li><\/ul>\n\n\n\n<p><strong>Optional<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>DDNS for your personal network<\/li><li>DDNS &nbsp;domain name or your own DNS<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Setup OCI<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">VCN<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myVCN<\/mark><\/strong><\/td><\/tr><tr><td>CIDR<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">10.0.5.0\/24<\/mark><\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"711\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-OCI-VCN-1024x711.png\" alt=\"\" class=\"wp-image-18235\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-OCI-VCN-1024x711.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-OCI-VCN-300x208.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-OCI-VCN-768x533.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-OCI-VCN.png 1057w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">VCN subnet<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">mySubnet<\/mark><\/strong><\/td><td><\/td><\/tr><tr><td>CIDR<\/td><td><mark class=\"has-inline-color has-vivid-red-color\"><strong>10.0.5.0\/24<\/strong><\/mark><\/td><td><\/td><\/tr><tr><td>RT<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">RouteTableMySubnet<\/mark><\/strong><\/td><td><\/td><\/tr><tr><td><\/td><td>Destination<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">192.168.0.0\/24<\/mark><\/strong> [customers internal CIDR]<\/td><\/tr><tr><td><\/td><td>Target Type<\/td><td>Dynamic Routing Gateway<\/td><\/tr><tr><td><\/td><td>Target<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myDRG<\/mark><\/strong><\/td><\/tr><tr><td>DRG att<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myDRG_Attachment_Subnet<\/mark><\/strong><\/td><td><\/td><\/tr><tr><td><\/td><td>Att Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myDRG_Attachment_mySubnet<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Lifecyc State<\/td><td>Attached<\/td><\/tr><tr><td><\/td><td>DRG<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myDRG<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>VCN RT<\/td><td>&#8211;<\/td><\/tr><tr><td><\/td><td>Cross-Ten.<\/td><td>No<\/td><\/tr><tr><td>SL<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">SecurityListMySubnet<\/mark><\/strong><\/td><td><\/td><\/tr><tr><td><\/td><td>Ingress Rules (1)<\/td><td><\/td><\/tr><tr><td><\/td><td>Stateless<\/td><td>No<\/td><\/tr><tr><td><\/td><td>Source<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">192.168.0.0\/24<\/mark><\/strong> [customers internal CIDR]<\/td><\/tr><tr><td><\/td><td>IP Protocol<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">TCP<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Source PR<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">All<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Destin. PR<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">22<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Type&amp;Code<\/td><td><\/td><\/tr><tr><td><\/td><td>Allows<\/td><td>TCP traffic for pots: 22 SSH Remote Login Protocol<\/td><\/tr><tr><td><\/td><td>Description<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myCPE(ingress)<\/mark><\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"798\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-OCI-VCN-subnet-1-1024x798.png\" alt=\"\" class=\"wp-image-18237\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-OCI-VCN-subnet-1-1024x798.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-OCI-VCN-subnet-1-300x234.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-OCI-VCN-subnet-1-768x599.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-OCI-VCN-subnet-1.png 1057w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">DRG<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myDRG<\/mark><\/strong><\/td><td><\/td><\/tr><tr><td>Lifecycle St<\/td><td>Available (when at least one tunnel up)<\/td><td><\/td><\/tr><tr><td>Ora Redund.<\/td><td>Redundant (when all up and running)<\/td><td><\/td><\/tr><tr><td><\/td><td>VCN att.<\/td><td>(2)<\/td><\/tr><tr><td>(1\/2)<\/td><td>Att Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">DRG_Attachment_for_IPSec_Tunnel: myIPSecTunnel1<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Lifecyc St<\/td><td>Attached<\/td><\/tr><tr><td><\/td><td>IPSec Tun.<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myIPSecTunnel1<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>DRG RT<\/td><td>Autogen. Drg RT for RPC, VC, and IPSec att.<\/td><\/tr><tr><td><\/td><td>CPE<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myCPE<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>CPE IKE Id<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">test.myddns.com<\/mark><\/strong> (if you changed IPSec \u2018IP-Connection\u2019 with FQDN)<\/td><\/tr><tr><td>(2\/2)<\/td><td>Att Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">DRG_Attachment_for_IPSec_Tunnel: myIPSecTunnel2<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Lifecyc St<\/td><td>Attached<\/td><\/tr><tr><td><\/td><td>IPSec Tun.<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myIPSecTunnel2<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>DRG RT<\/td><td>Autogen. Drg RT for RPC, VC, and IPSec att.<\/td><\/tr><tr><td><\/td><td>CPE<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myCPE<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>CPE IKE Id<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">test.myddns.com<\/mark><\/strong> (if you changed IPSec \u2018IP-Connection\u2019 with FQDN)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"412\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-OCI-myDRG-1024x412.png\" alt=\"\" class=\"wp-image-18239\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-OCI-myDRG-1024x412.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-OCI-myDRG-300x121.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-OCI-myDRG-768x309.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-OCI-myDRG.png 1059w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Shortly after setup I saw all \u2018ok\/status green\u2019. But after some minutes one tunnel went down. Don\u2019t worry, if the active tunnel has problems the other tunnel becomes active.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CPE<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myCPE<\/mark><\/strong><\/td><\/tr><tr><td>Publ. IP<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">94.16.100.100<\/mark><\/strong> (you must replace this with your public IP-address !!! )<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Here you are able to use an IP-address only and that is the reason why you have to recreate it every day if you use your private dynamic IP-address.<\/p>\n\n\n\n<p>In addition \u2013 the whole IPSec configuration depends on this. You have to recreate IPSec and the both tunnels too, even if you could use the same parameters with your own DNS\/URL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"375\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-OCI-CPE-1024x375.png\" alt=\"\" class=\"wp-image-18241\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-OCI-CPE-1024x375.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-OCI-CPE-300x110.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-OCI-CPE-768x281.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-OCI-CPE.png 1058w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-OCI-CPE-parameters-1024x530.png\" alt=\"\" class=\"wp-image-18242\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-OCI-CPE-parameters-1024x530.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-OCI-CPE-parameters-300x155.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-OCI-CPE-parameters-768x397.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-OCI-CPE-parameters.png 1059w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">IPSec<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myIPSec<\/mark><\/strong><\/td><\/tr><tr><td>Lifecycle St.<\/td><td>Available<\/td><\/tr><tr><td>DRG<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myDRG<\/mark><\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\/!\\ Here is the point you can change from IP-address to FQDN if you have your own DDNS or your own domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"540\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/07-Blog-OCI-IPSec-1024x540.png\" alt=\"\" class=\"wp-image-18244\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/07-Blog-OCI-IPSec-1024x540.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/07-Blog-OCI-IPSec-300x158.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/07-Blog-OCI-IPSec-768x405.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/07-Blog-OCI-IPSec.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"572\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-parameters-1024x572.png\" alt=\"\" class=\"wp-image-18245\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-parameters-1024x572.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-parameters-300x168.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-parameters-768x429.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-parameters.png 1059w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Tunnel<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myIPSecTunnel1<\/mark><\/strong><\/td><\/tr><tr><td>Lifecycle St<\/td><td>Available (when config successful)<\/td><\/tr><tr><td>IPSec Status<\/td><td>Up (when config successful)<\/td><\/tr><tr><td>IPv4 BGP St.<\/td><td>&#8211;<\/td><\/tr><tr><td>IPv6 BGP St.<\/td><td>&#8211;<\/td><\/tr><tr><td>Oracle VPN<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">111.111.111.111<\/mark><\/strong> (address will be provided when created)<\/td><\/tr><tr><td>Routing Typ<\/td><td><mark class=\"has-inline-color has-vivid-red-color\"><strong>Static Routing<\/strong><\/mark><\/td><\/tr><tr><td><\/td><td><\/td><\/tr><tr><td>Name<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myIPSecTunnel2<\/mark><\/strong><\/td><\/tr><tr><td>Lifecycle St<\/td><td>Available (when config successful)<\/td><\/tr><tr><td>IPSec Status<\/td><td>Up (when config successful)<\/td><\/tr><tr><td>IPv4 BGP St.<\/td><td>&#8211;<\/td><\/tr><tr><td>IPv6 BGP St.<\/td><td>&#8211;<\/td><\/tr><tr><td>Oracle VPN<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">222.222.222.222<\/mark><\/strong> (address will be provided when created)<\/td><\/tr><tr><td>Routing Typ<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">Static Routing<\/mark><\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Here the pictures of OCI. I omitted the second tunnel as it is configured the same way.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"849\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-1-1024x849.png\" alt=\"\" class=\"wp-image-18246\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-1-1024x849.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-1-300x249.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-1-768x637.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-1.png 1059w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"829\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-2-1024x829.png\" alt=\"\" class=\"wp-image-18247\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-2-1024x829.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-2-300x243.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-2-768x622.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/08-Blog-OCI-IPSec-tunnel-2.png 1059w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Security List (SL)<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>SL<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">SecurityListMySubnet<\/mark><\/strong><\/td><td><\/td><\/tr><tr><td><\/td><td>Ingress Rules (1)<\/td><td><\/td><\/tr><tr><td><\/td><td>Stateless<\/td><td>No<\/td><\/tr><tr><td><\/td><td>Source<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">192.168.0.0\/24<\/mark><\/strong> [customers internal CIDR]<\/td><\/tr><tr><td><\/td><td>IP Protocol<\/td><td><mark class=\"has-inline-color has-vivid-red-color\">TCP<\/mark><\/td><\/tr><tr><td><\/td><td>Source PR<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">All<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Destin. PR<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">22<\/mark><\/strong><\/td><\/tr><tr><td><\/td><td>Type&amp;Code<\/td><td><\/td><\/tr><tr><td><\/td><td>Allows<\/td><td>TCP traffic for pots: 22 SSH Remote Login Protocol<\/td><\/tr><tr><td><\/td><td>Description<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">myCPE(ingress)<\/mark><\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Please consider that I used (and copied) the default security list instead of creating the above mentioned \u2018SecurityListMySubnet\u2019<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"617\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/09-Blog-OCI-Security-List-SL-1024x617.png\" alt=\"\" class=\"wp-image-18252\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/09-Blog-OCI-Security-List-SL-1024x617.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/09-Blog-OCI-Security-List-SL-300x181.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/09-Blog-OCI-Security-List-SL-768x463.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/09-Blog-OCI-Security-List-SL.png 1342w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Routing Table (RT)<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>RT<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">RouteTableMySubnet<\/mark><\/strong><\/td><td><\/td><\/tr><tr><td><\/td><td>Destination<\/td><td><strong><mark class=\"has-inline-color has-vivid-red-color\">192.168.0.0\/24<\/mark><\/strong> [customers internal CIDR]<\/td><\/tr><tr><td><\/td><td>Target Type<\/td><td>Dynamic Routing Gateway<\/td><\/tr><tr><td><\/td><td>Target<\/td><td><mark class=\"has-inline-color has-vivid-red-color\"><strong>myDRG<\/strong><\/mark><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Please consider that<\/strong> I used (and copied) <strong>the<\/strong> default route table instead <strong>of<\/strong> creating the above mentioned \u2018RouteTableMySubnet\u2019<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"429\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/10-Blog-OCI-Routing-Table-RT-1024x429.png\" alt=\"\" class=\"wp-image-18253\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/10-Blog-OCI-Routing-Table-RT-1024x429.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/10-Blog-OCI-Routing-Table-RT-300x126.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/10-Blog-OCI-Routing-Table-RT-768x322.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/10-Blog-OCI-Routing-Table-RT.png 1341w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Instance<\/h3>\n\n\n\n<p>Create an instance in your OCI VCN-subnet<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setup IPFire firewall<\/h2>\n\n\n\n<p>On the \u2018Main page\u2019 you will find your external IP if you connect your IPFire firewall directly to the internet. Otherwise you have to do the instructions provided by Oracle for NAT-configuration.<\/p>\n\n\n\n<p>In this example it is the 94.16.100.100 IP-address which you have to replace with your external IP.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Main Page<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-IPFire-Main-Page-1024x547.png\" alt=\"\" class=\"wp-image-18221\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-IPFire-Main-Page-1024x547.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-IPFire-Main-Page-300x160.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-IPFire-Main-Page-768x410.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/02-Blog-IPFire-Main-Page.png 1064w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">IPSec<\/h3>\n\n\n\n<p>Creating your Certificate Authorities and -Keys is self-explaining and I have filled my Host Certificate CN with my FQDN<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"910\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-IPFire-IPSec-1024x910.png\" alt=\"\" class=\"wp-image-18222\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-IPFire-IPSec-1024x910.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-IPFire-IPSec-300x267.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-IPFire-IPSec-768x683.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/03-Blog-IPFire-IPSec.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Don&#8217;t worry if one tunnel is displayed &#8216;down&#8217; after some time. OCI and the firewall are automatically selecting one tunnel and take offline the other one if not configured with BGP.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tunnel 1<\/h3>\n\n\n\n<p>Parameters for IPSec tunnel 1 on customer side is like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"734\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-IPFire-IPSec-Tunnel-1-1024x734.png\" alt=\"\" class=\"wp-image-18223\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-IPFire-IPSec-Tunnel-1-1024x734.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-IPFire-IPSec-Tunnel-1-300x215.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-IPFire-IPSec-Tunnel-1-768x550.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/04-Blog-IPFire-IPSec-Tunnel-1.png 1065w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It is very important to fill \u2018Local ID\u2019 with \u2018@&lt;your FQDN&gt;. You don\u2019t get running tunnels in parallel if you don\u2019t use the same naming as in OCI IPSec definition.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tunnel 2<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"749\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-IPFire-IPSec-Tunnel-2-1024x749.png\" alt=\"\" class=\"wp-image-18225\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-IPFire-IPSec-Tunnel-2-1024x749.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-IPFire-IPSec-Tunnel-2-300x219.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-IPFire-IPSec-Tunnel-2-768x562.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/06-Blog-IPFire-IPSec-Tunnel-2.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Same as tunnel 1: It is very important to fill \u2018Local ID\u2019 with \u2018@&lt;your FQDN&gt;. You don\u2019t get running tunnels in parallel if you don\u2019t use the same naming as in OCI IPSec definition.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">IPSec Tunnel Advanced<\/h3>\n\n\n\n<p>For IPSec advanced features I have set a custom configuration on OCI and my (customers) side. But it was running with defaults too. Advanced settings are identical for tunnel 1 and tunnel 2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"925\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-IPFire-IPSec-Tunnel-1-Advanced-1024x925.png\" alt=\"\" class=\"wp-image-18224\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-IPFire-IPSec-Tunnel-1-Advanced-1024x925.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-IPFire-IPSec-Tunnel-1-Advanced-300x271.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-IPFire-IPSec-Tunnel-1-Advanced-768x694.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/05-Blog-IPFire-IPSec-Tunnel-1-Advanced.png 1066w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\/!\\  Don&#8217;t forget to set your IPFire firewall to allow traffic to both tunnels and drop traffic from tunnels if you don&#8217;t want that someone\/something from OCI can access your private network.<\/p>\n\n\n\n<p>By default the traffic is allowed in both directions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Your personal firewall<\/h3>\n\n\n\n<p>Last but not least &#8211; don&#8217;t forget to block traffic from OCI to your personal network if you don&#8217;t want the &#8216;whole world&#8217; in your personal network.<\/p>\n\n\n\n<p>IPFire can handle the tunnels very easily. Just allow traffic from your network to tunnels and block (drop) traffic the way from tunnels to your network.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"728\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/99-Blog-IPFire-firewall-settings.png\" alt=\"\" class=\"wp-image-18255\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/99-Blog-IPFire-firewall-settings.png 966w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/99-Blog-IPFire-firewall-settings-300x226.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/99-Blog-IPFire-firewall-settings-768x579.png 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Faced issues<\/h2>\n\n\n\n<p>Most of the configuring was straight forward and the IPSec tunnels were showed up as working after a short time, but \u2026<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">One single IPSec-tunnel \u2018up\u2019 works but the IPSec-tunnels don\u2019t run in parallel<\/h3>\n\n\n\n<p>Most time-consuming issue was: Even if each IPSec tunnel was connected and \u2018up\u2019 to OCI, you don\u2019t get any traffic through.<\/p>\n\n\n\n<p>As a first try just disable one of the IPSec tunnels. My configuration worked with one tunnel up and the other down. And it doesn\u2019t care which one I had up and which one was down. I just had to avoid using both in parallel.<\/p>\n\n\n\n<p>What solved the issue?<\/p>\n\n\n\n<p>The problem was gone when I used FQDN on OCI-side and entered the used FQDN in IPFire in the tunnel settings in the field \u2018Local ID\u2019 (with preceeded \u2018@\u2019 character)<\/p>\n\n\n\n<p>What was the behavior then? With the FQDN in place OCI and my firewall were negotiating themselves which tunnel is used. One tunnel is up and one tunnel is down. If active tunnel goes down the other one goes up automatically.<\/p>\n\n\n\n<p><strong><em>Remark from Oracle:<\/em><\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>If your CPE&nbsp;supports having two IPSec tunnels up\/active to the same destination, configure the second tunnel to also be up\/active. Oracle recommends configuring both tunnels to use BGP dynamic routing.<\/p><\/blockquote>\n\n\n\n<p>All other issues were mainly to ensure correct order of data-collecting and -entering. If you use OCIs \u2018Wizard\u2019 you are on safe side already.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>For a \u2018one day valid test\u2019 (if you are using dynamic IP-address) it takes 3min reconfiguring of your environment every day after you\u2019ve received a new external IP-address to do testing with OCI plus on premises IT with no financial impact. What you need is your curiosity and time setting things up initially.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction &amp; why attaching your personnal network to OCI (Oracle Cloud Infrastructure) You want to use your existing tools and infrastructure, but you need high internet performance for your Oracle environment \u2013 the combination of on premise and OCI may make sense for you. Or if you simply want to check what possibilities OCI provides [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[955,59],"tags":[2643,2642,1375,1930],"type_dbi":[],"class_list":["post-18211","post","type-post","status-publish","format-standard","hentry","category-cloud","category-oracle","tag-connect-oci-to-on-prem","tag-cpe","tag-oci","tag-oracle-cloud-infrastructure"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall &#039;IPFire&#039; - dbi Blog<\/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:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall &#039;IPFire&#039;\" \/>\n<meta property=\"og:description\" content=\"Introduction &amp; why attaching your personnal network to OCI (Oracle Cloud Infrastructure) You want to use your existing tools and infrastructure, but you need high internet performance for your Oracle environment \u2013 the combination of on premise and OCI may make sense for you. Or if you simply want to check what possibilities OCI provides [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-05T14:04:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-05T14:04:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall &#8216;IPFire&#8217;\",\"datePublished\":\"2022-08-05T14:04:34+00:00\",\"dateModified\":\"2022-08-05T14:04:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/\"},\"wordCount\":1621,\"commentCount\":2,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png\",\"keywords\":[\"Connect OCI to On-Prem\",\"CPE\",\"OCI\",\"oracle cloud infrastructure\"],\"articleSection\":[\"Cloud\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/\",\"name\":\"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall 'IPFire' - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png\",\"datePublished\":\"2022-08-05T14:04:34+00:00\",\"dateModified\":\"2022-08-05T14:04:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview.png\",\"width\":1412,\"height\":718},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall &#8216;IPFire&#8217;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall 'IPFire' - dbi Blog","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:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/","og_locale":"en_US","og_type":"article","og_title":"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall 'IPFire'","og_description":"Introduction &amp; why attaching your personnal network to OCI (Oracle Cloud Infrastructure) You want to use your existing tools and infrastructure, but you need high internet performance for your Oracle environment \u2013 the combination of on premise and OCI may make sense for you. Or if you simply want to check what possibilities OCI provides [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/","og_site_name":"dbi Blog","article_published_time":"2022-08-05T14:04:34+00:00","article_modified_time":"2022-08-05T14:04:37+00:00","og_image":[{"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png","type":"","width":"","height":""}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall &#8216;IPFire&#8217;","datePublished":"2022-08-05T14:04:34+00:00","dateModified":"2022-08-05T14:04:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/"},"wordCount":1621,"commentCount":2,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png","keywords":["Connect OCI to On-Prem","CPE","OCI","oracle cloud infrastructure"],"articleSection":["Cloud","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/","url":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/","name":"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall 'IPFire' - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview-1024x521.png","datePublished":"2022-08-05T14:04:34+00:00","dateModified":"2022-08-05T14:04:37+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/08\/01-Blog-Config-Example-Overview.png","width":1412,"height":718},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/oci-connected-to-your-personal-network-quickeasy-example-with-open-source-firewall-ipfire\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"OCI connected to your personal network \u2013 quick&amp;easy example with open source firewall &#8216;IPFire&#8217;"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=18211"}],"version-history":[{"count":30,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18211\/revisions"}],"predecessor-version":[{"id":18318,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18211\/revisions\/18318"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=18211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=18211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=18211"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=18211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}