[Ferm] Request for help with port forward

András Kovács Andras.Kovacs at teleconnect.hu
Mon Jan 16 15:23:28 CET 2012


Max,

This would be the call:

&FORWARD_LAN($SMTP_SERVERS, tcp, smtp, smtp);

The function (again):

@def &FORWARD_LAN($dest, $proto, $port_external, $port_internal) = {
    table filter chain FORWARD interface $DEV_INTERNET outerface $DEV_LAN daddr $dest proto $proto dport $port_internal ACCEPT;
    table nat chain PREROUTING interface $DEV_INTERNET daddr $NET_NAT_STATIC proto $proto dport $port_external DNAT to "$dest:$port_internal";
}

> Yes, you are right about the manuals. What should I do?
I said it already: "If you use an outdated ferm version, you should be reading an outdated manual version!"

I try to say that there is no solution in outdated ferm man pages to cover the above. That's why I am asking help.

I guess that upgrading to v2.1 would solve this issue using @cat.

Thanks.

Andras




More information about the Ferm mailing list