[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PF - problems with nat of port numbers.



On Tue, May 20, 2003 at 11:12:47AM +0100, Peter Galbavy wrote:
> Piotr Zgorecki wrote:
> > nat on $ext_if from 192.168.1.1 port 1234 to any -> ($ext_if) \
> >     port 6112
> 
> Does adding 'static-port' ond the end help ?
> 
Well, static-port at least works as I expected it to work - the port
numbers are not subject to any translation. But I wanted to translate
to a fixed port number - 6112. PF just seems to ignore the 'port 6112'
part, and that ":number" in pf -s nat output is "interesting",
especially that I don't know what it means..
Anybody?

Piotr