Questions tagged [firewall]

A Firewall is an application or hardware device used to inspect and filter network traffic.

4221 questions
1
vote
1 answer

Using Centos Firewall how to assign multiple IPs to a Port?

Setting up a new zone, with a port that has restricted access to an IP address. How does one apply this to more than one IP? $ firewall-cmd --new-zone=special $ firewall-cmd --permanent --zone=special --add-rich-rule=' rule family="ipv4" source…
mcv
  • 945
  • 2
  • 10
  • 17
1
vote
1 answer

How to block CIFS (mounting) access for certain users in Windows Server 2012 R2?

There is a CIFS server running (out of my direct control). It only accepts incoming connections from the other server in question, running on Windows Server 2012 R2, but besides that the CIFS server does not (seem) to care about other access…
1
vote
1 answer

Accessing Network Share over specific Interface

To make backups the server (windows) needs to be able to access a Network-Share from another windows server. In the firewall I have given permission to one of the interfaces to be able to do this access. However always when I try to open up the…
M.T
  • 15
  • 1
  • 5
1
vote
1 answer

How to block IP by interacting with Firewall in JAVA?

I have built an Intrusion Detection System in JAVA. I have a web interface which shows a black listed IP. IP's are categorized as Web attcks, SIP attacks, SSH attacks, Probing and Malware. Now I am required to block this IP which falls in any of…
1
vote
1 answer

OpenWRT: don't forward private networks IPs

How to block any private networks destination IPs (10.0.0.0/8. 172.16.0.0/12, 192.168.0.0/16) to be forward to WAN? When I forget to connect VPN to work I wouldn't like to forward this packages to WAN and it should REJECT those packages so I'll know…
Hadogenes
  • 13
  • 2
1
vote
1 answer

Finding a way to port forward a port-binding application via SOCKS

I'm running a program that binds a specific port on a host computer (running Windows 10) behind a firewall, and I don't have permission to port forward directly through my network. Instead, I'm trying to forward this connection through an external…
user255573
1
vote
0 answers

Sandbox docker container

We have setup a jupyter notebook (https://jupyter-notebook.readthedocs.io/en/latest/notebook.html) within a docker container. The idea is that users connect to jupyter from a web browser on their personal computer, and then can analyse data which is…
1
vote
1 answer

Use of checking conntrack state in INPUT chain

If I want to add INPUT firewall rules in my server suggestions I see is to do the following (port 80 here, but could be any other service's well known port) iptables -A INPUT -p tcp --dport 80 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT How is…
Manohar
  • 229
  • 5
  • 10
1
vote
3 answers

Iptables accept policy

I was wondering what's the difference between accept and drop policy in iptables. Here's how I think it works: Drop policy will drop all packets except those which you make rules for. So you open port manually and other ports are closed. Accept…
sober
  • 11
  • 1
1
vote
1 answer

UFW: Translating iptables rule to UFW

This is the iptables rule: -A INPUT -i eth0 -s 10.2.0.51,10.2.0.52 -d 228.0.0.3 -j ACCEPT How can I translate it to ufw rule? I´ve tried: root@localhost:~# sudo ufw allow from 10.2.0.51,10.2.0.,52 to 228.0.0.3 to any port ERROR: Wrong number of…
Taavi T
  • 11
  • 2
1
vote
2 answers

Azure virtual network site-to-site vpn unable to access public ip

I've setup a virtual network in Azure with a site-to-site VPN tunnel. So far so good, but the tunneled devices cannot access my servies via the public IP, they can only access via the local IP. Seems something prevents VPN devices to access the…
Pål Andreassen
  • 155
  • 1
  • 8
1
vote
1 answer

Can't access NGINX on Virtualbox machine : connection refused

I've setup an ArchLinux box, on VirtualBox, where I installed and configured NGINX service to accept requests from anywhere. listen 80; server_name _; I've also updated my UFW (and also tried disabled it) to allow from anywhere at WWW (80) and I've…
MGP
  • 213
  • 1
  • 5
1
vote
1 answer

SaltStack: Which firewall rule for outgoing traffic on minions?

On a network where all OUTPUT ports are closed by default on minion servers, and only required ports are opened, which ports do I have to open on the minion servers for the communication between the Salt master and Salt minions? This is on Debian…
gogan
  • 215
  • 2
  • 6
1
vote
4 answers

Differences between a server-level firewall and AWS Security Groups?

I was wondering if anyone could give some background on differentiating between a server firewall and AWS Security Groups?
cody.codes
  • 115
  • 5
1
vote
1 answer

Unrecognized destination IP addresses showing in Windows Firewall logs

My Windows server (2012R2) hosted at GoDaddy, has one internet IP address (192.169.xxx.xxx). In the Windows Firewall log I see lots of RECEIVE entries with 'destination ip' other than 192.169.xxx.xxx (e.g. 224.0.0.252). How can this…
PW911
  • 13
  • 1
  • 3