Questions tagged [rules]

131 questions
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,321
  • 5
  • 16
  • 32
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

All methods of making iptables persist are not working

I set rules in iptables a few months back and used iptables-persistent to make the rules persist through reboot. I just updated my rules and am trying to make them persist but nothing is working they keep resetting to the earlier version. I have…
Aaron Martin
  • 163
  • 1
  • 5
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
  • 11
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
  • 6
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

ConnectionFailedTransientException on New-InboxRule

I am trying to create Mailbox Rules on my users to automatically Junk mail marked as SPAM by our MTA. Using my main account as a test account, I am running the following: new-inboxrule -name “Auto-junk S-P-A-M” -mailbox “*mailboxname*” -MoveToFolder…
Optimaximal
  • 130
  • 1
  • 7
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
  • 77
  • 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
2
votes
1 answer

How to create Exchange server rules for all users?

How to create Exchange server rules for all users? We want to give each user a rule where "email sent to this distribution group be placed in a special folder". Is this possible? We are using exchange 2010
erotsppa
  • 2,033
  • 6
  • 23
  • 24
2
votes
2 answers

Is there a way to see all the current Apache rules in effect?

Is there a way to see all the current Apache rules in effect?
Michael
1
2
3
8 9