Questions tagged [mask]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
2 answers
39 views

Can this two IP see each other?

I can't remember how networking worked. I need someone to help me with this, it may sound a bit stupid but I have to take care. This are the two IPs: 107.1.233.7/24 10.202.104.148/25 Simple question....
  • 1
21 votes
3 answers
6k views

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 ...
  • 321
0 votes
0 answers
29 views

masking URL after redirection [duplicate]

I re-post my question in the event that I will be more clear as to what I would like to do. I have a subdomain under a dns name, lets say it is mysub.domain . This subdomain is in a remote provider ...
0 votes
0 answers
23 views

masking after redrection using .htaccess [duplicate]

I have read many examples that use the .htaccess file method to mask a url. None of them works for me. It might be something simple that I am missing. Please bare with me. Here is what i want to do: I ...
0 votes
1 answer
741 views

CentOS 7 - Cannot change subnet mask

I just noticed that this CentOS 7 server's subnet mask is 255.255.255.0. It should be 255.255.255.240. # ip a show ens32 | grep ens32 3: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc ...
  • 98
0 votes
1 answer
9k views

Error: any valid prefix is expected rather than "172.31.1.102/255.255.255.8" [closed]

The command ifup from ifupdown fails when using some mask for static configuration on Ubuntu 20.04 LTS. Example of working configuration $ cat /etc/network/interfaces auto lo iface lo inet loopback ...
  • 119
1 vote
1 answer
360 views

mask public IP addresses from any command output (for diagnostic)

I'm writing a script to extract information from BusyBox v1.25.1/Linux 2.6.36/router where the user can simply run the script and copy/paste the output into a submission form to request support. The ...
1 vote
2 answers
1k views

Basic 2 Routers configurations for noobs

So, my goal is to have each one of my devices connected to a double-NAT simple solutions. I've started my configuration with Router 1: IP: 192.168.1.254 Mask: 255.255.252.0 DHCP Ipv4: 192.168.1.10 -...
0 votes
0 answers
587 views

Redirecting in NGINX with masking target URL

I've set up redirection on NGINX with the help of this answer and now I want a setup it with masking redirection from user, i.e. keeping original example.com. Things I've tried: rewrite server{ ...
0 votes
0 answers
460 views

Masking URL in Address Bar in IIS

I am not an expert in IIS and would really appreciate your help if this is something that can easily be resolved. We have a web server on an intranet domain to which users are directed by the DNS ...
1 vote
0 answers
230 views

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 "...
  • 11
4 votes
4 answers
29k views

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:...
-1 votes
1 answer
11k views

Bad mask for IP 192.168.0.0 Cisco Packet Tracer [closed]

I have to do next task: connect three LAN networks with Cisco packet tracer. I have to use net addresses 192.168.0.0/24; 192.168.10.0/24; 192.168.20.0/24. When I am trying to set router address 192....
0 votes
1 answer
65 views

Can a router be connected to a both a subnet and a subnet inside that subnet?

Can a router be connected to both a subnet 1 and a subnet 1.1 which is a subnet inside of subnet 1? For example, can a router be connected and sent packets to subnet 223.1.17.128/25 and 223.1.17.192/...
9 votes
1 answer
13k views

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 ...
  • 193
0 votes
1 answer
744 views

Setting up DNS mask with forwarding through SSL

My setup is as follows: User goes to subdomain.mainsite.org.uk.example The site I want to be visible is www.site2.example, however they still have to see subdomain.mainsite.org.uk.example in the URL ...
1 vote
2 answers
3k views

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 ...
  • 113
0 votes
1 answer
3k views

What IP addresses are included in a subnet "range"?

I'd like some help understanding subnets (CIDR). I'm using a tool to check if an IP is in an acceptable range given a CIDR address. When I input an IP address (12.245.105.190) and check it against ...
0 votes
1 answer
935 views

How to mask redirect subdomain and ports to another external subdomain on that same port

I have read through the forum but still cannot get a clear answer for what I need. My purpose is to mask redirect a subdomain to another one with the port passing together. For example, I want my vdi....
-1 votes
1 answer
69 views

Removing IP Address From Files On Site (IIS)

I have an IIS server set up hosting my website (only 2 files now: index.htm and banner.png). I have a domain set up with GoDaddy and have forwarding set up in GoDaddy as well. So, when I type http://...
1 vote
1 answer
1k views

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 ...
-1 votes
1 answer
212 views

How can I set the root of one of my domains to mirror a certain page on another of my domains? [duplicate]

I want one of my domains (freelawofattractioncourse.com) to point to a page on another site of mine (https://dr.katievb.com/freecourse) without causing the URL to change in the visitor's address bar. ...
  • 109
1 vote
1 answer
5k views

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 ...
  • 113
1 vote
1 answer
964 views

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 /...
  • 11
1 vote
2 answers
52k views

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

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 ...
  • 23
0 votes
1 answer
594 views

Redirect domain/directory to domain2/directory

I would like domain1.com/customers to go to domain2 my home directory public html's folder / customers. Both domains are on different servers. In the folder on the second server/second domain we will ...
  • 264
4 votes
3 answers
41k views

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

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. ...
  • 161
-3 votes
1 answer
2k views

Why 192.168.0.0 cannot be assigned to device? [closed]

192.168.0.0 can be an address of network and it cannot be assigned to any device in local network. But why? Couldn't router using mask (like 255.255.0.0) figure out what is the network address anyway?
  • 247
1 vote
0 answers
208 views

Samba file mask calculation on ACL - missing r

I would like to ask a detail how samba deals with permission on ACL on servers. I did dig very hard and deep but no luck with this one. I have set ACL support over this think and again, regardles of ...
-2 votes
3 answers
244 views

How drastically can a public IP change?

On ISP level, is it commonly limited to some subnet mask? Is it possible or rare for an ISP to randomly change an IP's first 2 bytes? Just as a bit of backstory, I'm trying to deter users from ...
  • 7
0 votes
2 answers
58 views

apache URL issues

I'm sure someone has asked the same question on serverfault but I just don't know what to look for. I have two subdomains from different hosts in my school. eg. One is: tr33house.domain1.school....
  • 101
0 votes
1 answer
137 views

Open example.com, but all links point to an IP

I own a domain, let's say example.com, and I point an A record to my server with IP 123.123.123.123, running nginx. When I open example.com in a browser, I get to the correct site, but all links point ...
  • 103
2 votes
3 answers
20k views

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 ...
  • 129
2 votes
3 answers
5k views

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 ...
2 votes
1 answer
3k views

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 ...
-1 votes
1 answer
2k views

Mask URL part while proxying Tomcat webapp through Nginx

I've got the webbapp at the server 1.1.1.1:8080/AppName/ Now I need to hide port and AppName dir URL part. So I installed Nginx on server 2.2.2.2 with virthost name test.com. Here is the virthost ...
0 votes
1 answer
4k views

htaccess - mask and redirect domain to sub directory on shared hosting

Hopefully someone can help...Server nube setting up new hosting acct Problem definition: New shared hosting account, want to set up multiple domains / sites on it You have to specify a 'main domain',...
  • 117
0 votes
2 answers
1k views

Masking / Pointing subdomain to different server and keeping same url in address

Originally posted on Stack Overflow. This may be a question for Server Exchange but I am starting to feel pretty cozy here and I feel like someone here will definitely know the answer. We are ...
  • 285
3 votes
1 answer
40k views

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 ...
  • 135
1 vote
1 answer
972 views

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). ...
  • 337