Thursday, August 4, 2011

New Smart Config For VPN Owners

Posted by vonne at 3:22 PM
Note: This Fix is Temporary or Permanent(Not So Sure) but Works Nice and Fast.
NEW SMARTY CONFIG FOR VPN OWNERS.

Since UDP Config for Smarty is not working anymore, here's new Smart Config that will surely work. this will be a temporary fix since we will be using proxy to connect to smart.

Server Config:
  
local [Your IP HERE]
port 443
proto tcp
dev tun
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 10.9.0.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 4.2.2.1"
keepalive 5 30
comp-lzo
persist-key
persist-tun
status server-tcp.log
status-version 2
verb 3

save it as let's say smart.conf
and dont forget to set iptables for this config.
iptables -t nat -A POSTROUTING -s 10.9.0.0/24 -j SNAT --to [Your IP Here]
then let's run this config.
openvpn /etc/openvpn/smart.conf


Create Client Config For This smart.conf


Client Config:
client
dev tun
proto tcp
remote [Your IP Here] 443
keepalive 10 120
resolv-retry infinite
redirect-gateway def1 bypass-dhcp
tun-mtu 1500
tun-mtu-extra 32
comp-lzo
mute 3
mute-replay-warnings
float
nobind
ping-timer-rem
mssfix 1450
persist-key
persist-tun
ca ca.crt
route-method exe
reneg-sec 0
auth-user-pass password.txt [It could be password.txt,account.txt etc.]
verb 2
http-proxy 10.102.61.46 8080 << Note We Will Be Using Proxy To Connect So This is only Temporary Fix Till There's More Proxy For Smart.
Credits to sk8er431, Me and MoonlightVPN and All Symbianizers who have shared FreeVPNs
 

0 comments:

Post a Comment

Link Love

Technology & Computers - Top Blogs Philippines Philippines Blog Directory Blog Directory Top Technology blogs Blog Directory Ping your blog, website, or RSS feed for Free Bloggers - Meet Millions of Bloggers MobTechTunnel Online Marketing
Add blog to our directory.
Related Posts Plugin for WordPress, Blogger...
 

Copyright © 2011 MobTechTunnel | Design by Kenga Ads-template