Questions tagged [rules]
131 questions
16
votes
3 answers
Open Windows Firewall to all connections from specific IP Address
Is it possible to "whitelist" an IP Address in the Windows Firewall and allow all connections from that specific address?
Aidan Knight
- 650
- 3
- 11
- 19
14
votes
2 answers
Nginx multiple roots
I'd like to divert off requests to a particular sub-directory, to another root location. How? My existing block is:
server {
listen 80;
server_name www.domain.com;
location / {
root /home/me/Documents/site1;
…
Michael restore Monica Cellio
- 336
- 1
- 2
- 10
6
votes
2 answers
Restoring iptables at boot (rc.local)
I have saved my iptables rules using the iptables-save > command and i am trying to restore these rules when the machine boots up. I have added the command iptables-restore < "path to rules file" in the rc.local but it doesn't fire up the rules.
I…
Troller
- 171
- 1
- 4
6
votes
3 answers
Firewall questions about state and policy?
I finally managed to install my VM host and now I am messing with iptables to create, test and learn.
Does it matter if i put the below
rules at the begin or at the end of
my rules ?
$IPT -P INPUT DROP
$IPT -P FORWARD DROP
$IPT -P OUTPUT DROP
i…
Guapo
- 453
- 2
- 5
- 13
5
votes
2 answers
Blocking a network device from communicating with another device on the LAN
I have been working with the firewall/router distribution Pfsense for a while now and I have been trying to figure out how to "isolate" a server on my LAN from other computers on my LAN by using deny/reject LAN rules. I have tried adding a rule…
user99545
- 253
- 1
- 4
- 6
4
votes
1 answer
How do iptables work with NFQ in terms of traffic shaping in snort?
I'm trying to understand how iptables and NFQ work together with snort.
The reason that I ask this is because from what I understand snort can be set to IPS via NFQ but if you have iptables there essentially firewall rules hence my question as what…
Danny
- 41
- 1
- 4
3
votes
0 answers
Blocking ALL outgoing traffic Using firewalld to dedicated network subnets?
I have several RHEL7/CentOS7 servers on which I need to block all OUTGOING traffic to dedicated machines or dedicated network subnets e.g. CIDR 168.192.10.0/24.
For the moment I tried with firewall-cmd but was not lucky. Most of the posts I saw…
m0ll3art
- 31
- 1
- 2
3
votes
2 answers
Internet facing Hub Transport Exchange server with Internet restricted users and a Canon Copier
This is a rather convoluted problem but I hope that someone out there has experienced a similar situation. Here are the facts of what is happening:
We have a single Exchange 2010 server that is internet facing, hence no Edge server.
We have several…
palemouse
- 41
- 5
3
votes
2 answers
How long does it take for an Exchange Transport Rule to STOP applying after it is deleted?
Yesterday my company was hit with a new trojan that uses the old social method of "it came from someone I trust" to suspend user's suspicion (and rationality) and it was opened and run.
During the course of finding, containing, and eliminating this…
Alderin
- 63
- 1
- 1
- 8
3
votes
1 answer
allow only one ip and block others by using cmd in windows firewall
I want to allow one IP address that can connect to internet (whitelist) and block others' connections through internet using Windows Firewall on Server 2008 using command prompt.
Is it possible to only allow given IP address (example…
Haikal Adnan
- 51
- 1
- 3
3
votes
1 answer
Need advices on iptables
Helly guys ! :-) .
I need a (several?) advice(s) from you about my iptables setup.
I'm pretty new to iptables, and this is the first time I configure a server with iptables ONLY as a firewall (we don't have money nor time to set a "true" firewall…
iptablewnew
- 33
- 4
3
votes
2 answers
iptables 1.4 and passive FTP on custom port
after the upgrade from debian squeeze to wheezy I've got a problem with passive FTP connection.
I could narrow it to be iptables related, as I could connect via FTP w/o problems after adding my IP to the iptables ACCEPT rule.
Before the upgrade I…
Cracky
- 41
- 4
3
votes
1 answer
Windows firewall - let an application only access 2 ips (outbound)
How do I create a Windows firewall rule that lets application X only open connections (outbound) to two ip addresses, while blocking everything else?
Henry Smith
- 31
- 1
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
- 621
- 2
- 9
- 26