Jump to content

Linux firewall?

DarkEnergy
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
Share on other sites

Link to post
Share on other sites

Clicked expecting "Linus Farewell"..

 

Needless to say, I was disappointed.

 

 

on topic: you can get a piece of hardware which acts as a firewall instead, which could be more effective.

Compatible with Windows 95

Link to comment
Share on other sites

Link to post
Share on other sites

It could come with UFW (Uncomplicated Firewall):

 

Do a sudo ufw status to see if its running in your system.

 

 

here is the UFW wiki:

https://help.ubuntu.com/community/UFW

Intel I9-9900k (5Ghz) Asus ROG Maximus XI Formula | Corsair Vengeance 16GB DDR4-4133mhz | ASUS ROG Strix 2080Ti | EVGA Supernova G2 1050w 80+Gold | Samsung 950 Pro M.2 (512GB) + (1TB) | Full EK custom water loop |IN-WIN S-Frame (No. 263/500)

Link to comment
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
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
 
 

Intel I9-9900k (5Ghz) Asus ROG Maximus XI Formula | Corsair Vengeance 16GB DDR4-4133mhz | ASUS ROG Strix 2080Ti | EVGA Supernova G2 1050w 80+Gold | Samsung 950 Pro M.2 (512GB) + (1TB) | Full EK custom water loop |IN-WIN S-Frame (No. 263/500)

Link to comment
Share on other sites

Link to post
Share on other sites

'localhost'

lower case 'l'

ifconfig - check 'lo' interface is there

also try 127.0.0.1

Link to comment
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

×