Questions tagged [mask]

40 questions
21
votes
3 answers

What is the difference between 0.0.0.0/0 and 0.0.0.0/1?

In the history, I mostly used 0.0.0.0/0 for "match every IP address". Recently, I saw a 0.0.0.0/1 subnet filter. What is the difference between 0.0.0.0/0 and 0.0.0.0/1 and what's the practical use of 0.0.0.0/1?
Arakis
  • 321
  • 2
  • 6
9
votes
1 answer

Proxy Websockets and HTTP through the same location in Nginx

Right now there's an application that allows people to connect to a Desktop app through the web by exposing an AngularJS web server powered by Atmosphere. The Desktop app exposes the current person's IP address so anyone with the address can connect…
Jose A
  • 193
  • 1
  • 1
  • 5
4
votes
4 answers

How can make changes to my smb.conf file go live without a reboot?

On our Centos 7 server, I added create mask = 770 to my smb.conf in order to force permissions on the files our Windows users store in a directory. Then from the command line, I entered the following: # systemctl restart smb.service # systemctl…
Paris Finley
  • 41
  • 1
  • 1
  • 4
4
votes
3 answers

Why can't I have the same subnet on WAN and LAN?

I want to know why same IP with same mask on both WAN and LAN side could be a problem. I also want to know if setting different mask, but having same IPs will resolve the routing problem. Specifically are same IP addresses with different masks…
alpav
  • 161
  • 1
  • 1
  • 6
3
votes
1 answer

Bad mask /XX for address X.X.X.X in Router Cisco (Packet Tracer), VLSM

Im trying to do a practice in packet tracer. Im configuring a 1841 Router (but the problem happens in all routers). When I try to set an IP address with a mask different of the by defect mask for this Class of address (using VLSM), the router said…
a0rtega
  • 135
  • 1
  • 1
  • 6
2
votes
3 answers

Forward one domain to another domain with bind without masking it

I'm trying to foward some domains to another. The scenario is quite easy: domain example.com is the primary domain the domain example.net should be forwarded to example.com all set up subdomains should be as well As a DNS, my machine is running…
Moritz
  • 129
  • 1
  • 1
  • 2
2
votes
3 answers

possibility of overlapping networks

I have a question. I came across the following situation in a windows server ... 192.168.0.0 mask 255.255.0.0 GTW x . . . 192.168.3.0 mask 255.255.255.0 GTW y By chance in this scenario there is any possibility of overlapping…
Alex Xisto
  • 21
  • 1
  • 3
2
votes
1 answer

SFTP jail & Keeping file ownership the same / File owner per folder

I want to setup a jailed SFTP account for a subfolder of another user's home folder, but want the owner of everything in that subfolder to stay the same, including new files and folders uploaded and created by the sftp user, while still allowing…
Dragonshadow
  • 23
  • 1
  • 4
1
vote
0 answers

IP Show on netstat -n

Could someone with more experience help me in this? I have an idea in my head and i've been trying to put it into practice. I have two machines, one where the application is hosted (I'll call it "Real Machine") and the other that would act as a…
Renan
  • 11
  • 1
1
vote
2 answers

Using nginx to mask ip address of outgoing connections

We have a business requirement to channel all outgoing connections from multiple processing servers through a single IP address. Our setup is as follows: We have an nginx server which works as a load balancer for incoming http requests. We then have…
Glen
  • 113
  • 1
  • 5
1
vote
1 answer

Block masking URL from nginx

Some bad person is masking my website with his domain www.baddomain.com. I would like to block it somehow from my nginx config file if that is possible. I tried to see from "baddomain.com" source code if he is using URL frame, but can't find one.…
1
vote
1 answer

Can apache redirect to a URL but mask the new URL?

We're a bit green when it comes to this stuff and don't fully understand the answers found (we might also be using the wrong search terms). Problem We need to redirect a subdomain to another domain but mask the redirected domain. So that this…
CMSCSS
  • 113
  • 1
  • 5
1
vote
1 answer

linux setfacl permission to different user and able to write in recursive

I have tow user in same group 1. user 1 : datauser 2. user 2 : webuser 3. Group : apache What set permission using setfact to either of user can create directory/file recursive. Ex.: directory /web/foo/ What permission/mask set (using…
Jignesh
  • 11
  • 2
1
vote
2 answers

First and last IP address of the network 192.168.176.0/23 (subnet 23)

Let's have the following address of the network: 192.168.176.0/23. What are the first and last IP addresses of this network? Following this answer https://serverfault.com/a/327782/288201 I assume that: /23 means 23 bits for the subnet. At 8 bits…
zus
  • 23
  • 1
  • 1
  • 8
1
vote
1 answer

Apache mask on remote server to local server

I've setup wiki.example.com (on the remote web server, accessible to the world) to redirect with 301 .htaccess to 192.168.1.x/cgi-bin/foswiki/view (on internal server, accessible only via the LAN). Is there any way, either on the local or remote,…
shaiss
  • 337
  • 2
  • 6
  • 20
1
2 3