i'm working on my config and i came across the redirect which has me confused.
i thought that pass rules were all that were needed.
for example, i'm allowing telnet access to an access server with the following:
while this might seem redundant, i just want to make teh rules as granular as possible.
anyways, do i also have to have a redirect statement to tell the external interface to move the packets that are destined to the telnet port of the access server... or are teh pass rules good enough?
which means do i have to have the following instead:
i thought that pass rules were all that were needed.
for example, i'm allowing telnet access to an access server with the following:
### cisco pod network access
pass in log on $int_if from $hosts proto tcp to $access_server port telnet keep state flags S/SA keep state
pass in log on $ext_if from any proto tcp to $access_server port telnet keep state flags S/SA keep state
while this might seem redundant, i just want to make teh rules as granular as possible.
anyways, do i also have to have a redirect statement to tell the external interface to move the packets that are destined to the telnet port of the access server... or are teh pass rules good enough?
which means do i have to have the following instead:
### cisco pod network access
rdr on $ext_if proto tcp from $router to $ext_ip port 23 -> $access_server
pass in log on $int_if from $hosts proto tcp to $access_server port telnet keep state flags S/SA keep state
pass in log on $ext_if from any proto tcp to $access_server port telnet keep state flags S/SA keep state