Hi, I have a simple question but I just need to confirm how this works. I need to exclude another destination IP in the VPN domains but I am not completely sure about how to do it. Currently I have this configuration:
#ifndef NON_VPN_TRAFFIC_RULES
#ifndef IPV6_FLAVOR
#define NON_VPN_TRAFFIC_RULES (dst=X.X.X.X,dport=80)
#else
#define NON_VPN_TRAFFIC_RULES 0
#endif
#endif
I need to add a new destination and port, and not totally sure if I should do it in this way:
#ifndef NON_VPN_TRAFFIC_RULES
#ifndef IPV6_FLAVOR
#define NON_VPN_TRAFFIC_RULES (dst=X.X.X.X,dport=80)
#else
#define NON_VPN_TRAFFIC_RULES (dst=Y.Y.Y.Y,dport=25)
#else
#define NON_VPN_TRAFFIC_RULES 0
#endif
#endif
Can you please confirm if this is the best way to do it or should I do it in a different way? Thanks.