Good day to everyone!
I have to sort through a pf.conf file and put the required information into a spreadsheet so that others may pick it apart and setup new firewalls based on this config. However, I am having issues reading some of these rules so a little help would be nice
Also, I am a little lost on the nat stuff. I presume this is considered a static NAT?
Finally, here is another one that really gets me
Let me know if you need pseudo IP addresses to work with this.
Thank you
I have to sort through a pf.conf file and put the required information into a spreadsheet so that others may pick it apart and setup new firewalls based on this config. However, I am having issues reading some of these rules so a little help would be nice
Code:
pf0
pass out quick on $tw_ext_if route-to ($hs_ext_if $hs_gateway) from <hs_drones_ext> to any queue hsmail
[code]pf1
pass out quick on $hs_ext_if route-to ($tw_ext_if $tw_gateway) from <tw_drones_ext> to any queue twmail
Also, I am a little lost on the nat stuff. I presume this is considered a static NAT?
Code:
pf2
rdr on {$hs_ext_if} proto tcp from any to {$hs_drone1_ext} port 25 -> {$hs_drone1_int}
nat on {$tw_ext_if} proto tcp from {$hs_drone1_int} to any -> {$hs_drone1_ext}
Finally, here is another one that really gets me
Code:
pf3
rdr on {$hs_ext_if} proto tcp from {$hosted_dns} to {$ns1_ext} port { 53 } -> {$admin2_int}
rdr on {$int_ifs} proto udp from <int_net> to {$ns1_ext} port 53 -> $admin2_int
nat on {$int_ifs} proto udp from <int_net> to $admin2_int port 53 -> $router_int
Let me know if you need pseudo IP addresses to work with this.
Thank you