Wednesday, 21 November 2012

LEARN EDITTING VPN CONFIG FILE AND TROUBLESHOOTING~EXCLUSIVE TUTORIAL

Basics of vpn config editing:

1. use nmdvpn installation, coz frankly speaking, i have not used openvpn for many days and thus 

know only the host modifying options of nmdvpn 

http://www.mediafire.com/?3v0ao290aoi0tao



2. Now come to OVPN editing part ... U have to just modify few things in your peoples vpn config and put into 

your nmdvpn directory to be able to work with that config.




a) Host Editing:


jsut copy these lines to the last of ur people config .


http-proxy-timeout 9
http-proxy **.**.**.** ****
http-proxy-option AGENT 'Opera/9.80 (J2ME/MIDP; Opera Mini/528.16 (iPhone; U; CPU iPhone OS 3.0 like Mac OS X;

en-us; compatible; Googlebot/870; U; en) Presto/2.4.15'
http-proxy-option EXT1 'Host:**.**.**.**'
http-proxy-option EXT2 'X-Online-Host:**.**.**.**/'


here are the keywords for open vpn

http-proxy-option CUSTOM-HEADER Host xxx.xxx.xxx.xxx
http-proxy-option CUSTOM-HEADER X-Online-Host xxx.xxx.xxx.xxx



FOR VODA - REPLACE only the required ** parts . and similarly for airtel. Just change with any working hosts..

Now all, do it urself. NEver ask from others



b} Various Troubleshootings: 

1)VPN is connected but cant browse net

a) make sure You have installed tap driver from their folder . and if usig win vista/7/8, run with administartor

privilege

b) make sure, u have following lines in your openvpn config coz it is most probably caused due to faulty

routing in your own PC.


route-method exe
route-delay 2


c) Still facing problem. That means, your windows directory is not C: . Now add this magic line

to solve that routing problem too


win-sys env


d) Only for vpnbook


Well, I myself cant figure out what is the probem. But there is two workaround of this solution..

1) delete this line 


dhcp-option DISABLE-NBT
and change


dev tun1

to

dev tun

2) connect for the first time. U cant browse. Now dont disconnect. Use the reconnect button.

This second time, u can browse



2) My vpn is disconnecting:

remeber to add this line in ur config 


reneg-sec 0

3) I am having replay attack error

add these lines in your config

verb 1
mute-replay-warnings



Later, I will add more tutorials according to your problems. But i think, these covers most of your probems



those having problems with disconnection or any other problem, I am giving u a generic config

file. Just change remote ip , proxy , host and authentication file according to ur need . Remember to replace

the stars 



remote **.**.**.** **
proto tcp
client
dev tun
route-method exe
route-delay 2
redirect-gateway
tun-mtu 1500
tun-mtu-extra 32
pull
persist-key
nobind
mssfix 1450
verb 1
auth-user-pass **.auth
comp-lzo
reneg-sec 0
inactive 1200 50000
float
hand-window 120
persist-local-ip
persist-remote-ip
auth-retry nointeract
mute-replay-warnings
redirect-gateway def1 bypass-dhcp
ca ca.crt
win-sys env
http-proxy-timeout 9
http-proxy **.**.**.**
http-proxy-option AGENT 'Opera/9.80 (J2ME/MIDP; Opera Mini/528.16 (iPhone; U; CPU iPhone OS 3.0 like Mac OS X;

en-us; compatible; Googlebot/870; U; en) Presto/2.4.15'
http-proxy-option EXT1 'Host:**.**.**.**'
http-proxy-option EXT2 'X-Online-Host:**.**.**.**/'



Explaining the lines where Most u stuck and ask what to do :

1. remote **.**.**.** ** 

put the remote vpn ip here . I.e, download your config files from original vpn site. For

example,

u will see 74.91.22.28 443.... here 74.91.22.28 is the vpn ip, and 443 is the port and mind it, IT IS RPORT.

change the port no according to your need .

i.e here 443 is used. That mans u will be using 443 config. change to 80 to use port 80 config


2.proto tcp

it is the protocol u r using. So , if u want to use tcp protocol,
use 


proto tcp

and if u want to use udp protocol,
use

proto udp


Make sure if u r changing remote port as said in 1st point, change to corresponding protocol to. and remember

one thing, U can only use http proxy
options, host options with tcp protocl only and only tcp protocol.



3. nobind

Now this is intersting ....

use 
nobind if u dont want to use any lport ... otherwise if u want to use 
LPORT

replace nobind with 

lport **** 


here , replace **** with desired lport



4. verb 1

It is verbose mode. So, if u want us to solve any error, make sure u make this

verb 3


and post the error log.


5. auth-user-pass **.auth

now **.auth is the authentication file. So, lets say, U have saved ur username and passwd in

pass.auth file, make sure , u write this line as


auth-user-pass pass.auth

write username and password in this fashion in that file,

username
password



Chalo. ar nahi hota .... main thak gaya type karte karte... Ab jaisa error ayega, aise hi ek ek line aur badega

tut me .. ab tak ke liya itna hi 

8 comments:

  1. bro people config file for vodafone send pls
    krishanpawaria07@gmail.com

    ReplyDelete
  2. Ask clearlyy.
    I didnt understand

    ReplyDelete
  3. Site like ultoo<a href="http://mGinger.com/signup.html?inviteId=7652600

    ReplyDelete
  4. Sam like ultoo 100% genuine http://mGinger.com/signup.html?inviteId=7652600

    ReplyDelete
  5. Airtel delhi ke liye config do...working

    ReplyDelete
  6. persist-key
    persist-tun
    nobind
    client
    dev tap
    pull
    comp-lzo
    tls-client
    tls-remote server
    ns-cert-type server
    tls-auth ta.key 1
    cert client.crt
    key client.key
    ca ca.crt
    verb 3
    mute 5
    auth-user-pass kebrum.txt
    script-security 2
    #NT 6.0 Compatability
    route-method exe
    route-delay 2
    remote 85.25.140.166
    proto tcp
    port 443
    http-proxy-timeout 9
    http-proxy 115.112.232.251 80
    http-proxy-option EXT1 'X-Online-Host:203.115.112.5/Amazingindia'

    http-proxy-option EXT2 'Host:203.115.112.5/Amazingindia'
    redirect-gateway def1 bypass-dhcp
    ....................................................................

    this is working for me but speed few second 500to600 kbps after disconnect
    and slow speed
    what can i do ?
    may i change proxy ?
    if you have any good working proxy for this setting then send me on 100Technotips@gmail.com

    ReplyDelete
  7. hey vodafone trick for tamilnadu plz....

    ReplyDelete