Questions tagged [lan]

A local area network, or LAN for short, is a computer network that connects computers in a small area.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How to deny traffic to and from all devices on LAN except Internet Gateway with UFW?

On a local network with range 192.168.0.0/24 and a router with fixed IP 192.168.0.1, how can you configure one specific computer (needs Internet access) to deny communication from and to all other ...
0
votes
0answers
12 views

Can I force router changes from linux CLI, like port forwarding with UPNP?

I have seen that I can use miniupnp to apply port forwarding on my router, and I would like to find another tool to apply DNS and/or DHCP settings on the router. Is this possible? My goal is to have a ...
0
votes
0answers
15 views

route traffic from LAN to the internet via a raspberry pi

I have a cluster of raspberry pis and I have one RPi acting as a NAT (called piNAT). The piNAT is connected to the internet and is also connected to the cluster of raspberry pis successfully. They are ...
0
votes
2answers
36 views

How is the LAN IP connected to the machine name?

I can't find how/where the LAN ip is connected to my machine name such that anyone typing the machine name (host name) will be directed to the IP. I know the machine name is under /etc/hostname/ but ...
1
vote
0answers
15 views

Share apt upgrade packages between systems on the same lan [duplicate]

I have a bunch of clusters of Raspberry with Raspberry OS installed, they have all the same configuration and the same packages installed. I want to keep them updated but they are connected to ...
0
votes
0answers
87 views

Screenshot sharing tool among network users

I built a tool that allows users to screen grab an area on their desktop, and I would like them to be able to send this screenshot to other users on the network. The program runs in python so if a ...
0
votes
0answers
46 views

Nginx reverse proxy redirection on Lan not working

i have a server with docker where i installed nginx as reverse proxy. I don't know nothing about the nginx and i don't understand it. I found this setup on internet and it works for me. But only if i ...
0
votes
1answer
20 views

Can Access LAMP over LAN, CANNOT Access Sites

I can view a directory of my LAMP server running on Ubuntu 20.04 over my LAN using my mobile phone's web browser, when I type http://192.168.X.XXX. However, I can not access any of the sites/...
0
votes
0answers
27 views

How to know on which LAN a machine is connected?

I have two LANs (192.168.1.0/24 and 192.168.2.0/24) linked by VPN. I have one machine (RPI3b+) that I can be connected on the first or the second LAN (I move it). How can I know where is the machine ...
1
vote
3answers
95 views

How to measure entire! LAN load for example with ntopng?

Is it possible to measure LAN load in the same way as it possible to measure CPU usage with top, i.e. in percent? For example, if I have 1 gigabit network, then how to know, how much of these bits are ...
-1
votes
1answer
24 views

lan intranet only Ubuntu 18.04.4 - wordpress under apache2 is not available to android or IOS but is completely available from WIN10 client

I have recently installed Apache2 on a stable installation of Ubuntu server 18.04.4 and completely installed a working version of wordpress which is working for internal development work. I can't ...
1
vote
2answers
5k views

Can't resolve hostname.local on LAN

I used to be able to ssh user@hostname.local between machines on my LAN but it is no longer working. I can ssh using the IP of course, but it's DHCP so it may change from time to time. Both machines ...
2
votes
1answer
763 views

dnsmasq behaving strangely: dig returns result for dns lookup, yet ping reports “host not found”

Since my router does not resolve hostnames of LAN devices, I setup my server to act as a DNS using DNSMASQ. DNS Server Specs ---------------- OS: Ubuntu Server LAN IP: 192.168.1.4 I have a ...
1
vote
0answers
45 views

Ehternet LAN not working at full speed

I have a PC and a Laptop connected with a ethernet cable. Using ethtool, i found that my speed is 1000Mb/s which is 125MB/s. But, when i am transferring 6GB file i get ~30MB/sec speed. How do i ...
0
votes
0answers
39 views

Cannot understand behaviour of ifup/ifdown and /etc/init-d/networking

I want to connect an IP camera to my laptop which runs Ubuntu. The set up looks like this: Once I have the physical connections, I change my /etc/network/interfaces file from: auto lo iface lo inet ...
1
vote
1answer
1k views

Debian 10 intel i211 LAN not working

I have a newly built computer with MSI MEG X399 CREATION Motherboard, which includes two Ethernet ports with Intel i211 Gigabit Ethernet. I am running Debian 10, but the Ethernet doesn't work. I can't ...
0
votes
1answer
668 views

Stream microphone audio to LAN IP/ PoE speakers?

I have several IP PoE speakers and regular speakers with IP converters connected to common network switch on LAN. What can I use or how can I set up my network so that microphone recorded audio from ...
1
vote
0answers
21 views

Sync multiple PCs every boot via home LAN (local files update old version on server)

I need your precious support and advices for a kind of setup for my home computing. So... I have two laptops and a desktop that I use same (or different) times. Every computer has a different distro (...
1
vote
1answer
930 views

If you ssh to another device in your LAN, can you accidentally connect through a less direct pathway (WAN)?

My question regards ssh, sftp, scp, rsync, etc. commands where you connect to another machine which can be in your Local Area Network (LAN) or at some remote location you would typically connect via ...
0
votes
1answer
140 views

Nginx Domain name setup for LAN

I have a web application running on my linux machine that is accessible at all other network machines via IP address x.x.x.x:3001. I want to use a domain name like myfun.fun so that it can be ...
0
votes
0answers
463 views

CentOS 7 : ip addresses in ifconfig and in network-script are different

Given the CentOS server-like machine: $ uname -a Linux labsm 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux EDIT My initial problem was that local ...
0
votes
2answers
467 views

Disable Ethernet connection on Mac terminal

I am trying to write an alias for disabling ethernet connection and use the wifi using a command line. I can't access stackoverflow.com and other sites using ethernet due to corporate policies. Is ...
0
votes
2answers
3k views

How to access a device connected to local network with its hostname?

I tried accessing a webpage in a server within the local network with the hostname of the device followed by its folder path and the name of the file (it is a basic PHP-file). In the first system it ...
0
votes
1answer
304 views

How do I connect to a QNAP [closed]

BACKGROUND DETAILS: I've inhereted a QNAP TS-459U-RP. I currently have it connected to my home router via an ethernet/rj45 cable. My computer is connected to the same router. How do I access the ...
0
votes
0answers
267 views

LAN in Ubuntu server is not reconnected after rebooting modem

I have a computer with some home automation stuff connected to the router via LAN, and I only access the computer through SSH, samba shares, and a web interface that it's hosting. Whenever I power ...
-2
votes
1answer
62 views

Get Wireless LAN IPv4 Address Of Device

I want to know the easiest way and I would perfer a single line command that works on most or all Linux distros. I want to get the devices IPv4 address. The reason why I want to know this is because ...
1
vote
0answers
64 views

dual NICs linux

my /etc/iproute2/rt_tables is 255 local 254 main 253 default 0 unspec 1 brain 2 strom I'm using below given /etc/network/interfaces allow-hotplug eth0 iface eth0 inet static hwaddress ...
2
votes
0answers
2k views

dnsmasq is not resolving local hostnames

I have a local Linux server running dnsmasq for my LAN. It has been working without issues for the last several years. I keep the operating system and packages regularly updated. After yesterday's ...
7
votes
1answer
161 views

How can I limit engagement with a large office LAN?

I work in a large office building with hundreds of other computers on the same LAN. I don't have any reason to communicate with most of these computers, and when I do, it's always on an "opt-in" basis ...
3
votes
1answer
11k views

Access LAN computers via VPN connection

I am wanting to put a VPN server on one of machines on my LAN and expose this VPN service to the internet. Once a client (laptop) is connected to my VPN service from outside my LAN I want to be able ...
2
votes
3answers
3k views

How does ssh handle 2 computers on the local network with the same username?

For instance, if one wants to access the account bob on a machine on a local network behind a router, they would simply type: $ ssh -p xx bob@example.com` However, how does ssh handle the ...
1
vote
1answer
426 views

PF Rules to Block All But Accesses to VPN and LAN

The rule set to block all outgoing connections except for VPN access could be like this: block drop all pass on lo0 pass on utun0 pass out proto udp from any to xxx.yyy.zzz.ttt port pppp This works ...
0
votes
1answer
174 views

what is the advantage to configure the network ETH with UUID?

what is the advantage to configure the network with UUID? uuidgen eno093736 1b64d026-c6a6-447c-85aa-40c5d2db2c4e for example we want to configure BOND under /etc/sysconfig/network-script what is ...
0
votes
2answers
4k views

How to setup a firewall between my ISP cable modem/router and my LAN?

My goal is to setup a firewall & Intrusion Prevention system using Snort. I have a spare pc available with at least 2 physical NIC's, which ran pfSense having a firewall with Snort, but this time ...
0
votes
2answers
58 views

How know in which router I'm when I'm connect by ethernet

When I'm connected by WLAN I can determinate in which network I'm by looking the SSID, for example: $ iwgetid -r ONOA72E $ nmcli -t -f active,ssid dev wifi | egrep '^yes' | cut -d: -f2 ONOA72E And I ...
0
votes
0answers
453 views

UFW blocks hostname lookup on LAN for ssh and ping

I'm experiencing a problem connecting to hosts on my LAN via their hostname only when UFW is enabled. When UFW is enabled: ssh <machine> gives the message: ssh: Could not resolve hostname &...
1
vote
0answers
161 views

How do I make two networks communicate with iptables on debian?

I have 172.16.8.0/24 on eth1 and 10.0.0.0/8 on eth2, I would like the two networks to communicate, but restricting the broadcast, allowing only the file sharing and the tcp port 2638 from station 10.0....
0
votes
2answers
39 views

Virtual LANs in memory for several virtual machines on one host

Suppose I have host machine with no NIC. I would like to run several virtual machines on it and connect them with totally virtual LANs in between. I want many machines and many LANs. I would like to ...
1
vote
1answer
44 views

virtual WAN for devices in different LANs

We have a number of linux devices, each living in its own LAN (each LAN with its own router, connected to internet). Each device can connect to internet but cannot be directly reached (i.e. no public ...
-1
votes
1answer
125 views

How to reinitialize eth0 connection without rebooting my system?

I've got a problem when I unplug and then plug in LAN cable, the eth0 connection stops working, also LAN LED is off. If I restart the system, LAN connection is normal. This happens only to onboard ...
0
votes
0answers
749 views

Deepin Linux can't share folders

I have a deepin linux (debian based) installed on my notebook and I'm trying to share folders from this computer with a W10 computer so I tried to share the folder and on windows type the user and ...
2
votes
1answer
58 views

mount lan hdd into linux fedora

I'm really new in all of this, and I'm not really sure of how to do that, but I have an HDD connected to the LAN; from Windows, I run: net use y: \\192.168.1.200\my-path\ condor /user:admin I'm ...
0
votes
1answer
3k views

A port address conflict has been detected. LAN Messenger will close now

I have installed LAN messenger on linux mint. It was installed successfully but was not running. So I have tried "sudo lmc" in terminal and than it gave the following error in a popup window: A ...
1
vote
1answer
364 views

Machine hostname differs form Network (DHCP) name

I have a media streamer on which an arch linux is installed (OpenWrt). I configured the hostname of the machine to be Streamer but on my router dashboard, I see on the DCHP clients list that the name ...
2
votes
0answers
48 views

Setting the same host address on different networks

I have a set of devices to be deployed on different local networks which have to be configured without DHCP. Every network has the same subnet mask and the gateway and the device in every network ...
3
votes
1answer
183 views

How to work both wifi and Lan in the same network segment?

I'm using Linux+QT for my OS system. And here is what I'm facing the problem. My Lan IP address is 172.16.120.17 and my wifi IP address is 172.16.120.20. So I think they are in the same network ...
1
vote
0answers
1k views

Unbound forwards local requests the wrong way

Good dag. In my network, I have two dns cache/resolvers: Dnsmasq on the router. Unbound on another server. Dnsmasq runs perfect. It provides local dns from the dhcp and the hosts file. Unbound is ...
2
votes
2answers
334 views

Is there any way to scan a lan network with dhcp enabled to see the IP of the connected devices from a GNU/Linux machine?

I am running a local network over a home router with dhcp enabled. So in case of any reboot of the router, my devices get some random IP within a given range. Is there any way to check the IPs of the ...
1
vote
1answer
835 views

Small office server and UID translation

I want to set up a small server for the office such that users can store their own files which also has separate directories set up for groups to share files. I also have users and clients who would ...
0
votes
1answer
48 views

Connecting to different LAN through raspberry pi

I have a raspberry pi, which is connected to a local network, let's say LAN1. I also have a desktop, which is connected to a different local network, LAN2. Both the raspberry pi and the desktop have ...