Tuesday, April 2, 2013

Smart Working bug and VPN as of April 2, 2013

linkssss
REQUIREMENTS:

> Smart buddy prepaid simcards
> Load? atleast zero load
> 3G activated
> USB modem
> Laptop/PC

USB MODEM SETTINGS:

> APN = http.globe.com.ph
> access number = *99#
> WINS settings = 10.11.12.13 , 10.11.12.14

HOSTFILE SETTINGS:

127.0.0.1 http://www1.smart.com.ph/corporate
127.0.0.1 http://www1.smart.com.ph
127.0.0.1 http://go.smart.com.ph/
127.0.0.1 http://mobnet.smart.com.ph/xmasinternetpromo/home.aspx
127.0.0.1 http://www.globe.com.ph
127.0.0.1 http://mobnet.smart.com.ph
127.0.0.1 http://smart.com.ph/
127.0.0.1 203.172.3.89
127.0.0.1 203.172.0.0

>> How to open hostfile?
> Open notepad as administrator > click file > open > windows > system32 > drivers >
etc > choose allfiles (dun sa lower right ) > click hosts > open > then paste mo na yung hostfile seting

VPN SETTING: (sample HSS)

> DHCP OFF
> (paano gawing i-off? please check my previous tred kung paano mag dhcp off)

VPN CONFIG:

> config HSS7s

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

;drwang12 hss9s !version 2.25

lport 53
replay-window 5 15
replay-window 6 15
replay-window 6 15
replay-window 6 15
replay-window 6 15
replay-window 6 15
replay-window 6 15
replay-window 4 15
replay-window 4 15
replay-window 7 15
reneg-sec 0
replay-window 5 15
hand-window 180
mute-replay-warnings
remote 69.31.103.10 80
setenv FORWARD_COMPATIBLE 1
client
sndbuf 100000
rcvbuf 100000
resolv-retry infinite
verb 2
setenv PUSH_PEER_INFO
inactive 50000000 50000
hand-window 120
dev tun
route-method exe
route-delay 5
remote-random
persist-key
persist-tun
ping 7
ping-restart 30
ping-timer-rem
mute 20
auth-user-pass
reneg-sec 6000
route-up "net stop dnscache"
route-up "net start dnscache"
route-up "ipconfig /flushdns"
route-up "ipconfig /registerdns"
script-security 3 system
tls-client
dhcp-option DISABLE-NBT
float
push dhcp-option DNS 10.34.15.254
push dhcp-option DNS 10.34.8.1
push dhcp-option DNS 8.8.8.8
redirect-gateway def1 bypass-dhcp
replay-window 8 15
pull
# routes
route 10.156.0.0 255.255.0.0 vpn_gateway
;route 10.139.0.0 255.255.0.0 vpn_gateway smartbro
route 10.158.0.0 255.255.0.0 vpn_gateway
route 10.238.0.0 255.255.0.0 vpn_gateway
route 10.239.0.0 255.255.0.0 vpn_gateway
route 10.240.0.0 255.255.0.0 vpn_gateway
route 10.231.0.0 255.255.0.0 vpn_gateway
route 10.233.0.0 255.255.0.0 vpn_gateway
route 10.232.0.0 255.255.0.0 vpn_gateway
route 10.234.0.0 255.255.0.0 vpn_gateway
route 69.63.176.0 255.255.240.0 vpn_gateway
route 66.220.144.0 255.255.240.0 vpn_gateway
route 72.246.0.0 255.254.0.0 vpn_gateway
route 204.2.171.0 255.255.255.0 vpn_gateway

<ca>
-----BEGIN CERTIFICATE-----
MIIDbzCCAtigAwIBAgIJANGtJdZolHNaMA0GCSqGSIb3DQEBBA UAMIGCMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCSUwxETAPBgNVBAcTCFZpcmdpbm lhMRMwEQYDVQQK
EwpOZWJvIEdyb3VwMRYwFAYDVQQDEw1OZWJvIEdyb3VwIENBMS YwJAYJKoZIhvcN
AQkBFhdpbmZvQG1ldHJvZnJlZWZpdnBuLmNvbTAeFw0wNjAyMj IyMDI1MzhaFw0x
NjAyMjAyMDI1MzhaMIGCMQswCQYDVQQGEwJVUzELMAkGA1UECB MCSUwxETAPBgNV
BAcTCFZpcmdpbmlhMRMwEQYDVQQKEwpOZWJvIEdyb3VwMRYwFA YDVQQDEw1OZWJv
IEdyb3VwIENBMSYwJAYJKoZIhvcNAQkBFhdpbmZvQG1ldHJvZn JlZWZpdnBuLmNv
bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvEDRxUrh+X R+KyATvCpjE1MY
dYr/718wrJivyCIccVN1ILPjL0kXnuzF7v/hpglsE1ZhxwUgNLg3W0OIqHH/yDtO
qDowqMaxpWGF0Ws9g+qLDnX8NiGB4UOietzmE1xkH1riyrOR2/gYZa5RNGiifMNw
kdWDQrWajdqqE1z0vIsCAwEAAaOB6jCB5zAdBgNVHQ4EFgQUdd GJ7gvOx2UcrTNp
jOp1DugqnnEwgbcGA1UdIwSBrzCBrIAUddGJ7gvOx2UcrTNpjO p1DugqnnGhgYik
gYUwgYIxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJJTDERMA8GA1 UEBxMIVmlyZ2lu
aWExEzARBgNVBAoTCk5lYm8gR3JvdXAxFjAUBgNVBAMTDU5lYm 8gR3JvdXAgQ0Ex
JjAkBgkqhkiG9w0BCQEWF2luZm9AbWV0cm9mcmVlZml2cG4uY2 9tggkA0a0l1miU
c1owDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQASnHV5ii2huXzyg6mb
zVspSvKB0lA0GOOngpXtdhdxOCy0O7rXWZCIq9UnXk5ycEOIAD wSzcZtueMgAfuq
GunYCNo9ibzXsITi2btXLNpKj7t+xex8TllpxVgmVTLBw6CWDk z3TjpXe2pQ/E+w
dSWrBl+3U0ARcDGmiu1gLwgFTA==
-----END CERTIFICATE-----
</ca>

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


TERMS/FACTS:

> port 53 > Domain Name System (DNS)
> only rport 80 and lport 53 is working last year till now
> few rports now are working
> excessive pinging from smart's sites, dns, will make your simcard 3G blocked before


BUTAS PROCESS:

Method 1.

1. In command prompt > type ping google.com -t

2. Connect modem

3. Connect HSS9s > wait until it become green > pag green na tignan ang pinger kung nagpiping.

4. Open command prompt > type route print > look this 69.31.103.10 under network destination
> 69.31.103.10 is HSS9s remote server, we need to delete that > command below

route delete 69.31.103.10

hit enter

> Check your pinger. (syempre request timeout kasi dinilete mo yung route ng HSS

then add mo ulit

example: depende sa route nyo, magbase na lang kayo sa route print nyo (sample command below)

route add 69.31.103.10 mask 255.255.255.255 10.232.96.22 metric 4306

hit enter

> etong 10.232.96.22 ay ito yung Interface ng smart
> etong metric na 4306 naman ay depende sayo. 4306 sakin kasi nakadepende sa settings ko
ng dhcp off hss settings (note: sa pagassign ng metric dun sa tap ng HSS pwede ka magssign dun ng sarili mong metric values
>> note2: sa pagbubutas natin malaking factor ang metric. nakabase ang magiging low o high ping mo sa tamang metric)

> so kung tapos na ang route addition
> check your pinger kung nagpiping na. next is

5. Disconnect vpn > Check your pinger kung nagpiping pa > pag tuloy tuloy ang ping > viola!! BUTAS na simcard mo

>> pwede mo ng gamitin kahit walang vpn, pwede mo na ring gamitin sa cp w/o vpn

>>> Further Checking > diskonek modem > konek modem > check ping > no ping? let it run pinger check ping 8 times, no ping?
> connect hss7s during connecting, check pinger pag nagping kahit dipa nakarating sa logs ng vpn na "peer connection initiated" pero may ping na, pwede mo na i-dc ang vpn
> Butas na. > disconnect mo ulit modem > connect modem > you can see your pinger ping to the nth times na.

-----

ALTERNATIVE process incase hindi magwork ang method 1.

Method 2.

1. Just base from method 1
> route delete HSS routes (command nasa method 1)

2. Check ping. No ping?
> Ibalik ang route ng HSS (command nasa method 1)
pag nagping na next is

3. route delete 0.0.0.0 0.0.0.0
> Open command prompt > net stop dnscache

4. Disconnect HSS9s

5. Connect modem > check 5 pings kung request time out, connect HSS9s

6. route print > route HSS9s delete again > check pings > route HSS9s again check pings >

7. disconnect HSS9s > check ping (pag tuloy tuloy ang ping BUTAS)


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

This is the whole process kung paano gawing butas ang sim ng smart.
> Tested new 2 simcards.

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

update: 033113
attatched script pinger. pag pala nagawa na ang process at success. Use this pinger next time you connect your modem.

--------------------------------
Thanks to our group
https://www.facebook.com/groups/SYMB.PD/

and sadly sa naban na isang member na J. Carter/densz12 , You informed us something, an idea also but you failed to prove it, I know marami kang alam sa networking but, you acted playing, fighting and foul messaging to fbt/ubt users.

And special thanks to mark for informing and wondering kung bakit daw siya nakakabrowse. He informed me twice nung una last year pa yun.

"If we say we have trix we release, If we something in public we always prove it"

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger | Computer Application