Questions tagged [rules]
136 questions
3
votes
1 answer
Exchange resource mailbox rule
I have a resource mailbox set up in Exchange 2010 with auto attendant and it is auto accepting meetings without a problem. What I'm looking for it to do is the following:
If a meeting is approved send out an approval email.
If a meeting is…

Brandon
- 31
- 1
3
votes
1 answer
Force users to use BCC
I want to force users sending mail to my server to use BCC (we're
getting a lot of internal spam created by mailings to 30+ mailing
lists which then reply to all).
I thought spamassassin could be a good place to start since it is already used for…

dtech
- 633
- 2
- 10
- 27
3
votes
2 answers
Default Centos 5.4 iptables rules?
For what are these rules in the default iptables shipped with centos 5.4 ?
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p…

benjisail
- 1,331
- 5
- 19
- 32
2
votes
1 answer
Slow rules inserting in UFW
I need to block about 10 000 IP addresses in my firewall, I have all IP addresses in file, so I run this command from command line:
while read line; do sudo ufw insert 1 deny from $line; done < IP_addresses
And it works, it inserts rules, but it is…

tomsk
- 287
- 1
- 6
- 18
2
votes
1 answer
Overwritten auditd rules in PCI DSS environement
I'm setting up a PCI DSS environment and I'm facing the next problem. When installing de OS (CentOS 7.3 Minimal) I've choosen the profile "PCI DSS".
When I was checkin the rules applied on /etc/audit/audit.rules there was an enourmous number of…

Abel
- 322
- 3
- 13
2
votes
1 answer
Nginx reverse proxy trailing slash
This question is already answered multiple times but in my case there is a twist.
I am having a node app which is running on port 3000. I am using nginx to reverse proxy. Now the application only works if there is a slash in the end.
So this works:…

Minato Namikaze
- 123
- 1
- 3
2
votes
1 answer
how to configure ipaddress filters with system-config-firewall
The system is Fedora 23. The objective is to allow a specific port or range of ports access from a limited set of ip addresses. This can be done manually withe the following rule:
-A INPUT -m state --state NEW -m tcp -p tcp -s 10.0.0.0/16 --dport…

dan sawyer
- 141
- 2
- 12
2
votes
1 answer
Configuring firewall rules
I am trying to configure firewall rules for my windows PC
i would like to achieve this scenario
All packets from PC A will use this proxy server x.x.x.x at port AA
However, these are my rules
Allow Local Address x.x.x.x Remote Address Any Local…

aceminer
- 145
- 1
- 5
2
votes
2 answers
saving iptables rules without logging in to root
I am trying to save iptables rules file to /etc/sysconfig/iptables. I want to do this without logging in to root. I tried to using
sudo iptables-save > /etc/sysconfig/iptables
but it throws permission denied error.
How can i save the file…

john
- 45
- 1
- 7
2
votes
1 answer
Iptables rule to block ip range for a specific string (works sometimes)
After a two week search and read I ended up with this iptable rule that blocks youtube (as string) to an ip range in my office network.
iptables -A FORWARD -t filter -m iprange --src-range 10.217.76.60-10.217.76.70 -m string --algo bm --string…

ASK
- 41
- 1
- 7
2
votes
1 answer
IPCop Packet Mangling
I've found myself in a pickle replacing an old firewall for a client this afternoon. I'm configuring their new IPCop firewall (1.4.21), Zerina OpenVPN addon is installed.
What I need to do: There are three network interfaces, currently set up as red…

Zenham
- 622
- 5
- 11
2
votes
1 answer
Programatically Creating Outlook Rules
I need to distribute a rule to all my users. Conditions are subject contains, from and has attachment. I didn't want to reinvent the wheel for this, so I initially tried New-InboxRule from the Exchange 2010 Management Shell. I was able to create…

Steven
- 141
- 3
2
votes
1 answer
Domain based firewall outbound rules
We have a webserver (IIS) hosting some e-commerce websites. Our firewall in front of the server has a restriction on inbound and outbound traffic. The webserver makes outbound calls to payment providers (and other third party services) using DNS…

user154707
- 21
- 2
2
votes
2 answers
nginx: Disallow Access to a Folder, except some subfolders
How it is possible to deny access to a folder, but except some subfolders in it from "deny"?
I tried something like this (in this order):
#this subfolder shouldn't be denied and php scripts inside should be executable
location ~ /data/public {
allow…

carrot
- 97
- 1
- 1
- 10
2
votes
2 answers
iptables rejects everything it should accept
Everybody, hello!
I'm trying to setup my server firewall using iptables (I have to admit that last time I used iptables was a year ago), but iptables acts contrary to what I ask.
Here is my test script :
#!/bin/sh
IPT="/sbin/iptables"
echo -n…

Penegal
- 156
- 1
- 14