Questions tagged [networking]

Managing and using network connectivity on a unix system

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

Does Virt-Manager GUI have a easy way to configure networking passthrough/bridge?

System: RHEL 7.5 with gnome I've googled for days on this topic, and I can't seem to find a decent answer. When using Virtualbox, there is a one click "Bridge to ENO1" option that allows seamless ...
1
vote
1answer
1k views

How check a port forwarded from localhost to localhost on.. localhost?

I'm learning about iptables, firewalling, routing and so on. I'm on Linux, Centos7, and I've set up a local port forwarding to localhost with: firewall-cmd --add-forward-port=port=2023:proto=tcp:...
0
votes
0answers
7 views

IP tables for wifi to wifi forwarding

Here is the setup: Pc <------> Linux Machine <-------> Router wifi (debian) wifi The linux machine is connected to the router via wpasupplicant and has hostapd and dnsmask ...
7
votes
2answers
871 views

How to make sure OpenVPN is connected?

I need some sort of "safeguard" for my VPN connection. If the connection drops, the machine shouldn't even reach the internet. (I can reach the machine by other means.) Is it possible somehow? If I ...
0
votes
1answer
22 views

CentOS7- Why able to ping when network services is down?

Please advice below questions: Under /etc/sysconfig/network-scripts/, there are 2 configuration interface files (ifcfg-enp0s3 and ifcfg-lo) as shown in network-scripts content I type ifconfig and it ...
0
votes
1answer
26 views

Can't access network login page

I have a ethernet cable connection to my university's network, and I've been using it regularly and without a problem for months now. 2 days ago suddenly it stopped working. now I can only access ...
2
votes
3answers
3k views

How to automate connecting to multiple network devices, running a command and saving the output to a file?

I have to run a command on around 1000 network devices and save the output to a file. In a file I have a list of all the network device names that have to be connected to using SSH. I then have to run ...
0
votes
0answers
12 views

Enabling DHCP for IPv6 in netplan with networkd doesn't seem to do anything

I'm currently configuring the network interfaces for a Ubuntu 18.04 server, using netplan with the networkd backend. My hosting provider provides me with an IPv4 and an IPv6 for this server, however ...
0
votes
0answers
8 views

How to Setup the Network Interface from Ubuntu / KVM to Connect to Windows 7 VM

i want to create a Gameserver in a Windows VM on my Ubuntu 16.04 Server with KVM. I have already installed the vm and it is running properly. I deactivated the Windows Firewall directly in the VM. ...
3
votes
1answer
2k views

Force a service to start before networking.service

I would like to start my service samplerbox.service [Unit] Description=Starts SamplerBox [Service] Type=simple ExecStart=/root/SamplerBox/samplerbox.sh # this script does: python /root/...
0
votes
0answers
6 views

Hostapd with DNS rerouting

I have an old Mac Mini running Debian Stretch where I have bridged the wifi interface to the ethernet interface like so (/etc/network/interfaces): source /etc/network/interfaces.d/* # The loopback &...
1
vote
0answers
11 views

Configure KVM in Debian 9 and bridge network remove Wi-Fi and not working

I'm trying to install and configure KVM in Debian following this guide. When I restart the network after configuring /etc/network/interfaces.d/br0 my wi-fi connection goes off. I've noticed that if I ...
2
votes
0answers
28 views

dhclient Active for Interfaces with BOOTPROTO=none

I'm facing a strange issue with my Linux bridge system (CentOS 7.6.1810). I have two interfaces configured with a bridged network (IP of the bridge is 192.168.42.253). When I reboot the system, it ...
0
votes
1answer
1k views

Port Forward to openVPN client through local client network

So I have a WD MyCloud EX2 using openVPN to connect to a paid VPN service, but I still want to have access to my ssh,ftp, and plex ports (22,20-21,32400) from an external network using port forwarding ...
-1
votes
1answer
28 views

Wlan0 not working on kali linux [on hold]

I just did a fresh install of kali linux on my laptop which had windows 10 installed on it previously. The wlan0 card shows up in ifconfig and iwconfig, but it says no adapter found in the settings ...
2
votes
2answers
1k views

iperf connect failed: Operation now in progress

I have installed iperf on two computers using yum install iperf. On server A, i ran iperf -s, on server B I ran iperf -c ipv4here I got this error: connect failed: Operation now in progress I ...
0
votes
1answer
20 views

How do I change route (IP) of tor service from the command line?

I'm using the tor package coming with the debian-testing distribution: Package: tor Version: 0.3.5.8-1 I'm frequently using it in combination with proxychains like: proxychains -q curl -s -L https:/...
4
votes
2answers
1k views

Linking Ethernet interfaces

I'm quite new to Linux networking. I have a Debian PC with two Ethernet interfaces, one embedded on the motherboard and another on a PCI card. The first one, let say eth0 is connected to my router (...
0
votes
1answer
30 views

identitys TCP outgoing connection for blackjack

Using macOS X 10.14 Mojave I have found this TCP outgoing connections for blackjack and cannot find any useful info for what it is and what for identitys daemon is using for on background Is it safe ...
1
vote
1answer
1k views

How to measure network traffic (with pfSense/freeBSD)?

Is it possible to measure network traffic (per month, per WAN, per direction) with pfSense/freeBSD? There are following programs listed https://doc.pfsense.org/index.php/...
2
votes
1answer
1k views

Wifi suddenly not working on thinkpad, in both Manjaro and parrot linux

I boot up the laptop one day and wireless is not working. The wireless led on the laptop is green, showing it's working. In bios, it is enabled. But Linux does not see any kind of wireless interface,...
11
votes
8answers
44k views

Get devices name on the network

I wanted to know all the devices name on the network. I've already tried without great success many commands found on the web, but nothing worked like i wanted to. Basically, when i enter my router ...
0
votes
0answers
11 views

Can't Seem to Block or Delete Wifi Networks

I am trying to restrict the wifi access on my Centos 7 machine to block, or allow only certain networks. Nothing seems to work. I've tried to forget networks, use the firewall, and deleting the ...
0
votes
1answer
40 views

How to talk to a tap device on Linux from another computer

I am running Linux on VMware Fusion on my Mac. On Linux, I am using a TCP echo server based on TAP devices (it's called PicoTCP, link here: https://github.com/tass-belgium/picotcp). I run the echo ...
4
votes
1answer
883 views

SoftIRQs and Fast Packet Processing on Linux network

I have been reading about performance tuning of Linux to get the fastest packet processing times when receiving financial market data. I see that when the NIC receives a packet, it puts it in memory ...
0
votes
1answer
27 views

No ICMP response for veth devices in same namespace

I have created a veth device pair as follows in Ubuntu 16.04: $ sudo ip link add veth1 type veth peer name veth2 $ sudo ip link set dev veth1 up $ sudo ip link set dev veth2 up $ sudo ip address add ...
0
votes
1answer
28 views

How can you run OpenVPN client inside a docker container?

I want to run a OpenVPN client inside a docker container. I tried as following in an ad-hoc test: docker run -it --rm --cap-add=NET_ADMIN --device /dev/net/tun -v $PWD:$PWD ubuntu bash in the ...
0
votes
2answers
3k views

Centos 7: No Wifi Adapter found

I have dual booted centos 7 with Windows 10. Once centos 7 setup finished, no wifi connection was available. In the "settings > Wifi", I see a message saying "No wifi adapter found". My wifi adapter ...
0
votes
0answers
6 views

Setting up connectivity from physical interface to ovs-bridge inside a namespace

I am absolute newbie for the virtualization stuff. Im trying to set up a bridge inside a namespace which should be able to connect to a physical interface. conside I have a ovs bridge name br0 which ...
0
votes
0answers
9 views

Adding IP Header Option With netfiletr

Is there any way to add IP header option (Record Route for example) to outgoing forwarded IP traffic using netfilter functionality( iptables, nft, ...). Theres's ipv4options patch extension but it ...
2
votes
1answer
988 views

OpenVas + Kali Rolling: The connection was reset

I am trying to get OpenVAS to work in the latest Kali release (rolling). It seems to be installed right, but when I try to access the web interface (127.0.0.1:9392), I get Connection was reset. ...
1
vote
1answer
39 views

How do I get the amount of internet data used throughout the day?

I need to set a cap to my internet usage and manage data usage to download things programmatically based on the amount of data I have consumed. Is there a way to find out how much internet data I ...
2
votes
0answers
38 views

Configure static values in /etc/dhcpcd.conf

What are the valid values (and what are they used for) for the static option in /etc/dhcpcd.conf file? I'm configuring a network interface of a Raspberry (running raspbian stretch) by editing the /...
1
vote
1answer
15 views

FreeBSD rc.conf not adding lagg group to bridge on system start up or service restart

I am not sure what I am doing wrong here. I have the following configuration in my /etc/rc.conf on my (personal) server. cloned_interfaces="bridge0 lagg0" ifconfig_igb0="up" ifconfig_igb1="up" ...
0
votes
2answers
1k views

How to determine IP address of guest operating system in qemu?

After I boot a Windows XP in qemu it gets an IP assigned from DHCP server. My question is - how do I determine the IP that Windows XP got assigned, so that I can connect to Windows XP? Here are more ...
268
votes
16answers
811k views

How do I set my DNS when resolv.conf is being overwritten?

Most of the info I see online says to edit /etc/resolv.conf, but any changes I make there just get overridden. $ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
1
vote
2answers
4k views

How can I install my network driver on Debian from a USB media?

Here's my typical workflow for installing Ubuntu/Mint: 1) Boot from a USB stick with Live installation 2) Install, reboot 3) Use my USB network adapter which is supported by Mint to get internet 4) ...
0
votes
0answers
22 views

Is it possible to “bridge” my laptop's wlan and eth so eth behaves as if it's connected to the router directly?

Here's a crude picture of what I mean. Basically, I need that device in the bottom left to be visible to the PC 1 as if it were connected to the router directly (dashed line). Physically it is ...
1
vote
1answer
22 views

Failed to start Raise network interfaces after Nginx SSL configuration

My networking service has failed to restart, first after some configuration, then after a reboot. I'd like to know why and how to resolve the issue. As I'm fairly new to Linux, especially when it ...
2
votes
2answers
1k views

ssh reverse tunnel with remote ip

From a server 192.168.0.1, I'd like to reach a server 192.168.0.2 on port 80. 192.168.0.2 can reach 192.168.0.1, but 192.168.0.1 can't reach 192.168.0.2 (firewall). I have set up a reverse proxy, by ...
5
votes
1answer
2k views

AppArmor Profile: Deny internet access

I want to deny the internet permission for some applications. Therefore, I tried first to deny the internet permission for ping, but it doesn't work. Here is the profile of /etc/apparmor.d/bin.ping /...
0
votes
1answer
1k views

Why I can't increase the transmit power of my Wifi interface?

I want to increase my txpower to 30 with iwconfig, but it is not working. The rts and ths are not on off mode: Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm Retry short ...
0
votes
1answer
35 views

How to restrict use of SFTP feature “escape to local shell”?

In order to make a file server with restricted access, I set the following configuration: On the file server (Debian Wheezy) Create a user data-reader without home, without shell, in the group named ...
-1
votes
0answers
44 views

Wireless network card (Qualcomm Atheros AR9227) slower in Linux (Debian) than Windows 10

a few months ago I dual booted Linux (Debian 10 Buster with KDE Plasma) and Windows 10. Everything seems to be working correctly, except for my wireless network card (Qualcomm Atheros AR9227). It's ...
1
vote
0answers
309 views

Ping to any ip does not work on ppp0 from USB 3G modem Huawei using wvdial

I have a Debian OS on a Banana pi and I use a Huawei 3G modem to connect to the internet from it using the wvdial tool. I also have the usb-modeswitch installed and I think the modem is working as a ...
0
votes
1answer
1k views

Apple Home Sharing on a Linux machine

Is it possible to share a directory with media files to an Apple TV (Gen 2 & 3) using Home Sharing on a Linux machine? I've found some solutions suggesting DAAP but none of them seems to be for ...
0
votes
1answer
1k views

How can I grant permission to a user to change the IP address?

I need the user be able to change the IP address, without giving him full super user access. How can I do that? I tried the solution here https://serverfault.com/a/480823 That works fine, but only ...
2
votes
1answer
87 views

Open vSwitch datapath and linux bridges

I am trying to understand the internal mechanism of how Open vSwitch leverages the linux infrastructure, specifically difference between OVS bridges and br-xx (linux bridge). I am new to this field, ...
0
votes
1answer
924 views

How to find the cause of TCP RST on Linux (Ubuntu Server)

In my mail server I'm getting high TCP reset send between working hours, as shown in this grafic: This is a capture of the server traffic filter by tcp-rst: When I run "netstat -i" I get this: ...
0
votes
0answers
12 views

Connecting to a QEMU instance with FireFox over a tap interface

I'm running a webserver in a QEMU instance, but I cannot verify that everything is working as intended without being able to connect to the server with my web browser (firefox). I have configured a ...