{"id":215,"date":"2017-10-29T13:15:00","date_gmt":"2017-10-29T03:15:00","guid":{"rendered":"http:\/\/kswp01.azurewebsites.net\/?p=215"},"modified":"2019-08-18T18:57:48","modified_gmt":"2019-08-18T08:57:48","slug":"installing-a-socks-proxy","status":"publish","type":"post","link":"https:\/\/kswp01.azurewebsites.net\/?p=215","title":{"rendered":"Install Socks Proxy"},"content":{"rendered":"<h3>Steps to install sSocks<\/h3>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>1. Create a temp folder to download sSocks.<\/p>\n<pre>mkdir \/tmp\/proxy\ncd \/tmp\/proxy<\/pre>\n<p>2. Install gcc and make<\/p>\n<pre>yum -y install gcc make<\/pre>\n<p>3. Install sSocks<\/p>\n<pre>wget <a href=\"http:\/\/downloads.sourceforge.net\/project\/ssocks\/ssocks-0.0.14.tar.gz\">http:\/\/downloads.sourceforge.net\/project\/ssocks\/ssocks-0.0.14.tar.gz<\/a>\ntar xvzf ssocks-0.0.14.tar.gz\ncd ssocks-0.0.14\n.\/configure\nmake\nmake install<\/pre>\n<p>4. Copy conf files<\/p>\n<pre>cd src\ncp ssocksd.conf \/etc\ncp ssocksd.auth \/etc<\/pre>\n<p>5. (Optional &#8211; Enabling Authentication) Edit the conf file<\/p>\n<pre>cd \/etc\nvi ssocksd.conf<\/pre>\n<p>(Modify the line below &#8211; Remove &#8220;#&#8221;)<\/p>\n<pre>(Before)\n# auth = \/etc\/ssocksd.auth\n(After)\nauth = \/etc\/ssocksd.auth<\/pre>\n<p>6. (Optional &#8211; Enabling Authentication) Edit the auth file<\/p>\n<pre>vi ssocksd.auth<\/pre>\n<p>(Change the username and the password below)<\/p>\n<pre>admin:abcde<\/pre>\n<p>7. Add sSocks to Firewall<\/p>\n<pre>firewall-cmd --permanent --zone=public --add-port=1080\/tcp<\/pre>\n<p>8. Start ssocksd<\/p>\n<pre>ssocksd --file \/etc\/ssocksd.conf &amp;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Steps to install sSocks<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,9],"tags":[],"_links":{"self":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/215"}],"collection":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215"}],"version-history":[{"count":6,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":274,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions\/274"}],"wp:attachment":[{"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kswp01.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}