Stan464 2 Posted ... i AirVPN Forums,Love The Service!.Ok, Well this is my Enquiry,is there a way to Exclude an IP Address on the router, & put it outside the VPN Connection.for example, My laptop is 192.168.1.8 & Thats happily running within VPN.BUT i want 192.168.1.200 To be Outside of this zone & be able to access the internet with 0 VPN Connection..So it will show the ISP's Provided IP Address..Sorry if this question is somewhat vague & Badly Formatted.Thanks.Stan464.More INFORouter: Netgear WNR834BDD/FW: DD-WRT OpenVPN Build.GWIP: 192.168.1.1ISPGW:192.168.0.1 Quote Share this post Link to post
////////////////////////// 3 Posted ... You want to use policy based routing. It should be under OpenVPN client options as 'Policy Based Routing' and you want to put the IP or IP range you wish to NOT route through VPN Quote Share this post Link to post
bubbba 3 Posted ... You want to use policy based routing. It should be under OpenVPN client options as 'Policy Based Routing' and you want to put the IP or IP range you wish to NOT route through VPNWould it be possible to explain this in more detail. I tried what you suggested but it does not seem to work. I have the following setup and would like to exclude my entire DHCP range from the VPN. Static IP's are 10.0.0.30-10.0.0.39 ---> Want these IP's to use my VPN connection.DHCP Range is 10.0.0.40-10.0.0.49 - Want any of these IP's to use my ISP's connection. Router IP is 10.0.0.1 / 255.255.255.0 Any help would be greatly appreciated. Regards,Bubbba Update:I got it to work but it was not just a matter of using the "Policy Based Routing". I also needed to modify my iTables firewall entries. Added 10.0.0.37 to the "Policy Based Routing" in the Open VPN client. This is one of the IP's I want to ALWAYS use the VPN. Added the following to my firewall : iptables -I FORWARD ! -o tun1 -s 10.0.0.37 -j DROP Not sure why this worked but it did. This was information found in multiple messages. 1 Staff reacted to this Quote Share this post Link to post