This is a dummy demonstration I found recently on how to bypass the GFW ,i.e the censorship of government by using a Linux server that you could fully control.Note that the Linux machine must be able to visit the Internet freely with no censorship.You could rent a server on aliyun,which is a little expensive but anyway you could afford it(about 90 RMB/month but after I get my student info registered it'll be 10 RMB,looking forward to it).
OK,let's talk about the machine we are using.The OS is ubuntu by default.After you've got that machine,you could modify some configuration.Type this in terminal line by line:
apt-get -y install squid
curl https://pac.itzmx.com/squid/ubuntu-squid.conf > /etc/squid3/squid.conf
service squid3 restart