I may not be the foremost expert on this, but I'm going to take a swing at
this one...
If you take a look at man ipnat(5), all examples include the /mask.
Try this and see if it brings joy:
rdr ed0 192.168.1.1/32 port 21 -> 192.168.1.2 port 21 tcp

(I tested one of my rdr lines without the mask, and got:
10: no netmask on LHS
10: syntax error in "rdr"

when I tried to ipnat -f /etc/ipnat.rules.

HTH,
John Ricker

Microsoft:      "Where do you want to go today?"
Linux:          "Where do you want to go tomorrow?"
FreeBSD:        "Are you guys coming or what?"
----- Original Message -----
From: "fictif" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 30, 2002 8:22 PM
Subject: ipnat.conf syntax ?


Basicly, here is my trouble :

mysticjah# cat ipnat.conf
rdr ed0 192.168.1.1 port 21 -> 192.168.1.2 port 21 tcp
mysticjah# ipnat -f ipnat.conf
1: syntax error in "rdr"


What's wrong ?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to