For clients I have set to go through the vpn I have a rule such as the below to stop their traffic going via the normal wan as I do not 100% trust the vpn policy routing/myself to stop them
iptables -A FORWARD -o ppp0 -s 192.168.0.25 -j DROP
however I have this rule under vpn policy routing: src 0.0.0.0 dest: 212.58.224.0/19 wan
My question is what rule do I need to add to allow 192.168.0.25 and all other clients traffic to 212.58.224.0/19 over the wan (ppp0) whilst still blocking all other traffic as per the rule above?
Iptables –A FORWARD –d 212.58.224.0/19 –j ACCEPT ?? and does it need to run before or after the drop rule?
Many thanks
iptables -A FORWARD -o ppp0 -s 192.168.0.25 -j DROP
however I have this rule under vpn policy routing: src 0.0.0.0 dest: 212.58.224.0/19 wan
My question is what rule do I need to add to allow 192.168.0.25 and all other clients traffic to 212.58.224.0/19 over the wan (ppp0) whilst still blocking all other traffic as per the rule above?
Iptables –A FORWARD –d 212.58.224.0/19 –j ACCEPT ?? and does it need to run before or after the drop rule?
Many thanks
Last edited: