ipVanish OpenVPN Setup

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3, 4  Next
Author Message
flakie
DD-WRT User


Joined: 23 Sep 2017
Posts: 229
Location: Swindon, UK

PostPosted: Thu Oct 05, 2017 14:30    Post subject: Reply with quote
IPVanish have updated and moved their setup guide.
Does not look like there are any changes to me so may just be a new location (the old link is now dead).

https://support.ipvanish.com/hc/en-us/articles/115002080733-DD-WRT-v3-Router-Setup

_________________
Router Model: Netgear R8000
Firmware: DD-WRT v3.0-r41813 std (12/29/19)
Modem: Super Hub 3.0
ISP: Virgin Media 350/35 Mbps

Sponsor
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Thu Oct 05, 2017 21:02    Post subject: Reply with quote
flakie wrote:
IPVanish have updated and moved their setup guide.
Does not look like there are any changes to me so may just be a new location (the old link is now dead).

https://support.ipvanish.com/hc/en-us/articles/115002080733-DD-WRT-v3-Router-Setup


Thank you for the updated link! I wasn't aware that ipVanish had changed their instructions.

I have edited the original & the update Tutorial to include the new link.

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
killakitty
DD-WRT Novice


Joined: 13 Oct 2017
Posts: 5

PostPosted: Sun Dec 10, 2017 22:58    Post subject: Reply with quote
Thanks for the guide, got it up and running in a few miutes. Picked a server in NYC, even though I'm in PA. I'm a cord cutter. I will figure out if I can accept the hit on bandwidth the overhead of the VPN rquires, but more importantly, I lose my local channels on DirecTV Now. I assumed it would think I was in NYC and give me NYC locals instead of PA locals, but I guess it knows my billing address, finds me not there, and just takes away locals. Thoughts?

Thanks!
MC
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Mon Dec 11, 2017 1:33    Post subject: Reply with quote
killakitty wrote:
Thanks for the guide, got it up and running in a few miutes. Picked a server in NYC, even though I'm in PA. I'm a cord cutter. I will figure out if I can accept the hit on bandwidth the overhead of the VPN rquires, but more importantly, I lose my local channels on DirecTV Now. I assumed it would think I was in NYC and give me NYC locals instead of PA locals, but I guess it knows my billing address, finds me not there, and just takes away locals. Thoughts?

Thanks!
MC


My guess is that your billing zip code has to match your ip address zip code, but I could be wrong.
Other than using an antenna to pick up local channels, I can’t think of anything of the top of my head.
I would try the Direct TV / AT&T Community online. I am certain you aren’t the first to have this issue.

Good luck! Mr. Green

When you find a solution please post for the benefit of others and my curiosity. Thanks!

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Mon Dec 11, 2017 10:26    Post subject: Reply with quote
If you make contact with your web browser then be sure to use "in private" browsing or delete all your cookies, your browser also collects geographical cookies which the provider checks.

BBC does this and possibly a lot more

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
wroman0207
DD-WRT Novice


Joined: 30 Dec 2017
Posts: 5

PostPosted: Sun Dec 31, 2017 0:00    Post subject: Reply with quote
This is my first post. Let me first start off by thanking the DD-WRT community.

I had no issues getting my VPN to come up.

The IP vanish software has a "KillSwitch" feature that blackholes traffic in the event the VPN is down. I've seen posts about this but not sure of the best way to do this.

Currently my DD-WRT is my core router, and my intentions are to force all traffic down the VPN. I do have some traffic exceptions, but thats an issue for another thread. Smile

The only additional commands I have are:

persist-key
persist-tun
persist-remote-ip
keysize 256
remote-cert-tls server

Firmware: DD-WRT v3.0-r34311 std (12/29/17
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Sun Dec 31, 2017 0:39    Post subject: Reply with quote
This post has an example of a killwitch command as well as a script created by @eibgrad for use with Policy Based Routing, which from your post, is something you will want later on.

https://www.dd-wrt.com/phpBB2/viewtopic.php?t=288852

More info here:
https://www.reddit.com/r/VPN/comments/4ocjy0/ddwrt_openvpn_killswitch_what_am_i_missing/

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Sun Dec 31, 2017 9:33    Post subject: Reply with quote
When not usign PBR you can add the following to the firewall (Administration/Commands, save firewall):
Code:
iptables -I FORWARD -i br0 -o $(nvram get wan_iface) -m state --state NEW -j REJECT


But there are many more solutions:
from @Sploit:
Code:
iptables -I FORWARD -s 192.168.0.0/16 -o $(nvram get wan_iface) -j DROP


from @Eibgrad:
Code:
WAN_IF="$(ip route | awk '/^default/{print $NF}')"
iptables -I FORWARD -i br0 -o $WAN_IF -m state --state NEW -j REJECT --reject-with icmp-host-prohibited
iptables -I FORWARD -i br0 -p tcp -o $WAN_IF -m state --state NEW -j REJECT --reject-with tcp-reset


From a VPN provider
Code:
iptables -I FORWARD ! -o tun1 -m iprange --src-range 192.168.1.100-192.168.1.150 -j DROP


Happy new year

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
autotech40
DD-WRT Novice


Joined: 08 Feb 2018
Posts: 16

PostPosted: Mon Feb 19, 2018 14:41    Post subject: ipvanish Reply with quote
subscribewd to ipvanish last night and set it up.i cant get connected.system log shows cant connect to host.ive double checked everything.does vpn daemon have to be enabled as well as vpn client? buffalo WZR1750DHP running bs R34760
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Mon Feb 19, 2018 15:08    Post subject: Re: ipvanish Reply with quote
autotech40 wrote:
subscribewd to ipvanish last night and set it up.i cant get connected.system log shows cant connect to host.ive double checked everything.does vpn daemon have to be enabled as well as vpn client? buffalo WZR1750DHP running bs R34760


No. Client enabled only. Can you post a copy of your logs and VPN Client Setup. Make sure to redact any private info such as user id & password.

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
autotech40
DD-WRT Novice


Joined: 08 Feb 2018
Posts: 16

PostPosted: Mon Feb 19, 2018 22:40    Post subject: Reply with quote
Thanks spuriousoffspring,came home from work and internet was blocked by ipvanish. I added your dns and now all working. I didnt see where dns was required in tutorial on ipvanish site,but once again the people here are great.
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Mon Feb 19, 2018 23:21    Post subject: Reply with quote
autotech40 wrote:
Thanks spuriousoffspring,came home from work and internet was blocked by ipvanish. I added your dns and now all working. I didnt see where dns was required in tutorial on ipvanish site,but once again the people here are great.


You are very welcome. Glad you got it working! Mr. Green

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
autotech40
DD-WRT Novice


Joined: 08 Feb 2018
Posts: 16

PostPosted: Tue Feb 20, 2018 20:12    Post subject: Reply with quote
spuriousoffspring,i had a question i thought you could answer.i want to exclude an xbox from ipvanish/vpn.i have read alot of conflicting things on how to make the firewall rules to acomplish this.any ideas on the best/easiest way of doing this?thanks
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Tue Feb 20, 2018 20:58    Post subject: Reply with quote
Policy Based Routing is meant for just that. Mr. Green You would put the IP Address of each device you want to use the VPN Tunnel. Any IP that is left out will connect to the WAN normally.

It’s one IP per line and you must include the subnet so the PBR knows how many IP Addresses in total.

Example: xxx.xxx.x.x/xx

http://www.subnet-calculator.com/

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Wed Feb 21, 2018 9:27    Post subject: Reply with quote
Mind you there is a "bug" in ddwrt meaning that clients in the PBR field (thus using the VPN) can not connect loacally. If you need that then I can give you a link to a script which gets PBR clients local access (not at home now)

Edit: you can also not use a regular kill switch but you need a special script to only kill the PBR clients

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Goto page Previous  1, 2, 3, 4  Next Display posts from previous:    Page 3 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum