View attachment 10671
What exactly does OTHER do? Forward all ports? Does it change "Port Range/Local Port" to IP protocol number instead so I could forward ICMP/GRE/SCTP traffic instead? Unlikely, but still confused what this actually does.
// Handle raw protocol in port field, no val1:val2 allowed
if (strcmp(proto, "OTHER") == 0) {
protono = strsep(&c, ":");
fprintf(fp, "-A %s %s -p %s -j DNAT --to %s\n", chain, srcips, protono, dstip);
We use essential cookies to make this site work, and optional cookies to enhance your experience.