>> In some email I received from Guido van Rooij, sie wrote: >>> On Fri, Oct 15, 2004 at 10:39:37PM -0400, [EMAIL PROTECTED] >>> wrote: >>> > Hello, >>> > I have a somewhat unusual requirement here. >>> > >>> > >From inside a firewall connected to the internet on outside, I would >>> like >>> > for all outgoing packets that their destination port be rewritten in >>> > addition to being natted. >>> > >>> > map tuno 192.168.0.0/24 <destination port of packets 8080> -> 0/32 >>> > <destination port 80> >>> >>> You could try: >>> map tun0 from any to 192.168.0.0/24 port = 8080 -> 0.0.0.0/32 portmap >>> tcp 80:80 >>> >>> (I'm not sure it it should be 80:80 or 80:81). >> >> I think it is better to just use a redirect on the internal side of >> the firewall..
Darren, As far as I understand "rdr" works only for one to one ip translation and ports. Please let me know what the command will be here as I am changing the port only of packets going to the internet(which could be going anywhere). Thanks a lot. -Dave
