{"id":38,"date":"2014-11-12T14:28:06","date_gmt":"2014-11-12T12:28:06","guid":{"rendered":"https:\/\/serverstuff.info\/wordpress\/?p=38"},"modified":"2014-11-12T14:28:06","modified_gmt":"2014-11-12T12:28:06","slug":"http-proxy-ipv4-yum","status":"publish","type":"post","link":"https:\/\/serverstuff.info\/wordpress\/2014\/11\/12\/http-proxy-ipv4-yum\/","title":{"rendered":"http proxy ipv4 only for yum"},"content":{"rendered":"<p>So, I needed a fast way to install dovecot on a centos 7 server in a private network that had access to my own network but not to the internet.<\/p>\n<p>I set up a proxy and then saw that yum wants to use ipv6 here&#8217;s what I did<\/p>\n<pre language=\"bash\">\r\nexport http_proxy=\"http:\/\/198.51.100.13:3128\"\r\necho 'ip_resolve=4'>> \/etc\/yum.conf\r\nsysctl -w net.ipv6.conf.all.disable_ipv6=1\r\nsysctl -w net.ipv6.conf.default.disable_ipv6=1\r\nyum update\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So, I needed a fast way to install dovecot on a centos 7 server in a private network that had access to my own network but not to the internet. I set up a proxy and then saw that yum wants to use ipv6 here&#8217;s what I did export http_proxy=&#8221;http:\/\/198.51.100.13:3128&#8243; echo &#8216;ip_resolve=4&#8217;>> \/etc\/yum.conf sysctl -w &hellip; <a href=\"https:\/\/serverstuff.info\/wordpress\/2014\/11\/12\/http-proxy-ipv4-yum\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">http proxy ipv4 only for yum<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,10],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-centos","category-yum"],"_links":{"self":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":2,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/posts\/38\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverstuff.info\/wordpress\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}