vineri, 23 septembrie 2011

VPN for iPhone with DDWRT

for all of you that wanted to have a secure connection for your iPhone i have good news; i'm sure i'm not the first ..but i made it

requirments:

a)a nice router which firmware can be changed to ddwrt (for tutorial it vary from router to router but you will find plenty of tutorials); despite the fact that configuring pptp vpn server it's pretty easy:
  1. go to services -> vpn -> pptp server - enable
  2. enter one local ip address
  3. i use google dns servers
  4. define the range of ip's that should be allocated
  5. define users, one per line ..pay close attention to spaces here - ex: john * pass *
IMPORTANT: despite on security tab-> vpn passthru pptp is enabled i didn't managed to make it work until i went to administration tab -> commands -> and added 2 lines to firewall:

iptables -I INPUT -p udp --dport 1723 -j ACCEPT
iptables -I INPUT -p udp --dport 47 -j ACCEPT

...the credit for these commands, as i am no linux expert, goes to my master friend
..and also big thanks for the guys who developed DD-WRT; i just love it
b)one smartphone with pptp vpn support


since i am very tired ..i will end here ..but if u need more support don't hesitate to leave a comment
cheers,

Niciun comentariu: