Questions tagged [rules]
136 questions
0
votes
1 answer
Want to enable Windows Server firewall - how to know what ports to open
For added security, we're thinking of enabling the firewalls on our 2016 and 2019 servers. Currently, they're all behind our edge router/firewall, and every server has its firewall disabled. Sometimes, if the firewall is enabled and you install a…

00fruX
- 123
- 1
- 9
0
votes
1 answer
Postfix SMTP only localhost login - disable remote login
I have configured postfix + dovecot on a debain 10.
I have installed a web server to have webmail with roundcube.
I don't want anyone other than roundcube to be able to use mail services, so I'm only exposing SMTP ports 25 and 587 to the…

user1814720
- 3
- 1
0
votes
0 answers
How to get old bash tab completion rules back - stopping before next subdirectory
Could anyone please confirm to me whether tab completion rules e.g. in Debian/Devuan/Ubuntu Linux have changed some time ago - and how (or from which debian package revision) I could quickly get the old behaviour back?
Details:
I have the impression…

flups
- 1
- 1
0
votes
0 answers
Firewalld: how are rules of the same priority ordered?
I've been playing with Firewalld and I was wondering about how it does to order rules with the same priority.
According to the documentation, it says that there is no guarantee that rules with the same priority will be inserted in the wanted…

ATrashInTheWorld
- 1
- 1
- 1
0
votes
0 answers
Setup dynamic ip route via rules
I've got a setup like:
|<-->|---> server 1 <---|
clients <-| <--> proxy <-->
|<-->|---> server 2 <---|
Hope my ASCII art works :)
On my proxy I would like to be able to route back via the server, the…

Alfred Balle
- 409
- 3
- 9
- 22
0
votes
0 answers
nginx rule for /anything to /home?p1=anthing
I am very new to nginx. So, need help.
I want nginx rule for any url like http://example.com/abcDEF i.e. any word after domain name should be considered as parameter to home page and thus redirect to http://example.com/home?p1=abcDEF, making get…

ghetal
- 101
0
votes
1 answer
OpenVPN Server Routing/Firewall Settings
Short Desc: Connecting Rasp pi 3 as client to data center dedicated server for pulling backups over rsync. Getting "ERROR: Cannot ioctl TUNSETIFF tun0: Device or resource busy (errno=16)"
Long Desc: After configuration, I've been trying to use my…

Justin C
- 103
- 4
0
votes
1 answer
Exchange 2010 - Moderate mails sent to Distribution Group "All employees" by sender manager
In Exchange 2010 we can moderate mails sent to a distribution list, directly from the distribution list parameters. It is the same moderators for all the senders.
This is perfect except that wen cannot choose different moderators for different…

Philipili
- 23
- 1
- 9
0
votes
1 answer
.htaccess to nginx rules
I've read lots of threads here and in other community forums, also tried some htaccess to nginx generators, but I'm struck with this.
Thats my .htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} !(/$|\.)
…

Dereckkkk
- 1
- 1
-1
votes
1 answer
When should I use the different tables in iptables?
I am new to iptables and a bit confused. What I would like to know is, for example, if I need to block a certain IP from accessing my server, should I add the rule to the mangle table or the filter table to block the IP address?
Currently I block…

john
- 45
- 1
- 7
-1
votes
1 answer
Loading iptables rules at boot
i have added some rules to the iptables.
I saved the iptables rules using the command
iptables-save > /etc/sysconfig/iptables
To apply the rules i did
systemctl start iptables.service
When i type the below command,it shows the rules.
iptables…

john
- 45
- 1
- 7
-1
votes
3 answers
How to configure different rules for multiple user?
Usually i'm developper...
Today my boss asked me a question, how to configure different dns rules for different user ?
Anyone have an idea ?
All people use same DNS, Section IT it's allowed to have acces to www.facebook.com but human ressource…

red eyes dev
- 125
- 1
- 4
-2
votes
1 answer
Nginx force https only for index page
What's the best way to set up nginx conf to force https on the index.php page only and every other page be forced to http.
thanks

Sherif
- 33
- 3
-2
votes
1 answer
Creating subfolder for sendmail user
We use sendmail for automated email alerts such as info@compnayname.com or alerts@companyname.com. It's a simple sendmail configuration where these emails are created and then an alias is used to forward emails to whoever is in charge of looking at…

James Scott
- 5
- 2
-2
votes
1 answer
Disable internal routing
I have 4 different subnets that go in to one Linux box that have openswan and configured VPN's. In the linux box i have configured one interface that is public and sub interfaces that are private. For example
eth0 - 1.1.1.1
eth0:0 -…

IvanCD
- 27
- 1
- 8