Saklansana IPVanish Destek Formu

Online Kimliğinizi ve Verilerinizi Koruyun!.

Giriş yapmadınız.

#1 2014-03-30 20:07:16

akirikci
Üye
Kayıtlı: 2014-03-30
Mesajlar: 2

DDwrt destekli router ile vpn

Arkadaşlar merhaba. Bundan 1 ay Linksys E1200 router aldım ve DD-wrt build 21061 yazılımını yükledim. ipVanish'den de 1 aylık üyelik aldım. Sitesindeki anlatımı uygulayarak routera vpn i kurdum. Hiç bir sorun olmadan istediğim servera bağlanabiliyordum, netflix gibi Türkiye'den erişimi olmayan sitelere girebiliyordum. Fakat Twitter yasaklandıktan sonra farkettim ki yasaklı sitelere erişim sağlayamıyormuşum. ipVanish müşteri hizm. ile bağlantıya geçtiğimde bana bazı farklı ayarlar yapmam söylendi. Onları uyguladıktan sonra bu sefer internete hiç bir şekilde bağlanamadım. Bu sebeple şu an sadece pc deki yazılım ile vpn hizm. kullanıyorum. İpvanish müşteri hizmetlerinin bana söyledikleri ayarları ve benim ayarlarımın olduğu ekran görüntülerini aşağıda sizinle paylaşacağım.Sizlerden ricam nerelerde yanlışlar yapıyorum bana bu konuda yardımcı olmanız. Bu sorun olmadan genel olarak çok memnunum ipvanish den ve 1 nisanda üyeliğim bitiyor. Eğer bu sorunu halledebilirsem 1 yıllık tekrar üyelik alacağım. Yardımlarınız için şimdiden teşekkürler.

İpvanish'den gelen mail:
Hello,
Thank you again for contacting support. The instructions on our site is for those who have an older build of DD-WRT that doesn't include all the different settings that the visual guide is asking for. That means those values have to be defined manually... and by manually I mean a script. This can also be used for those who can't get the GUI setup on newer builds of DD-WRT to connect properly. Before going this route, it is strongly recommended that you do a 30/30/30 reset on the router. Follow the directions below.
> * Turn on Logging
> -- Services > Services > Syslogd > Enable
> -- Click the 'Apply Settings' button at the bottom
>
> * Make sure OpenVPN is NOT enabled.
> -- Services > VPN > OpenVPN Client > Disable
> -- Click Apply Settings at the bottom
>
> * Reboot the router
> -- Administration > Management > (scroll to the bottom) Reboot Router
> [you may get a screen saying that the webpage couldn't load. Just refresh the screen]
>
> * Create the startup file
> -- Administration > Commands
> -- Paste in the following script shown between (but not including) the lines...
>
> -----
> #!/bin/sh
>
> SERVER="man-c01.ipvanish.com"
> PROTOCOL="udp" # You can use tcp or udp, but make sure the letters are lowercase.
> PORT="443" # You can select port 443 for either tcp or udp. Port 1194 also works for udp.
> USER="MYUSERNAME" # Replace MYUSERNAME with your IPVanish Username.
> PASS="MYPASSWORD" # Replace MYPASSWORD with your IPVanish Password.
>
> # This script will cause the entire router startup sequence to be about 2 minutes.
>
> ntpclient pool.ntp.org
> stopservice process_monitor
> startservice process_monitor
> sleep 30
>
> mkdir /tmp/openvpncl
>
> echo client > /tmp/openvpncl/openvpn.conf &&
> echo dev tun >> /tmp/openvpncl/openvpn.conf &&
> echo proto "$PROTOCOL" >> /tmp/openvpncl/openvpn.conf &&
> echo remote "$SERVER" "$PORT" >> /tmp/openvpncl/openvpn.conf &&
> echo resolv-retry infinite >> /tmp/openvpncl/openvpn.conf &&
> echo nobind >> /tmp/openvpncl/openvpn.conf &&
> echo persist-key >> /tmp/openvpncl/openvpn.conf &&
> echo persist-tun >> /tmp/openvpncl/openvpn.conf &&
> echo persist-remote-ip >> /tmp/openvpncl/openvpn.conf &&
> echo tun-mtu 1500 >> /tmp/openvpncl/openvpn.conf &&
> echo ca /tmp/openvpncl/ca.crt >> /tmp/openvpncl/openvpn.conf &&
> echo tls-remote "$SERVER" >> /tmp/openvpncl/openvpn.conf &&
> echo auth-user-pass /tmp/auth.conf >> /tmp/openvpncl/openvpn.conf &&
> echo comp-lzo >> /tmp/openvpncl/openvpn.conf &&
> echo verb 4 >> /tmp/openvpncl/openvpn.conf &&
> echo auth SHA256 >> /tmp/openvpncl/openvpn.conf &&
> echo cipher AES-256-CBC >> /tmp/openvpncl/openvpn.conf &&
> echo keysize 256 >> /tmp/openvpncl/openvpn.conf &&
> echo tls-cipher DHE-RSA-AES256-SHA >> /tmp/openvpncl/openvpn.conf &&
> echo script-security 3 system >> /tmp/openvpncl/openvpn.conf
> echo log /tmp/openvpncl/openvpn.log >> /tmp/openvpncl/openvpn.conf
> echo daemon >> /tmp/openvpncl/openvpn.conf
> echo status-version 3 >> /tmp/openvpncl/openvpn.conf
> echo status /tmp/openvpncl/status.log 5 >> /tmp/openvpncl/openvpn.conf
> echo -e "$USER\n$PASS" > /tmp/auth.conf
>
> chmod 600 /tmp/auth.conf
>
> echo -----BEGIN CERTIFICATE----- > /tmp/openvpncl/ca.crt
> echo MIIErTCCA5WgAwIBAgIJAMYKzSS8uPKDMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYD >> /tmp/openvpncl/ca.crt
> echo VQQGEwJVUzELMAkGA1UECBMCRkwxFDASBgNVBAcTC1dpbnRlciBQYXJrMREwDwYD >> /tmp/openvpncl/ca.crt
> echo VQQKEwhJUFZhbmlzaDEVMBMGA1UECxMMSVBWYW5pc2ggVlBOMRQwEgYDVQQDEwtJ >> /tmp/openvpncl/ca.crt
> echo UFZhbmlzaCBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBpcHZhbmlzaC5jb20w >> /tmp/openvpncl/ca.crt
> echo HhcNMTIwMTExMTkzMjIwWhcNMTcwMTEwMTkzMjIwWjCBlTELMAkGA1UEBhMCVVMx >> /tmp/openvpncl/ca.crt
> echo CzAJBgNVBAgTAkZMMRQwEgYDVQQHEwtXaW50ZXIgUGFyazERMA8GA1UEChMISVBW >> /tmp/openvpncl/ca.crt
> echo YW5pc2gxFTATBgNVBAsTDElQVmFuaXNoIFZQTjEUMBIGA1UEAxMLSVBWYW5pc2gg >> /tmp/openvpncl/ca.crt
> echo Q0ExIzAhBgkqhkiG9w0BCQEWFHN1cHBvcnRAaXB2YW5pc2guY29tMIIBIjANBgkq >> /tmp/openvpncl/ca.crt
> echo hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt9DBWNr/IKOuY3TmDP5x7vYZR0DGxLbX >> /tmp/openvpncl/ca.crt
> echo U8TyAzBbjUtFFMbhxlHiXVQrZHmgzih94x7BgXM7tWpmMKYVb+gNaqMdWE680Qm3 >> /tmp/openvpncl/ca.crt
> echo nOwmhy/dulXDkEHAwD05i/iTx4ZaUdtV2vsKBxRg1vdC4AEiwD7bqV4HOi13xcG9 >> /tmp/openvpncl/ca.crt
> echo 71aQ55Mj1KeCdA0aNvpat1LWx2jjWxsfI8s2Lv5Fkoi1HO1+vTnnaEsJZrBgAkLX >> /tmp/openvpncl/ca.crt
> echo pItqP29Lik3/OBIvkBIxlKrhiVPixE5qNiD+eSPirsmROvsyIonoJtuY4Dw5K6pc >> /tmp/openvpncl/ca.crt
> echo NlKyYiwo1IOFYU3YxffwFJk+bSW4WVBhsdf5dGxq/uOHmuz5gdwxCwIDAQABo4H9 >> /tmp/openvpncl/ca.crt
> echo MIH6MB0GA1UdDgQWBBRL/RQliR3nwXCD1/afERwlThnurjCBygYDVR0jBIHCMIG/ >> /tmp/openvpncl/ca.crt
> echo gBRL/RQliR3nwXCD1/afERwlThnurqGBm6SBmDCBlTELMAkGA1UEBhMCVVMxCzAJ >> /tmp/openvpncl/ca.crt
> echo BgNVBAgTAkZMMRQwEgYDVQQHEwtXaW50ZXIgUGFyazERMA8GA1UEChMISVBWYW5p >> /tmp/openvpncl/ca.crt
> echo c2gxFTATBgNVBAsTDElQVmFuaXNoIFZQTjEUMBIGA1UEAxMLSVBWYW5pc2ggQ0Ex >> /tmp/openvpncl/ca.crt
> echo IzAhBgkqhkiG9w0BCQEWFHN1cHBvcnRAaXB2YW5pc2guY29tggkAxgrNJLy48oMw >> /tmp/openvpncl/ca.crt
> echo DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAho5ynpvtXISz3neqGXpL >> /tmp/openvpncl/ca.crt
> echo BBlOM35pd1ZSNHLCb2yHQwAjZbfYqfX2MDs9ytH4Cf1OfaVqwe777QyyIC2XR2QK >> /tmp/openvpncl/ca.crt
> echo kw4c2hCT8wPzWhmkLx8Q+jnKdOKkdz+L8+Ji9/vjtaFOcYjMDalI6CbjBiuMFWhB >> /tmp/openvpncl/ca.crt
> echo IzOaYljmA2UeQCVIz9aW80BC8+sLQ6oeWVnFjx7zqK1gbbc2bNuy3slOMdyoEj2m >> /tmp/openvpncl/ca.crt
> echo hkxfiffuHKV+GQoR7tFIr3M7KFFwYgkXeyLh1Pc0rZu7dGe4fUAbR1okB1DgelBd >> /tmp/openvpncl/ca.crt
> echo n6rWTZ8XcNzT/YngtH4bXB9DM7pKWpDWc94va4hFrGgaOxjE861TdoDqHaMO9bW+ >> /tmp/openvpncl/ca.crt
> echo Pg== >> /tmp/openvpncl/ca.crt
> echo -----END CERTIFICATE----- >> /tmp/openvpncl/ca.crt
>
> chmod 644 /tmp/openvpncl/ca.crt
>
> touch /tmp/openvpncl/openvpn.log
> chmod 664 /tmp/openvpncl/openvpn.log
>
> echo "#!/bin/sh" > /tmp/openvpncl/route-up.sh
> echo "iptables -I POSTROUTING -t nat -o tun0 -j MASQUERADE" >> /tmp/openvpncl/route-up.sh
> echo "iptables -I INPUT -t filter -i tun0 -j ACCEPT" >> /tmp/openvpncl/route-up.sh
> echo -e "#!/bin/sh\nsleep 2" > /tmp/openvpncl/route-down.sh
> echo "iptables -D POSTROUTING -t nat -o tun0 -j MASQUERADE" >> /tmp/openvpncl/route-down.sh
> echo "iptables -D INPUT -t filter -i tun0 -j ACCEPT" >> /tmp/openvpncl/route-down.sh
>
> chmod 700 /tmp/openvpncl/route-up.sh
> chmod 700 /tmp/openvpncl/route-down.sh
>
> (openvpn --config /tmp/openvpncl/openvpn.conf --ca /tmp/openvpncl/ca.crt --route-up /tmp/openvpncl/route-up.sh --down-pre /tmp/openvpncl/route-down.sh &)
>
> sleep 480
> echo "*** SYSTEM REPORT ***" > /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> echo "------------> * OpenVPN Information * <------------" >> /tmp/openvpncl/report.txt
> echo "Command: openvpn --version" >> /tmp/openvpncl/report.txt
> echo "Command: cat /tmp/openvpncl/status.log" >> /tmp/openvpncl/report.txt
> echo "Command: cat /tmp/openvpncl/openvpn.log" >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> openvpn --version >> /tmp/openvpncl/report.txt
> cat /tmp/openvpncl/status.log >> /tmp/openvpncl/report.txt
> cat /tmp/openvpncl/openvpn.log >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> echo "------------> * System Log * <------------" >> /tmp/openvpncl/report.txt
> echo "Command: cat /var/log/messages" >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> sleep 120
> cat /var/log/messages >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> echo "------------> * Current Adapters * <------------" >> /tmp/openvpncl/report.txt
> echo "Command: ifconfig" >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> ifconfig >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> echo "------------> * IP Tables * <------------" >> /tmp/openvpncl/report.txt
> echo "Command: iptables -nvxL" >> /tmp/openvpncl/report.txt
> echo "Command: iptables -nvxL nat" >> /tmp/openvpncl/report.txt
> echo "Command: ip ro" >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> iptables -nvxL >> /tmp/openvpncl/report.txt
> iptables -nvxL nat >> /tmp/openvpncl/report.txt
> ip ro >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> echo "------------> * Processes * <------------" >> /tmp/openvpncl/report.txt
> echo "Command: ps" >> /tmp/openvpncl/report.txt
> echo >> /tmp/openvpncl/report.txt
> ps >> /tmp/openvpncl/report.txt
>
> exit 0
> -----
* Change the server if you're not happy with the one I have at the top of the script
* Change the protocol and port using the information in the script if you want (not required)
* Make sure you put in your own username and password at the top of the script
* Click the 'Save Startup' button at the bottom of the page after all changes are made
* Reboot the router again
Administration > Management > (scroll to the bottom) Reboot Router
[you may get a screen saying that the webpage couldn't load. Just refresh the screen]
-- Wait 5 minutes
-- Test the connection at www.ipvanish.com and/or whatismyip.com

* The script also creates a report that gathers all the important system information of the router for troubleshooting. If the connection doesn't work, you can copy/paste this information into an email and send it our way. To get it...
-- Administration > Commands
-- Paste in the following, and click the 'Run Command' button at the bottom.

> cat /tmp/openvpncl/report.txt

If you have any further questions or concerns, feel free to reply and we will be happy to help.

Regards,

Çevrimdışı

#2 2014-03-30 20:18:32

akirikci
Üye
Kayıtlı: 2014-03-30
Mesajlar: 2

Yanıt: DDwrt destekli router ile vpn

Arkadaşlar bu linkte de ayarlarımın ekran görüntüleri var.


http://rapidshare.com/share/84DFEFEAA84 … FD34386525

Son düzenleyen akirikci (2014-03-31 18:29:50)

Çevrimdışı

#3 2014-03-31 00:10:23

admin
Yönetici
Kayıtlı: 2014-02-06
Mesajlar: 12

Yanıt: DDwrt destekli router ile vpn

Tüm bu denemeleriniz olmadıysa DD-wrt build 21061 yerine IPVanish'in destekledigi build'in hangisi oldugunu IPVanish'ten ogrenip o build'i yukleme alternatifini sorabilir misiniz?

Çevrimdışı

Forum alt kısmı