>> Hello, >> >> I am extremely new to ipfilter/ipnat, and all I am attempting to >> accomplish is to have port 80 on a machine forward to its own port 8080. >> This command will need to be as generic as possible so that it can be >> deployed to other locations that have the same configuration but >> different IP address. >> > > ipnat: > rdr <IF> <SRVIP>/32 port 80 -> 127.0.0.1 port 8080 > > I can't do it more generic than this. You need to set both IP adresses. > But that could be solved by scripting :-)
You could also try rdr <IF> 0.0.0.0/0 port 80 -> 127.0.0.1 port 8080 For redirecting anything going anywhere on <IF> port 80. I haven't tried it myself. Regards Flemming Laugaard
