David Richards DavidR at
Tue Feb 27 14:24:34 GMT 2001

Ok now that i have natd working. how would i get it to direct packets from
the internet on port 3389 to a local machine to port 3389 ?

-----Original Message-----
From: Richard Smith [mailto:rsmith at]
Sent: 26 February 2001 11:44
To: David Richards
Cc: 'freebsd-users at'
Subject: Re: Firewall

David Richards wrote:
> Hi
>    I am trying to create a rule that will send packets coming from the
> internet, to an internal machine with the ip address of
> the rules that i have writen is
> ${fwcmd} add fwd tcp from any to 3389
> ${fwcmd} add fwd udp from any to 3389

Syntax error after `fwd'. According to man ipfw(8), the `fwd' action
should be followed by: ipaddr[,port].

IMHO, what your trying to do wont work anyway. Your trying to forward to
an RFC1918 address, you'ld have better luck doing the forwarding using
natd instead.


This message has been checked for all known viruses, by Star Internet, 
delivered through the MessageLabs Virus Control Centre. 
For further information visit:

More information about the Ukfreebsd mailing list