Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

How to Create OVPN NO LOAD GLOBE and TM (Debian and Ubuntu)

Jake

Proficient
Advanced Member
Messages
292
Reaction score
3
Points
28
How to Create OVPN NO LOAD GLOBE and TM

HI on this tutorial you will learn how to create ovpn in debian and ubuntu
first tutorial is you can share your ovpn to others
second tutorial is for personal use only
What you need.

1. VPS Server
2. Download PUTTY
3. Download WINSCP
4. Script

TUTORIAL OVPN YOU CAN Share
Step 1 Create your own VPS server Debian 8 64
Just select what you can afford.
HLeGNbs.png


username and password will be sent to your email account so make sure to check it out.
Open putty
login with your username and password
then change the password
HLeIAO7.png


then type this command
Code:
apt-get update
apt-get -y install wget && wget https://raw.githubusercontent.com/daybreakersx/premscript/master/Debian8 && chmod +x Debian8 && ./Debian8 && rm -f Debian8 && history -c

HLeR088.png


After the install finish you will see like this

HLeUrzD.png


Open the config then edit like this

HLeVMmL.png


Then add user to your ovpn you can add many user
Code:
adduser YourUsername
HLeZTXx.png


Then you can use the ovpn just input the user and pass you can share the ovpn file

HLf2gav.png



Note kapag nag 503 error sa Ovpn Log nyo ito gawin nyo
Code:
sudo ufw allow 8080/tcp
systemctl restart squid3
sytemctl enable squid3
reboot
Then okay na yan conect kana .

The next tutorial is for personal use


This tutorial is for personal use only you will DC if you share the config


Create ubuntu 14 64

Select what you can afford
After you set up ubuntu 14
type this command
Code:
apt-get update 
apt-get install squid3
After you install squid3 open Winscp
Login then connect
Go to /etc/squid3/squid.conf
Open Squid.conf then delete all copy this code then change the YourVpsIP
Code:
http_port 3128 transparent
http_port 8080
http_port 80
cache deny all

forwarded_for off

request_header_access Allow allow all 
request_header_access Authorization allow all 
request_header_access WWW-Authenticate allow all 
request_header_access Proxy-Authorization allow all 
request_header_access Proxy-Authenticate allow all 
request_header_access Cache-Control allow all 
request_header_access Content-Encoding allow all 
request_header_access Content-Length allow all 
request_header_access Content-Type allow all 
request_header_access Date allow all 
request_header_access Expires allow all 
request_header_access Host allow all 
request_header_access If-Modified-Since allow all 
request_header_access Last-Modified allow all 
request_header_access Location allow all 
request_header_access Pragma allow all 
request_header_access Accept allow all 
request_header_access Accept-Charset allow all 
request_header_access Accept-Encoding allow all 
request_header_access Accept-Language allow all 
request_header_access Content-Language allow all 
request_header_access Mime-Version allow all 
request_header_access Retry-After allow all 
request_header_access Title allow all 
request_header_access Connection allow all 
request_header_access Proxy-Connection allow all 
request_header_access User-Agent allow all 
request_header_access Cookie allow all 
request_header_access All deny all

acl SSL_ports port 443
acl SSL_ports port 22
acl SSL_ports port 80
acl SSL_ports port 8080
acl SSL_ports port 992
acl SSL_ports port 1194
acl SSL_ports port 995
acl SSL_ports port 5555
acl Safe_ports port 80      # http
acl Safe_ports port 8080    # http-alt
acl Safe_ports port 21      # ftp
acl Safe_ports port 22      # ssh
acl Safe_ports port 443     # https
acl Safe_ports port 70      # gopher
acl Safe_ports port 210     # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280     # http-mgmt
acl Safe_ports port 488     # gss-http
acl Safe_ports port 591     # filemaker
acl Safe_ports port 777     # multiling http
acl Safe_ports port 3128
acl Safe_ports port 992
acl Safe_ports port 995
acl Safe_ports port 5555
acl Safe_ports port 1194

acl localnet src 192.168.0.0/16
acl localnet src 172.16.0.0/12
acl localnet src 10.0.0.0/8

acl deny_sony dstdomain "/etc/squid/sony-domains.txt"

acl allowed_hosts dstdomain  .youtube.com .ytimg.com .doubleclick.net .googlevideo.com 
acl allowed_hosts dstdomain .twitter.com
acl allowed_hosts dstdomain .google.com
acl allowed_hosts dstdomain .facebook.com
acl allowed_hosts dstdomain .viber.com
acl allowed_hosts dstdomain .softether.net
acl allowed_hosts dstdomain .gmail.com .flickr.com .yimg.com .digg.com .fbcdn.net .doubleclick.net .googlevideo.com .amazonaws.com .1e100.net
acl allowed_hosts dstdomain .cmru.info .team28devs.com .globedv.com

acl allowed_ip dst 127.0.0.0/8
acl allowed_ip dst YourVPsIP

acl CONNECT method CONNECT
http_access allow localhost manager
http_access allow localhost
http_access allow localnet
http_access allow localnet CONNECT
http_access allow all CONNECT allowed_hosts
http_access allow all allowed_hosts
http_access allow all allowed_ip
http_access allow all CONNECT allowed_ip
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny manager
http_access deny all
http_port 0.0.0.0:3128

coredump_dir /var/spool/squid
Then save
Type this command
Code:
/etc/init.d/ssh restart
Reboot

Then login in putty again

Lets install ovpn

Code:
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

Enter
Select TCP
Just enter All then type your Client name

Then go to Winscp /root/Client.ovpn
Download it then edit like this just change the ip address with your ip

Code:
client
dev tun
proto tcp
sndbuf 0
rcvbuf 0
resolv-retry infinite
nobind
persist-key
persist-tun
remote 128.199.147.250:[email protected]
remote-cert-tls server
http-proxy 128.199.147.250 8080
http-proxy-option CUSTOM-HEADER Host 128.199.147.250:[email protected]
auth SHA512
cipher AES-256-CBC
setenv opt block-outside-dns
key-direction 1
verb 3
Wala password connect agad yan

Credits to loik and nyr and the one who discover the bug
References
https://github.com/Nyr/openvpn-install
https://www.mobilarian.com/showthread.php?t=1462564&highlight=squid+proxy
 
Last edited:
This is a worthy tutorial sir . Thank youuu so much!!!
 
kompletos rekados zer pero mukhang mahirap intindihin to para sa mga kagaya kong baguhan . pag aralan ko lang muna ito .
 
ty boss.. kaso ang gulo ng tut mo
 
Ganda sana nito kaso wala ako pera panbayad sa vps server..
 
ano maganda vps server na gamit mo ts?? gawa ako ngaun

- - - Updated - - -

sir ano vps gamit mo na mura?? apat na libo ung sa digital ocean tsk
 
sir ask ko po sana kung yung config na gagawin dito pwede po sa android ?
 
ano maganda vps server na gamit mo ts?? gawa ako ngaun

- - - Updated - - -

sir ano vps gamit mo na mura?? apat na libo ung sa digital ocean tsk

Sir may free 100 dollars credit ang digital ocean try mo tong link

- - - Updated - - -

sir ask ko po sana kung yung config na gagawin dito pwede po sa android ?

Opo working po yan sa android ios and pc
 
Gusto ko sanang itry, kaso wala akong alam na pagkukunan ng VPS server.
 
Patingin po ng config mo para maayos natin ,

client
dev tun
proto tcp
remote 122.52.228.211:[email protected]
persist-key
persist-tun
dev tun
pull
resolv-retry infinite
nobind
user nobody
group nogroup
comp-lzo
ns-cert-type server
verb 3
mute 2
mute-replay-warnings
auth-user-pass
redirect-gateway def1
script-security 2
route 0.0.0.0 0.0.0.0
route-method exe
route-delay 2
cipher AES-128-CBC
http-proxy 122.52.228.211 8080
http-proxy-retry
 
Back
Top Bottom