suuhm / unblock-proxy.sh

All-in-one script /w admin-webinterface to offer your own SmartDNS or SmartGateway -proxy. For your entire network! The swiss army knife in geoblocking/censorship.
https://proxycheck.coldwareveryday.com
GNU General Public License v2.0
53 stars 14 forks source link

can you please explain step 3 bit more. #10

Open aussiesidhu opened 3 weeks ago

aussiesidhu commented 3 weeks ago

hi, I’n new to this proxy and smartdns and don’t really understand step3. can you please explain a bit more on step3? do I need to create my own proxy server first before continuing??

suuhm commented 3 weeks ago

You need some free elite proxies , you can found on web via google etc.. or you buy some. So most of time the free proxies are very bad. Another option is to buy a vps or aws or azure-vm where you can host the proxy as transparent mode for example

aussiesidhu commented 3 weeks ago

noted! so,on vps, host proxy in transparent mode and on-prem, set it up as dns mode, correct?

suuhm commented 3 weeks ago

No you just need one mode, either dns or transparent on your vps or on-prem machines.

So best way: Setup unblock-proxy.sh local as dns/transparent and setup proxies on vps or use the ssh tunnle mode

aussiesidhu commented 3 weeks ago
ok, thank you. I got few errors after running: make && make install (installing squid on debian 12) ../../src/sbuf/SBuf.h:48:34: error: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Werror=deprecated-declarations] 48 class SBufIterator : public std::iterator<std::input_iterator_tag, char> ^~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from ../../src/base/PackableStream.h:14, from old_api.cc:12: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 struct _GLIBCXX17_DEPRECATED iterator ^~~~ In file included from ../../src/HttpHeader.h:13, from ../../src/HttpHeaderTools.h:14: ../../src/base/LookupTable.h:50:45: error: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Werror=deprecated-declarations] 50 class SBufCaseInsensitiveLess : public std::binary_function<SBuf, SBuf, bool> { ^~~~~~~ In file included from /usr/include/c++/12/string:48: /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 struct binary_function ^~~~~~~ ../../src/HttpHeaderTools.h:70:39: error: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Werror=deprecated-declarations] 70 class NoCaseLessThan: public std::binary_function<std::string, std::string, bool> ^~~~~~~ /usr/include/c++/12/bits/stl_function.h:131:12: note: declared here 131 struct binary_function ^~~~~~~ In file included from ../../src/security/Session.h:14, from ../../src/security/forward.h:14, from ../../src/SquidConfig.h:21: ../../src/security/forward.h: In function ‘void Security::DH_free_cpp(DH)’: ../../src/security/LockingPointer.h:34:21: error: ‘void DH_free(DH)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 34 function(a); \ ../../src/security/forward.h:85:1: note: in expansion of macro ‘CtoCpp1’ 85 CtoCpp1(DH_free, DH *); ^~~ In file included from ../../compat/openssl.h:33, from ../../src/security/Context.h:15, from ../../src/security/forward.h:13: /usr/include/openssl/dh.h:204:28: note: declared here 204 OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); ^~~ ../../src/security/forward.h: At global scope: ../../src/security/forward.h:86:79: error: ‘int DH_up_ref(DH*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 86 typedef Security::LockingPointer<DH, DH_free_cpp, HardFun<int, DH *, DH_up_ref> > DhePointer; ^ /usr/include/openssl/dh.h:205:27: note: declared here 205 OSSL_DEPRECATEDIN_3_0 int DH_up_ref(DH *dh); ^~~~~ In file included from ../../src/ssl/support.h:21, from ../../src/SquidConfig.h:24: ../../src/ssl/gadgets.h:60:51: error: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 60 typedef std::unique_ptr<RSA, HardFun<void, RSA*, &RSA_free>> RSA_Pointer;

then another error after running: /usr/local/squid/libexec/security_file_certgen -c -s /usr/local/squid/var/cache/squid/ssl_db -M 50MB -bash: /usr/local/squid/libexec/security_file_certgen: No such file or directory

it appears libexec doesn't exist.

can you please help?

suuhm commented 2 weeks ago

Hmm I recommend to install the source for newer debian in that case or just install via apt