Skip to main content

Questions tagged [firewall]

A firewall is a program that controls the incoming and outgoing network traffic on a system. Use this tag for all questions related to firewall configuration and operation.

499 votes
5 answers
390k views

As I understand this, firewalls (assuming default settings) deny all incoming traffic that has no prior corresponding outgoing traffic. Based on Reversing an ssh connection and SSH Tunneling Made ...
Ali's user avatar
  • 5,471
73 votes
6 answers
309k views

How do we allow certain set of Private IPs to enter through SSH login(RSA key pair) into Linux Server?
Ranjan Kumar's user avatar
69 votes
3 answers
109k views

I am confused what's the actual difference between SNAT and Masquerade? If I want to share my internet connection on local network, should I select SNAT or Masquerade?
Chankey Pathak's user avatar
59 votes
9 answers
107k views

I run a VPS which I would like to secure using UFW, allowing connections only to port 80. However, in order to be able to administer it remotely, I need to keep port 22 open and make it reachable from ...
Carles Sala's user avatar
  • 1,015
54 votes
2 answers
151k views

I'm trying to connect to port 25 with netcat from one virtual machine to another, but it's telling me no route to host, although I can ping.  I do have my firewall default policy set to drop, but I ...
Katz's user avatar
  • 1,111
51 votes
5 answers
115k views

I have a system that came with a firewall already in place. The firewall consists of over 1000 iptables rules. One of these rule is dropping packets I don't want dropped. (I know this because I did ...
Shawn J. Goff's user avatar
50 votes
7 answers
125k views

I have docker installed on CentOS 7 and I am running firewallD. From inside my container, going to the host (default 172.17.42.1) With firewall on container# nc -v 172.17.42.1 4243 nc: connect to ...
adapt-dev's user avatar
  • 1,369
46 votes
9 answers
284k views

I want to set up CentOS 7 firewall such that, all the incoming requests will be blocked except from the originating IP addresses that I whitelist. And for the Whitelist IP addresses all the ports ...
Krishnandu Sarkar's user avatar
44 votes
1 answer
132k views

Do you need to run any of these commands: sudo ufw reload sudo ufw disable sudo ufw enable after adding a rule via sudo ufw allow?
iLW's user avatar
  • 543
41 votes
4 answers
229k views

How do I allow certain ips and block all other connection in iptables?
David's user avatar
  • 543
39 votes
1 answer
38k views

There's an example of iptables rules on archlinux wiki: # Generated by iptables-save v1.4.18 on Sun Mar 17 14:21:12 2013 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] :TCP - [0:0]...
Mikhail Morfikov's user avatar
37 votes
2 answers
64k views

I know linux has 3 built-in tables and each of them has its own chains as follow: FILTER: PREROUTING, FORWARD, POSTROUTING NAT: PREROUTING, INPUT, OUTPUT, POSTROUTING MANGLE: PREROUTING, INPUT, ...
zer0uno's user avatar
  • 1,353
33 votes
6 answers
194k views

We will be deploying a new application to a Server and the application will be listening on port 8443. We have asked Network team to open the firewall for the port 8443 on that server before deploying ...
yottabrain's user avatar
32 votes
5 answers
70k views

I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
cwd's user avatar
  • 47.2k
28 votes
4 answers
88k views

How do I set up the firewall on a system in a LAN so that some ports are only open to connections from the local area network, and not from the outside world? For example, I have a box running ...
hpy's user avatar
  • 4,607

15 30 50 per page
1
2 3 4 5
72