[Ferm] REDIRECT question

András Kovács Andras.Kovacs at teleconnect.hu
Mon Jul 30 15:27:36 CEST 2012


Dear All,


I'd like to ask about REDIRECT syntax in Ferm. I use v2.1. My goal is to simply redirect a port on my firewall to an internal IP and port (SMTP server, to be precise). NAT is not used here, so port forwarding example provided in manual cannot be used.

My syntax is:

interface $DEV_LAN daddr <my_fw_IP> proto tcp dport smtp REDIRECT to-ports 172.18.1.14:25;

It gives:

REDIRECT: Bad value for "--to-ports" option: "172.18.1.14:25"

When only "to" keyword is used:

Unrecognized keyword: to

I checked FERM manual and it refers only to "to-ports", nothing else. Older FERM manuals also featured "to", but not my version. In FERM source, I can see only handling of "to-ports" parameter.

What am I doing wrong? I would appreciate some help.

Thank you.

Best regards,
Andras Kovacs



More information about the Ferm mailing list