Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
0answers
1k views

Port redirection on loopback with IP other than 127.0.0.1

I want to redirect port 80 on the loopback network interface so that accesses to that port actually go to port 8080. I tried using the following command, but it only works if the application is ...
1
vote
0answers
362 views

iptables server behind NAT accessible from outside as well as inside the nat

I have 2 machines with a KVM running on each machine - so two kvms with the below networking Host 1: 192.168.10.100 (eth2) 10.10.100.1 (virbr1) KVM 1 (NAT with Host 1): 10.10.100.128 (eth0 ...
0
votes
2answers
454 views

What is the simplest method to redirect traffic using either a proxy or iptables?

I need to redirect all incoming traffic on port 7777 to a specific destination_ip:port. I have about 40 Litecoin (scrypt) mining rigs that I have to manually reconfigure each time I'd like to switch ...
2
votes
1answer
3k views

Networking between two Virtual machines on different hosts

I have openSuse installed as a virtual machine(Oracle Virtual Box) on DeskTop(win 7), and another openSuse installed on as a virtual machine(Oracle Virtual Box) on my Laptop(win 8.1). Please see the ...
7
votes
1answer
275 views

FreeBSD systat doesn't calculate upload speed/total on wlan0

When I call systat -if shows that wlan0 out traffic/peak/total are 0 kb(/s). I'm using wlan0 for networking, internet down/upload are working. The in traffic/peak/total are OK. The wifi chip is ...
2
votes
1answer
114 views

iptables drop length and TTL condition doesn't work

With iptables utility on Linux host need to create mini firewall. I need to drop all incoming connections with package length greater than 722 AND TTL greater than 22. Need exactly AND. Drop only if ...
1
vote
0answers
61 views

How to run a specific TCP client with a different IP?

My server has 3 ips. I use cronjob doing some api job. But this api has some limit: 100 calls/day. So how can i set a special ip for running some special script via cronjob? Thanks. 0,20,40 * * * * ...
0
votes
1answer
2k views

Ping to my own public IP results in host unreachable

First of all, I'm running a Manjaro 3.10 (Archlinux x64) install. I'm trying to make my No-IP configuration work. I have tried to ping my no-ip host and I recieve host unreachable ICMPs only. I was ...
1
vote
1answer
575 views

How can I allow applications to bind to any address in a subnet assigned to an interface?

I recently got a static IPv6 /56 prefix of my own from Freenet6, and am trying to allow applications to bind arbitrary addresses in the prefix. I modified the tunnel creation script that gogoc uses in ...
3
votes
1answer
248 views

How can I make sure that eth1 get its fe80 IPv6 address immediately on startup, even if it's not physically connected?

I'm working on an embedded-x86 Linux device that runs Debian (Linux 3.8.13). This device has two Ethernet ports, eth0 and eth1. If I boot up this device with only eth0 connected to a switch, and ssh ...
2
votes
1answer
941 views

Change IP remotely over ssh

I am using CentOS. I have a management server which has password-less ssh access to four other servers. I don't have physical access to these servers. In other words, I have to make all ...
2
votes
0answers
101 views

Ajax-y sites load sloooowly or not at all. [Ubuntu/Mint]

About two months ago I reinstalled Ubuntu onto my desktop machine. Since doing so I've had a lot of problems with certain websites and very slow or complete loading. It seems to be related to use of ...
-1
votes
1answer
6k views

ifconfig shows only lo

I'm a beginner using Debian. I've just installed Debian 7.5.0 amd netinst. Actually I am trying to install the firmware through aptitude install firmware-linux-nonfree When I executed ifconfig and ...
0
votes
0answers
833 views

Help with Setting up network connection in Debian 7.5.0

I'm a beginner using Debian. I've just installed Debian 7.5.0 amd netinst. When I execute apt-get update I get errors like: Could not resolve 'http.debian.org' Thus I changed the mirrors several ...
39
votes
1answer
47k views

Good detailed explanation of /etc/network/interfaces syntax?

I understood the very basic concept of how to use /etc/network/interfaces, but all I find online are examples, example after example, which I can copy-paste from. What I miss is an explanation of the ...
12
votes
4answers
717 views

Why does *BSD uses driver specific names for network interfaces? Does it imply limitations?

I notice that depending on the brand of the network card, interface names differ (driver dependent I suppose). Why does *BSD uses driver specific names for network interfaces? Does it mean there is ...
100
votes
13answers
314k 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 ...
0
votes
1answer
253 views

Get a faster response for a ping

I noticed that the answer to my ping is slower in one debian machine that another. For the first one when i ping to 8.8.8.8: 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=29.6 ms For the second ...
1
vote
1answer
139 views

Parabola installation, “network is unreachable” despite working ping [closed]

I am trying to install Parabola(closely related to Arch Linux). As my wireless adapter does not work with linux due to some firmware issues, I have to use a wired connection. So, while a ping to ...
6
votes
1answer
1k views

Skip routing via `lo` interface for outgoing packets

Introduction I have following load balancing configuration: 10.0.1.31 - lb 10.0.1.35 - virtual IP 10.0.1.32 - node1 (tomcat + mysql) 10.0.1.33 - node2 (tomcat + mysql) I'm using keepalived which ...
5
votes
1answer
2k views

LXC container to use “virtual” interface from host (namespace semantics)

So according to the documentation on the Ubuntu LXC documentation the following statement can be found at the time of this writing: A NIC can only exist in one namespace at a time, so a physical ...
1
vote
1answer
331 views

Virtual always connected network interface with static IP?

How do I create a virtual, always connected network interface with a static IP on Linux? It must work when all my physical interfaces are disconnected. Looking for general information regarding this, ...
1
vote
0answers
40 views

I'm wondering about CUPS security. What can I do?

I run Debian Wheezy on a old Acer Aspire One ZG5 model netbook as a server. I have a printer shared to all my other systems and I'm worried about security. On the server I have IPtables set up to ...
6
votes
2answers
6k views

Blocking Websites with /etc/hosts

There's a website, www.example.com, that I tried to block myself from accessing because it wastes too much of my time. So I configured my /etc/hosts file. I added the following lines, to block the ...
1
vote
1answer
469 views

A question about wlan0 / eth0 and wireshark

I'm using wireshark to listen to packets on my own personal home network. I have my Desktop with Debian and Windows 7 running and my laptop is running the same setup; Debian and Windows 7. I ...
7
votes
3answers
9k views

What are the benefits of using several IP addresses on a server?

With ifconfig, I am able to configure multiple IP addresses on a single network interface card. Why would I want to do that and how would I later utilize several addresses, e.g. how does software know ...
15
votes
2answers
17k views

How to make traceroute trace beyond 30 hops?

Some of the servers I use traceroute on, are more than 30 hops away. How do I make traceroute trace beyond 30 hops?
0
votes
2answers
170 views

How to estimate server's network connection quality with traceroute?

I need to estimate network connectivity of various dedicated server hosting providers, e.g. how fast and uniform will my services perform when hosted there. I use traceroute command on my home ...
2
votes
1answer
70 views

Non-administrative network-related tools

I know there are tools to inspect packets (e.g. wireshark) or to simulate latency/packet loss (e.g. netem), but they all seem to require administrative permissions to inspect/modify packets. I'm ...
2
votes
0answers
313 views

sctp traffic generator

I'm looking for a free SCTP/TCAP traffic generator (specially for MAP, Camel and INAP protocols). I need to build some message flow scenario and generate load in order to test some application Thanks ...
1
vote
2answers
122 views

simply change IP after installation on server minimal

I'm using CentOS 6.5 minimal. Is there any way to display a dialog to change the IP after login? In other words, some way of entering a command with a dialog to change the IP?
1
vote
0answers
18 views

Reverse proxy for OVZ containers

Is it possible to use a reverse proxy to channel all network traffic from one domain to a single container using the same IP for all the domains? The reverse proxy would have to read the domain and ...
2
votes
1answer
121 views

Hosting on freeBSD

I already installed FreeBSD 10, Apache 2.4 and PHP 5.5. I also just bought a domain from GoDaddy, and I would like to setup a web-hosting in my server, in order to make my website to be reachable from ...
0
votes
2answers
502 views

ping not working for google alone

one of my friend changed some network config in my laptop at home, He said he tried something related to block a website(he tested it with www.google.com).Now www.google.com not loading . Even he dont ...
1
vote
1answer
4k views

Conntrack TCP Timeout for state stablished not working

Im using a private IP address and I want to keep alive SNAT entries in my Router (Gateway) for at least two hours (some windows apps of my network are using TCP keepalive set to 2 hours). Gateway is a ...
4
votes
1answer
3k views

How does init determine which devices to modprobe?

I'm building a totally custom initramfs for a netbooting project and in the process learning a lot about it, but I'm a little puzzled by the loading of modules. I know modprobe can be used to load ...
3
votes
3answers
8k views

traceroute gives only stars + how to fix

Please advise about the following problem. When I do: $ traceroute 8.8.8.8 I get in the output showing only stars, even though pinging to google.com ( 8.8.8.8) appears to be working. Please ...
0
votes
1answer
140 views

Change network values from sysctl.conf

Can I change the value of those parameters (spoofprotect, syncookies, dynaddr_hack, notimestamps, nobroadcasticmpecho, ip_forward) from sysctl.conf file in systemd?
4
votes
1answer
604 views

Can iptables be used to monitor TCP timeouts/resets system-wide?

I'm trying to determine if an application's connection to a database is internal to the application or due to a networking event. This seems like something netfilter would have system-wide visibility ...
0
votes
0answers
29 views

How to use networks default gateway dynamically? [duplicate]

I want to use specific interface for specific use from different different application. I am using Ethernet, Wi-Fi and 3G modem interfaces in my embedded Linux set-up. Now my set-up is up with ...
1
vote
0answers
168 views

How to find 3G signal strength when connection is already established by pppd? [duplicate]

I want signal strength information when pppd connection is already running. I am running pppd on embedded Linux environment and 3g modem manufactured Cinterion. I knew commands from which i am able ...
6
votes
3answers
1k views

Fedora 20 dosen't accept correct PIN for mobile broadband

I have a problem with the WWAN (Qualcomm Gobi 2000) in my Lenovo ThinkPad W510. I can not unlock my SIM card with the correct PIN. I enter the PIN in this dialog and after this I get immediately ...
2
votes
1answer
493 views

SSH Setup - How will the router know my computer's ip?

I'm very new to the networking side of the house and am trying to set up SSH on my new Ubuntu machine. I have my DD-WRT router working with DDNS now and can log in to the router page -- but I'm not ...
1
vote
1answer
10k views

Enabling wired internet connection with dhcp during Arch Linux Installation? [duplicate]

From what I read, wired internet should work out of the box during the Arch installation. However, I'm having difficulties. The dhcpcd service is running, but it says: # systemctl status ...
0
votes
0answers
326 views

What is wrong with these iptables' rules?

The following is what I got after googling: iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT #allow loopback access iptables -A OUTPUT -d 255.255.255.255 -j ACCEPT #make sure you ...
1
vote
2answers
9k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd ...
2
votes
1answer
563 views

How to implement retry mechanism while executing the server url in the shell script?

I am working on a project in which I need to make a url call to one of my server from the bash shell script.. http://hostname.domain.com:8080/beat After hitting the above url, I will be getting the ...
0
votes
2answers
1k views

How to add Ip Aliases with Two Gateway on same nic Centos

I have 2 allocated address range, example 10.10.12.25/28 10.12.12.24/28 How to add Ip Aliases with Two Gateway on same nic with Centos?
3
votes
1answer
5k views

multiple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 different nets, and I need to define 2 ...
0
votes
1answer
376 views

How to access my webserver from the host machine? [duplicate]

My host OS is Gentoo, guest OS - Fedora. I have a web server on Fedora on port 8686 and it works perfectly on guest OS, but I can't access it on my host OS. I tried to use bridged network (then I got ...