What's new

Closed Sariling proxy/ssh/openvpn/shadowsocks server tutorial - part 2

Status
Not open for further replies.
ts pwede ba gawan ng 3 proxy iba ibang port ang isang vps account?

Pwedeng pwede, pero fair caution lang... Ingat sa pagaassign ng ports baka may magsalubong.

Run mo itong code na ito para makita mo kung ano mga ports ang ginagamit at anong services ang gumagamit.
===================
# netstat -plant
===================

Pag magdadagdag ka ng port, balikan mo yang tutorial sa part na nage-edit ng "squid.conf". Then sa part ng file na:

----------------------------------------------------
# Squid normally listens to port 3128
http_port 3128
----------------------------------------------------

Magdagdag ka lang ng same line sa ibaba:
----------------------------------------------------
# Squid normally listens to port 3128
http_port 3128
http_port 8080
http_port 8888
----------------------------------------------------

Ulitin ko boss, ingat sa pagassign ng ports, always check para hindi masakit sa ulo.

Then wag kalimutan ng magrestart ng service:
===================
# systemctl restart squid
===================

Then double check kung listening na si Squid Proxy sa ports na inassign mo:
===================
# netstat -plant
===================

if ang result ng "netstat -plant" nyo ay may ganito
------------------------------------------
tcp6 0 0 :::8080 :::* LISTEN 8613/(squid-1)
tcp6 0 0 :::8888 :::* LISTEN 8613/(squid-1)
tcp6 0 0 :::3128 :::* LISTEN 8613/(squid-1)

------------------------------------------

at walang:
------------------------------------------
tcp 0 0 0.0.0.0:8080 0.0.0.0:* .......
tcp 0 0 0.0.0.0:8888 0.0.0.0:* .......
tcp 0 0 0.0.0.0:3128 0.0.0.0:* .......

------------------------------------------

Ito yung sinasabi ko sa PART 2 ng Main Thead natin. So if aalis tayo sa defaults be ready to encounter firewall problems. Expect kasi ni firewall natin 3128 ang proxy port ni squid, pag nabago minsan naba-block. Sa result na yan sa ipv6 lang nakikinig ang services at hindi sa ipv4 kasi nga blocked.

So need natin iopen ang mga yan sa firewall ex.:
===================
# firewall-cmd --zone=public --add-port=8080/tcp --permanent
===================
Palitan lang ang concerned na port. Then reload firewall tayo:
===================
# firewall-cmd --reload
===================
Then netstat ulit:
===================
# netstat -plant
===================

To test outside ng server dito nyo i-test:
You do not have permission to view the full content of this post. Log in or register now.
 
Last edited:
Hey there, thanks for the tutorial it is really helpful. I manage to create my own vps and ssh account but I dont know how to test it if its working.

I tried it in http injector but with no luck, 200k daw pero "X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0"

And do I need payload? if so any working payload for this? or do I make my own domain?
How about remote proxy? Same lang po ba sa IP host? or I can place a floating IP that is connected?

~confused.
 
Hey there, thanks for the tutorial it is really helpful. I manage to create my own vps and ssh account but I dont know how to test it if its working.

I tried it in http injector but with no luck, 200k daw pero "X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0"

And do I need payload? if so any working payload for this? or do I make my own domain?
How about remote proxy? Same lang po ba sa IP host? or I can place a floating IP that is connected?

~confused.

himayin natin boss, PM nalang.
 
Grabe binasa ko talaga lahat kahit wala akung alam sa ganyan.wala tlga akung maintindihan Di ko napansin dumugo na pala ilong ko. Hehe

Nice thread ts keep it up godbless.
 
Pwede ba sa torrent to? Kung sakalin magawa ko. Haha. At kung magawa ko man to, kelangan pa ba ng net o libreng net na ito for 1 month?
 
Status
Not open for further replies.
Back
Top