Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
12 views

pcfl - Allow ssh for an specific IP

I'm working with pfctl on Mac OS X. Im trying to make a policy/anchor what blocks SSH for ALL ips, minus specific ip. I try this: pass in on fxp0 proto tcp from any to any port < 22 flags S/SA ...
0
votes
1answer
69 views

Not all traffic routed through openconnect VPN

I'm trying to connect to a VPN network using openconnect with the following command: sudo openconnect -s /etc/vpnc/vpnc-script SERVER I manage to connect to the VPN, so that I can connect to PCs in ...
1
vote
1answer
32 views

Meaning of address and route scope

I've been searching information concerning the meaning of scopes both in addresses and routes but I don't understand the documentation I've read so far. This is what I've been reading: man 8 ip http:...
-1
votes
2answers
72 views

Detect automatically a network interface for each one in Solaris 11 [closed]

I'm working currently in a shell script to monitor a Solaris system. The main purpose of the script is show info like: Memory, Network, etc. In the Network part, it will show info like arp table, ...
2
votes
4answers
90 views

Solaris 10 - changing default gateway and netmask

We have a Sunfire V240 server with Solaris 10,I need to change the subnetmask and gateway. I was able to change the subnetmask and gateway by editing the files /etc/subnetmasks and /etc/...
0
votes
0answers
196 views

Wifi can't connect - QCA9377 (168c:0042 rev 30) on arch linux

I have an Acer R11 that came with an Atheros wifi chip. QCA9377 / 168c:0042 (rev 30). After much googling, forum browsing, and general anger, I'm posting here. I am unable to connect to a wireless ...
0
votes
1answer
60 views

linux + single user mode and set network

I have linux redhat machine version 6.5 I reboot machine and work as single user mode , then I set the network on eth0 with default gw address /etc/sysconfig/network-script/ifcfg-eth0 but from ...
1
vote
0answers
28 views

How to get packets queued by the kernel packet filter?

I made simple HTTP proxy which accepts connections from clients on a fixed port; the proxy forks for every incoming connection, and the forked process deals with the flow of packets to the Internet ...
0
votes
0answers
49 views

How to add security (802-1x.eap) with nmcli

I've done nmcli con add type ethernet con-name SOMENAME ifname enp5 now how do I add security to it using nmcli(as if you had hit the on button in the gui.) so that I can than go and edit the ...
0
votes
2answers
108 views

How to access server without IP-address

I have a centos server that was previously on my company's network using a static IP address, but it has since been blocked/firewalled on the network such that I'm not even able to ping it. I was told ...
0
votes
0answers
87 views

How do I get a yum repo to work in a Docker container?

What do I do about two Docker containers on separate VMs that have the same IP address on my network? I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, the ...
0
votes
0answers
17 views

Any clustering / load balancing solutions for VPN servers that support external IPs?

I am looking for a clustering / high availability / load balancing solution (something like ucarp or clusterip, etc) where it allows the nodes to be external IPs. Specifically, I would like it for ...
1
vote
1answer
32 views

Route specific traffic to specific interface

I have two NICs. Basically, I want to use one of them for specific traffic (based on the destination IP or the domain) and the second one for the rest of the trafic. Is this possible? If it is, How ...
0
votes
1answer
10 views

Is there a simple menu-based app that shows the LOCAL IP#?

Is there a simple menu-based app that shows the LOCAL IP#? This so I can provide the IP# to anyone wanting to contact my new RPI3 on a LOCAL network (Apache web server initially).
0
votes
0answers
44 views

How to enable gigabit transfer for gigabit ethernet

I have 2 machine (PC and laptop) and a gigabit switch, both NIC are gigabit, the cables are Cat-5E, the PC is gigabit enabled: $ ethtool enp1s0 Settings for enp1s0: Supported ports: [ TP MII ] ...
2
votes
0answers
47 views

Change with the command iptables not reflected in the output of the command netstat

Scenario: A virtual machine UU (abbrev for Ubuntu) is serving a web-page. The web-page is accessible on CO (abbrev. for CentOS) which has the Virtual Box on which UU is running. However the web-page ...
1
vote
2answers
183 views

Cannot connect to the internet (even pinging my own router) on any distro

I always run Windows 10 (Ethernet and WiFi work fine) but I dual boot and changed my distro from Arch (~6 months ago) to Fedora (~3 months ago). Fedora used to connect sometimes and sometimes not. ...
0
votes
0answers
91 views

Setting multiple IP addresses on private network interface using Vagrant

I am trying to configure IPv4 and IPv6 address on Internal network Vagrant interface but I am unable to do so. Here is the configuration: config.vm.network "private_network", ip: "192.168....
1
vote
0answers
42 views

How to proxy nmap and dns resolution of nmap

How to use nmap and dns resolution of nmap over proxy? I tried proxychains, but for dns resolution it doesn't work, it's known bug as I read on some forums. It works well without dns_proxy feature in ...
2
votes
0answers
94 views

Configuring and Testing Freeradius on debian

I'm trying to set up a freeradius server on debian (LTS kernel 3.2.0.4amd64; Wheezy 7.10) it seems to want to use freeradius version 2.1.12 Installing the package wasn't a big deal (apt-get install ...
1
vote
2answers
85 views

Connect to Linux machine behind a firewall

I am looking for way to connect to Linux machine without connecting to it using SSH, Telnet or something similar. The Linux machine is behind a router and I don't have access to it. So opening / ...
2
votes
1answer
178 views

Don't allow docker internet access

I'm looking for a simple way to limit my docker containers so they only have local access and not internet access. I've tried using IPtables to do this and the following works: iptables -I FORWARD -...
0
votes
0answers
12 views

Network shares mounted seem to time out

I am running Windows Mint as primary OS on a couple of PCs at home, I also have a server running Windows Server 2008 which serves a couple of Samba shares. I have mounted these drives via /etc/fstab ...
0
votes
1answer
89 views

Public HTTP/HAProxy server also is a VPN… should it do both?

I have a HTTP/HAProxy server. It also is the OpenVPN server for my network (all my servers are connected to it). I expect my website to grow dramatically soon, so I am worried if this single point of ...
0
votes
0answers
15 views

Changing interface from dhcp to static using nmcli in CentOS7 [duplicate]

I have a new CentOS7 box that I'm trying to configure the interfaces on, and I know how do do it the CentOS6 way (Modifying the ifcfg-* files directly), but id like to use nmcli if possible. I know I ...
1
vote
1answer
50 views

Listening on tap device for packets written through file descriptor

I have a problem fully understanding how to use tap devices. I've created a tap device and brought it up and running. A user space programs opens its file descriptor and receives the ethernet frames ...
0
votes
1answer
53 views

`ssh` fails to reach destination

I am trying to ssh to another machine in my lab using the IP address. The IP address is 137.84.4.211 and let's say the host name is MyName. My IP address is 137.82.81.10. I don't know if this mean two ...
1
vote
0answers
29 views

Signal strength average from iw

I was using iw dev wlan0 station dump to get signal strength in an ad-hoc network, and noticed the output has a signal avg row. As average signal strength is actually what I'm interested in, this ...
2
votes
0answers
39 views

why does nmap shows same ports sometimes as filtered and sometimes as closed?

When I'm scanning port range 4050-4060 of an smart metering device all ports are reported as closed: root@abc:~/rvm/dlms# nmap -p 4050-4060 192.168.1.242 Starting Nmap 6.47 ( http://nmap.org ) at ...
0
votes
1answer
99 views

CentOS: yum update Cannot find a valid baseurl for repo

I am trying to do yum update but I'm getting the following error. I have exported http_proxy & https_proxy Have added proxy settings in /etc/yum.conf like: proxy=http://10.44.208.10:8080 ...
1
vote
0answers
59 views

How add configure to add default gateway from different subnet?

I am working in a host in LAN segment of 192.168.148.X with subnet mask 255.255.255.0. The LAN should be configured to use 192.168.128.1 as default gateway. What I normally do is to issue following ...
0
votes
0answers
24 views

lxc-how to make an lxc container available on the LAN?

I have tried a lot of methods mentioned on the internet,including the debian wiki, and a lot of other sources.But they all end up either not fully completing what i want to do, or taking out the host ...
1
vote
0answers
39 views

multiple ip in an android payload(Kali linux)?

I'm using Kali linux 2.0 and I'm trying to make an android msfvenom payload that uses multiple ip, What I mean is that when the msfvenom app is opened in my phone it stays trying to connect to the ...
0
votes
1answer
58 views

Troubleshooting WIFI - no access points listed

I have a desktop computer which I run mostly with a wired network connection. When I start the Wicd network manager it says "No wireless networks found." Also, the command iwlist gives the same result:...
2
votes
0answers
74 views

How to debug what is stopping ping to respond on our server?

We used to have a sysadmin person months ago who had disabled ping response on one of our servers. But now we want to re-enable ping response. I tried to check if the ping was disabled from config. ...
0
votes
1answer
68 views

Able to SSH from Windows, but not through Kali

I was trying to connect my Raspberry Pi 3 Model B over Ethernet to my netbook(running Kali from a bootable USB). After a lot of struggle that the RPi automatically assigned an IP to itself when ...
0
votes
1answer
78 views

Configure multiple interfaces with DHCP on CentOS

I am trying to get a DHCP-assigned address for a veth device (veth-inside) inside of a network namespace (myns) on CentOS 7, but dhclient is already running. The veth peer device (veth-outside) is in ...
1
vote
0answers
57 views

How to route packets between private networks on linux?

Hello! I need to connect 3 networks. Here is what I did: for the "left" host ip route add default via 192.168.26.4 ip route show default via 192.168.26.4 dev enp0s3 for the "right" host ip ...
0
votes
0answers
12 views

Could two servers connected by one cable use the link in the same time?

I'd like to know if two servers connected through a cable, can use the only connection to communicate in the same time. For example suppose both have are ssh servers, could I log in from A into B and ...
0
votes
1answer
50 views

Network monitor - delay

I am currently running Kali Linux on Raspberry Pi 2 and using it as network monitor. I have developed my own C application with libpcap and I am getting average delay on LAN about 300 microseconds, ...
1
vote
0answers
79 views

forcing proxy traffic to route via a specific 3G dongle interface

I've searched for details on how to do this but I've been unsuccessful - I wondered if someone could offer up some advice. I have 2 network cards (LAN and 3G in my case), LAN is my main interface (...
0
votes
1answer
62 views

Count number of tcp connections per second

I have a service which can only handle a max of 10 requests per second and I need to monitor how often this is exceeded. I have seen various solutions with tcpdump, ss, netstat, ntop but none seem to ...
2
votes
1answer
66 views

How to encrypt/hide password in /etc/network/interfaces file on debian?

How can I encrypt/hide my - wpa-psk "password" - line in the /etc/network/interfaces file? Since it's uncovered and readable for everyone who can get in the file now. Or is it better that I use ...
3
votes
1answer
36 views

Why is my x11vnc.desktop file not allowing a subnet?

I have x11vnc server set up on a Lubuntu 14.04 system, using ~/.config/autostart/x11vnc.desktop to start it. For a long time I specified exactly which machines on my network could access the server ...
1
vote
0answers
30 views

Why does a connection from my LAN to my public IP address fails?

I have an OpenVPN server on server. It is available from Internet via a two NATs: first the ISP box relays to 192.168.0.10, then 192.168.0.10 relays to 10.10.10.254 (relays = DNAT). I can connect ...
0
votes
2answers
19 views

Messed up my mac firewall configuration (pf.conf) and ended up with 100% packet loss

I was trying to do wifi throttling for my new app development (new to this) and was trying to do it using iceFloor application. I'm not 100% sure if this is a problem, but i need to confirm if i ...
0
votes
1answer
62 views

Home automation program “cannot assign requested address”, but only when run via VNC on a Raspberry Pi

I am trying to connect to a program through VNC, which scans the LAN for a "Cube" (MAX eQ-3) which connects to my radiator valves. The program gives the error "[99] Cannot assign requested address, ...
1
vote
0answers
13 views

KDE's network applet not listing APs, while iwlist does after some extra steps

KDE's network applet doesn't list any wireless network. It used to, but I must have made an unintended change. This much I know about my situation (the device is called wlp4s0): Upon login, the ...
1
vote
0answers
21 views

What does it mean 10.171.10.1 --> 10.171.10.2 in openvpn-created interface?

I have installed OpenVPN server in FreeBSD and it created interface, visible by ifconfig: ovpns4: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500 options=80000<...
3
votes
0answers
68 views

How can I create a two-way voice communication system that works over the local network?

I wish to create a simple two-way voice communication system between two Linux computers running Debian-based distros (probably two Raspberry Pi Zeroes). Each computer will have a microphone and ...