firewalld went wrong, so I managed to fix it.

Can I connect only with the rules described in drop? !!

While I was messing around, I started to refuse the connection unless it was the service, IP, or port set in the drop zone.

# firewall-cmd --get-active-zones
drop
   sources: xx.xx.xx.xx/xx
public
   interfaces: ethx

What's more, when public is default, --add-source = yy.yy.yy.yy/yy will add it to both drop and public, or remove it will remove it from both.

When I tried to return to the initial state by man firewalld, there was something that looked good.

firewall-cmd --permanent --load-zone-defaults=drop

When I did this, drop was no longer active and the settings were cleared.

Finally restored ... It worked as expected.

Recommended Posts

firewalld went wrong, so I managed to fix it.
I introduced Docker to Rails 6, so I summarized it (beginner)
I went to Scala Fukuoka 2019!
I went to JJUG CCC 2019 Spring
I found Lombok useful so I wrote it
I found MyBatis useful, so I wrote it.
I went to the Java Women's Club # 1
[* Java *] I went to JJUG CCC 2017 Fall
Beginner: I get an error on line 30. I don't know where to fix it.
I didn't know what to write in Maven's scope so I looked it up
I want to delete files managed by Git
I don't know, so I'm going to write a list (you don't have to read it)
[Java] I studied polymorphism, so I will summarize how to use it and its merits.
I couldn't run Processing on jdk-9, so I reverted to jdk-1.8 and it worked on Eclipse OXYGEN
7 things I want you to keep so that it doesn't become a fucking code