machinist
Occasional Visitor
At the moment, you can't restrict to a specific client IP, but if I get some free time I may add that feature.
Thanks very much for your effort in creating this.
You can always add a manual rule to send all traffic from a specific client over the VPN though
So I can create a manual rule in VPN Director to pass all traffic from a certain device/local IP thru VPN, and then use your script to setup an IPSET to pass thru regular WAN, e.g. BBC iPlayer?
Is that right?
I tried that, and it doesn't seem to function properly.
EDIT: I've set up the script according to your instructions, but only the OVPN rules work for me. Going by your example:
Code:
# Edit this list of rules (just be careful with the single quote at the beginning and end of the list):
RULES='
whatismyipaddress.com|OVPN1
netflix.com|WAN'
-navigating to whatismyipaddress.com shows the VPN IP. However, accessing netflix.com gives the browser error of "can't connect" - it doesn't even try to load. I've tested this with other sites. Appending "|WAN" breaks the connection for me. What do you think it could be?
Last edited: