Questions tagged [rules]
136 questions
0
votes
1 answer
rewrite rule is ignored
I have some problems with rewrite rule. I have 2 scripts, article.php?url= and product.php?ulrprodus= and I want to setup for them rewrite rules like below:
My Rewrite rules:
RewriteEngine On
Options +FollowSymLinks
RewriteRule…

constantin
- 3
- 1
0
votes
2 answers
postfix - How to create truly user based rules for limiting?
I have a mail server (postfix 2.9.6) up and running with 15-20 users, only for internal usage with one single domain, let's call it xyz.mail.lan
Users are:
user1@xyz.mail.lan
user2@xyz.mail.lan
user3@xyz.mail.lan
…
…

Paul
- 3
- 1
0
votes
1 answer
How can I export Mdaemon filter rules
I'm now migrating my Mdaemon Mail Server to a Zimbra Server. I can export the account list, synchronize the mail data via IMAP. But I dont know how to export the IMAP filter rules of each Mdaemon account and import to Zimbra Filter
Anybody knows how…

Megame
- 1
0
votes
1 answer
rules iptables limit connection by second
Hello I have this rule:
-I INPUT -m string --hex-string "|XXX|" --algo bm --dport 7777 -j DROP
work's but there is some false positive.
So I want to limit this rule to 5 connections accepted by second before to drop the rest AND if the ip is already…

user221069
- 31
- 4
0
votes
1 answer
iptables blocks ip address even though it is specified to allow it. Why?
I'm at a loss to explain why these rules don't have the same effect as whitelisting ip addresses. Can anyone tell me why?
# /etc/hosts.deny
sshd : 61.174.51.215 : deny
sshd : ALL : deny …

kingsfoil
- 105
- 5
0
votes
2 answers
Blocking Facebook on certain IP Addresses with iptables
Here's my current environment:
I have a VM running Ubuntu Server/Squid, and it is set as non-transparent. I have some IP Addresses which need to bypass Squid authentication so they have unrestricted access. In some cases it is need because some…

rafarlp
- 1
- 1
- 1
0
votes
1 answer
Nginx second domain rewrite rule
What im trying to do:
I have nginx running with wordpress
Now i want DOMAIN-2 to redirect to a path of DOMAIN-1
http://DOMAIN-1/Content-for-Domain-2
but not just a simple redirect, it should change to
http://DOMAIN-2/Content-for-Domain-2
So that…

chillah
- 101
- 1
- 1
- 5
0
votes
1 answer
ip6tables only allow packages to a certain ip-range
I am trying to configure ip6tables to only allow ssh connections to a specific range.
In iptables the command would be:
iptables -A OUTPUT -p tcp --dport 22 -m iprange --dst-range 192.168.178.0-192.168.178.254
But according to the man page the…

phenom135
- 107
- 1
- 4
- 13
0
votes
1 answer
UFW rules for specific host / dynamic dns
How can I setup UFW (Uncomplicated Firewall) to add rules for specific hosts? Eg. I want to allow SSH only from yourpc.no-ip.org?

Force
- 187
- 1
- 8
0
votes
1 answer
Postfix conditional rules base on sending address
Email configuration on dev server: At the moment I have postfix configured to route all emails sent to itself. So if you try to send and email to any address say gareth@example.com it won't be delivered the that address, instead you would check the…

garethhallnz
- 111
- 2
- 4
0
votes
1 answer
Windows Server 2008 R2 firewall order of rules
I would like to have one rule that allows Internet Explorer to connect to my proxy-server, but block all other applications to connect to the proxy-server.
Is that possible?
I've tried one rule that opens "Internet-Explorer" -> "Proxy" and a second…

user154327
- 3
- 1
0
votes
2 answers
apache -Directory directive - allow to serve selected pages
This syntax seems to prevent Apache from serving any pages from /var/www or subdirectories.
Allow from None
Order allow,deny
I wantthis behavior as a general rule, with some exceptions.
For example I…

mustapha joe
- 1
- 2
0
votes
1 answer
Sending same email through two different accounts on different domains using Outlook 2010
I am a programmer and don't have experience in Outlook configurations. Our company has two email domains namely xyz.com and xyz.biz. Each employee has an email id on one of these domains but not both depending on the project they are working on.…

CKing
- 113
- 1
- 7
0
votes
1 answer
Creating constraints for creating contacts (Exchange Server 2010)
One of my clients is running an Exchange Server 2010 in their company. On this server, a public address book folder is stored, which can be accessed and edited by various people.
Now, since there is a problem with the integrity of the contact…

Emiswelt
- 128
- 7
0
votes
2 answers
Monitoring emails sent from Outlook
I support somewhere around 50 users doing both help desk as well as server administration. Just recently a manager was suspicious that their employee was automatically forwarding all of his (manager's) emails to their (employee's) personal email…

Mr. Monkey
- 225
- 1
- 4
- 11