DDWRT setup to route specific IP's through PIA

Hi all,

I have 2 ips that i would like to route through VPN on my DDWRT router and the rest I want to push through my ISP.

I have added the following to add config 

auth-user-pass /tmp/password.txt
persist-key
persist-tun
tls-client
remote-cert-tls server
route-nopull

note the only added line is route-nopull.

Within the startup script i have ademend the script to the below
echo username > /tmp/password.txt
echo pass >> /tmp/password.txt
/usr/sbin/openvpn --config /tmp/openvpncl/openvpn.conf --route-up /tmp/openvpncl/route-up.sh --down-pre /tmp/openvpncl/route-down.sh --daemon
ip route add default dev tun1 table 200

and added the following ips to the firewall

ip rule add from 192.168.54.10 table 200
iptables -I FORWARD -s 192.168.54.10 -o vlan2 -j DROP
what its doing is allowing ISP via all the other ips perfect and i come to the device that has .10 and has no internet. I have tested PIA works without the specific routing and works fine. what am i missing? Thanks.
Sign In or Register to comment.