Firewall block outgoing connections

Hello together,

per default the firewall drops all incoming and allows alls outgoing traffic.
Is it possible to limit the outgoing connections via whitelisting (like incoming)?.

Best Regards
Christian

On 03/02/2018 07:24 AM, christianmolecki wrote:[color=blue]

Hello together,

per default the firewall drops all incoming and allows alls outgoing
traffic.[/color]

To be clear, UDP and TCP are blocked; other things like ICMP are still
allowed.
[color=blue]

Is it possible to limit the outgoing connections via whitelisting (like
incoming)?.[/color]

I do not know for sure, but you could probably do this with the custom
rules option in the SuSEfirewall2 sysconfig file at
/etc/sysconfig/SuSEfirewall2 :


## Type:        string
#
# Do you want to load customary rules from a file?
#
# This is really an expert option. NO HELP WILL BE GIVEN FOR THIS!
# READ THE EXAMPLE CUSTOMARY FILE AT
/etc/sysconfig/scripts/SuSEfirewall2-custom
#
#FW_CUSTOMRULES="/etc/sysconfig/scripts/SuSEfirewall2-custom"
FW_CUSTOMRULES=""


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.