Martineau
Part of the Furniture
The only way I can tell it's working is because A) my speeds tanked (I expected this) and on the OpenVPN Client 1 stats I was actually seeing some traffic running through it. Also if I looked at the table I could see traffic running over those 2 rules.
So as I said, I "think" this works now. Any other input would be great and also if there's a way to prevent traffic on that port if for some reason the VPN is down would be great. What's that called… IP leak?
Well clearly if you don't know if it is working to your own satisfaction then I doubt anyone else can say for certain if it is or not.
In my post #84, U will see that my script contains the line
Code:
iptables -I FORWARD -i br0 -s $IP_RANGE -o eth0 -j DROP
which attempts to force my selected I/P device to ONLY use the VPN and never revert to use the WAN if the VPN connection is severed.
I'm sure you can create a similar rule based on port rather than source I/P.
Regards,