{"id":231,"date":"2012-01-23T21:37:51","date_gmt":"2012-01-24T03:37:51","guid":{"rendered":"http:\/\/csmartonline.com\/blog\/?p=231"},"modified":"2012-06-20T06:14:25","modified_gmt":"2012-06-20T12:14:25","slug":"clearos-web-proxy-content-filter-and-xboxlive","status":"publish","type":"post","link":"http:\/\/csmartonline.com\/blog\/2012\/01\/23\/clearos-web-proxy-content-filter-and-xboxlive\/","title":{"rendered":"ClearOS, Web Proxy, Content Filter and XboxLive&#8230;"},"content":{"rendered":"<p>When using ClearOS&#8217;s transparent proxy and content filtering system, XboxLive will no longer work. Even if you add the Xbox&#8217;s IP address to the exempt list on the content filter, it will not work 100%. The content filter seems to always be invoked no matter what. To remedy this, we need to add a rule to our iptables and allow port 80 on outgoing connections.<\/p>\n<p>Run the following command on your ClearOS machine to add the required rule temporarily (Remember to open port 80 on outgoing connections and insert your Xbox&#8217;s IP address in the correct place!):<\/p>\n<pre class=\"snippet-code\">iptables -t nat -I PREROUTING -s IPADDRESS-OF-XBOX -p tcp --dport 80 -j ACCEPT<\/pre>\n<p>To clear the rule, simply restart the firewall service:<\/p>\n<pre class=\"snippet-code\">service firewall restart<\/pre>\n<p>If the rule works for you and you want to make the change permanent, you need to edit the file &#8216;<strong>rc.firewall.local<\/strong>&#8216; located at &#8216;<strong>\/etc\/rc.d\/<\/strong>&#8216;:<\/p>\n<pre class=\"snippet-code\">vi \/etc\/rc.d\/rc.firewall.local<\/pre>\n<p>This file gets executed every time the firewall is stopped, started or restarted. Simply place the iptables line from above in the file to have it automatically added at start-up.<\/p>\n<p>You will also need to have a few other ports opened for your Xbox if you haven&#8217;t already done so:<\/p>\n<p>Port 88 (UDP)<br \/>\nPort 3074 (UDP and TCP)<\/p>\n<p>That&#8217;s it! You should now be able to successfully use all of XboxLive&#8217;s features!<\/p>\n<p><strong>UPDATE<\/strong>:<\/p>\n<p>In ClearOS 6.2 &#8216;\/etc\/clearos\/firewall.d\/local&#8217; is equivalent to ClearOS 5.1&#8217;s &#8216;\/etc\/rc.d\/rc.firewall.local&#8217;. Also note that you need to be sure to set a static IP address for your Xbox if you have not already done so.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When using ClearOS&#8217;s transparent proxy and content filtering system, XboxLive will no longer work. Even if you add the Xbox&#8217;s IP address to the exempt list on the content filter, it will not work 100%. The content filter seems to &hellip;<\/p>\n<p class=\"read-more\"><a href=\"http:\/\/csmartonline.com\/blog\/2012\/01\/23\/clearos-web-proxy-content-filter-and-xboxlive\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[45,46,53,65,64,41,50,75,72,68,73,76,74],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-tiptrick","tag-clearos","tag-content-filter","tag-filter","tag-firewall","tag-iptables","tag-port","tag-proxy","tag-transparent-proxy","tag-web-proxy","tag-webconfig","tag-xbox","tag-xbox360","tag-xboxlive"],"_links":{"self":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":16,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":350,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions\/350"}],"wp:attachment":[{"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/csmartonline.com\/blog\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}