Jump to content

Linux firewall?

Go to solution Solved by DarkEnergy,

I kind of fixed it. Apparently iptables came installed so I added an exception. I still can't connect using Localhost but I can using the external ip....I don't get it. 

I completely forgot how to set it up. I'm trying to run a minecraft server on my shittop. Everything is setup and it's running but I can't connect to it on the local network. I remember that I have to allow the port through a firewall but I don't remember if Linux Mint comes with a firewall and what it's called or if I can have to get one. Any suggestions?

 

CPU - FX 8350 @ 4.5GHZ GPU - Radeon 5700  Mobo - M5A99FX Pro R2.0 RAM - Crucial Ballistix 16GB @ 1600 PSU - Corsair CX600M CPU Cooler - Hyper 212 EVO Storage - Samsung EVO 250GB, WD Blue 1TB

Link to comment
https://linustechtips.com/topic/241867-linux-firewall/
Share on other sites

Link to post
Share on other sites

I kind of fixed it. Apparently iptables came installed so I added an exception. I still can't connect using Localhost but I can using the external ip....I don't get it. 

 

CPU - FX 8350 @ 4.5GHZ GPU - Radeon 5700  Mobo - M5A99FX Pro R2.0 RAM - Crucial Ballistix 16GB @ 1600 PSU - Corsair CX600M CPU Cooler - Hyper 212 EVO Storage - Samsung EVO 250GB, WD Blue 1TB

Link to comment
https://linustechtips.com/topic/241867-linux-firewall/#findComment-3315143
Share on other sites

Link to post
Share on other sites

I kind of fixed it. Apparently iptables came installed so I added an exception. I still can't connect using Localhost but I can using the external ip....I don't get it. 

 

Install UFW its a frontend for Iptables and you can even install a GUI onto it but its not complicated at all via terminal.

just make sure to set up the default rules first:

 

sudo apt-get install ufwsudo ufw statussudo ufw default deny incomingsudo ufw default allow outgoing sudo ufw allow from 192.168.0.0/24 (assuming this is your internal IP it will allow any traffic to and from this subnet meaning it wont stop any windows services such as SMB etc)(if you need to allow a port):sudo ufw allow 'port'sudo ufw enable
 
 

Quack 🦆

Link to comment
https://linustechtips.com/topic/241867-linux-firewall/#findComment-3315148
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×