Hello,
Q1
ipnat rdr seems to have two ways of defining filtering src/dst addresses
part in the rule syntax. The following two rules are valid for ipnat.
rdr bge1 from 0.0.0.0/0 to 192.168.6.190/255.255.255.255 port = 8080 ->
10.0.0.2 port 8080 tcp round-robin tag "YD:10"
rdr bge1 192.168.6.190/255.255.255.255 port 8080 ->
10.0.0.2 port 8080 tcp round-robin tag "YD:10"
Are these two rules same and do the same job ?
Q2
And also:
rdr bge1 from A to any -> X port 8080
is also valid.
This rule seems to map all trafic from A, to X port 8080. But, is there
way to map all traffic from A, to X without changing the destination
port number?
Thanks,
Yasin