Home Man
Today's Posts

If you're not sure where to post a Unix or Linux question, post it here. All unix and Linux beginners welcome in this forum!

Firewall config

firewall, gufw, ip range

Login to Reply

Thread Tools Search this Thread
# 1  
Old 12-27-2017
Firewall config

I'm having a bit of a problem with a firewall configuration. I'm using GUFW.

When I launch firefox and it goes to my home page (DuckDuckGo), the browser makes several connections. For example, the output of "ss -prtu":
tcp    ESTAB      0      0   ec2-176-34-131-233.eu-west-1.compute.amazonaws.com:https  users:(("firefox",pid=6371,fd=146))

tcp   ESTAB      0       0   ec2-54-229-110-205.eu-west-1.compute.amazonaws.com:https  users:(("firefox",pid=6371,fd=98))

As an experiment, I want to block both incoming and outgoing connections in the range I added rules to GUFW and the logs reflect this:

[12/27/2017 03:37:33 AM] Editing rule (Adding): myrule | /usr/sbin/ufw deny out from any to > Rule added

[12/27/2017 03:37:06 AM] Editing rule (Adding): myrule | /usr/sbin/ufw deny in from to any > Rule added

I exited Firefox, then restarted firefox and it went to it's home page as normal. In a terminal, I typed ss -prtu and my firewall commands apparently failed because this comes up:

tcp   ESTAB      0      0                                         ec2-176-34-135-167.eu-west-1.compute.amazonaws.com:https                 users:(("firefox",pid=9687,fd=101))

tcp   ESTAB      0      0                                         a88-221-134-48.deploy.akamaitechnologies.com:http                  users:(("firefox",pid=9687,fd=6))

tcp   ESTAB      0      0                                         ec2-52-72-108-51.compute-1.amazonaws.com:https                 users:(("firefox",pid=9687,fd=94))

tcp   ESTAB      0      0                                         ec2-52-72-108-51.compute-1.amazonaws.com:https                 users:(("firefox",pid=9687,fd=95))

Any idea what I'm doing wrong?


Last edited by benc; 12-28-2017 at 08:05 AM.. Reason: code tags
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
(VS 2008) New build config looking files from other folder build config SA_Palani Windows & DOS: Issues & Discussions 1 01-20-2017 04:43 PM
Apache virtual host config vs global config problem freebird8z Red Hat 1 04-05-2013 10:33 AM
Firewall? hadimotamedi Linux 6 07-27-2011 09:59 AM
Firewall jgt SuSE 4 06-19-2011 09:17 AM
Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report muraliinfy04 Shell Programming and Scripting 4 11-04-2010 07:30 AM
Firewall sumathi.k AIX 3 08-24-2010 11:05 AM
parsing config file to create new config files clazzic Shell Programming and Scripting 1 12-27-2009 02:06 PM
help with firewall xecutioner Security 2 08-26-2009 10:32 AM
Ftp to firewall vtran4270 Linux 0 01-30-2004 07:20 PM

All times are GMT -4. The time now is 01:04 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
Show Password