All of lore.kernel.org
 help / color / mirror / Atom feed
* bftables and scripts question
@ 2022-12-24  2:30 ToddAndMargo
  2022-12-24  3:40 ` Reindl Harald
  0 siblings, 1 reply; 4+ messages in thread
From: ToddAndMargo @ 2022-12-24  2:30 UTC (permalink / raw)
  To: netfilter

Hi All,

I am currently using iptables but and starting the process
of learning nftables.

Question.  My iptables are in a bash programs (scripts).

For instance:

if [ "$enable_rdp" = "yes" ]; then
    # Warning: this user is given access to SYN's
    # rdp is M$ Terminal Services
    <lots of iptables>
    logger -p user.notice -t firewall "Firewall external rules warning: 
$ts_server (Terminal Server) accepts SYN's on Port $rdp_port"
fi

Will nftables work the same way?

And, will the converters also roll over the bash code?

Many thanks,
-T



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-24 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-24  2:30 bftables and scripts question ToddAndMargo
2022-12-24  3:40 ` Reindl Harald
2022-12-24  4:35   ` ToddAndMargo
2022-12-24 17:30     ` Reindl Harald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.