Linux Networking refers to any networking function performed by a server running Linux. A Linux server operating as a router or firewall are the most common applications.

learn more… | top users | synonyms

0
votes
1answer
36 views

Most outgoing connections blocked (kind of?)

I have a server which I upgraded from Ubuntu 12.04 to 14.04. Now I have some extremely strange behaviour (which I believe was not present immediately after the upgrade, but can't be sure): I can't (by ...
0
votes
1answer
69 views

rcp files from windows 2008 server to linux box? (Running rcp on linux)

I am trying to run rcp command on rhel6 server to copy over files from a windows 2008 server but see this error message. /usr/bin/rcp administrator@10.225.185.112:"C:\nfsqa-rhel62-vm01.root.keytab" ...
2
votes
0answers
102 views

How to route traffic through different interfaces based on the port number?

iptables -A PREROUTING -i usb0 -t mangle -p tcp --dport 8080 -j MARK --set-mark 1 iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain ...
0
votes
2answers
2k views

OpenVPN Route Client Traffic Through VPN Server Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
1
vote
1answer
44 views

Temporarily block communication with host if its connecting to port X

I have a Linux VPS, and it's constantly being scanned, bruteforced by some rogue IPs. This VPS is my private server, that serves only to me, and I'm the only user of it. Also I am the only user who ...
0
votes
1answer
59 views

Linux router: User friendly, web-based traffic monitor app [closed]

This is not a tech question but I hope someone can help me out. I've been searching all over the web for an app like this, but I can't seem to find one: Friendly user interface where a non-technical ...
0
votes
2answers
57 views

How to forward traffic to different nics based on source?

I'm a newbie to IPtables, but am looking to do send traffic to a specific card based on the source. Here's what I would like: eth0 - all traffic comes in on this NIC Depending on the source IP, I ...
0
votes
0answers
23 views

allow double tagging on vlan interface

I have a single interface eth0 on my machine. I have a linux bridge to which If I add my interface I loose connectivity. So I create a vlan interface and add it to the bridge. All is fine now except ...
0
votes
1answer
42 views

ip route command with source option

I have multiple interfaces on my system catering to different subnets. I also have a pseudo interface which is a p-to-p driver for tunneling packets. I was trying to add routes using ip route command ...
0
votes
0answers
194 views

Linux: Reduce UDP Packets Error

I'm facing UDP packet receive errors (under Linux 'netstat -su' command). I have 10 x UDP processes running on Machine-A (RHEL 5.2) and each of them send 290-byte packet at 50 times per second to ...
0
votes
1answer
48 views

Mount a SFTP remote filesystem that doesn't give shell access

I have a NAS that exposes its filesystem as SFTP, but it doesn't give any access to connect throught SSH as a normal user. I've tried to use sshfs to mount it from a remote webserver, but I receive ...
0
votes
1answer
43 views

How to achieve stateful fail over when using multiple uplinks?

I have multiple ISP lines over which I am load balancing the network traffic on my linux machine having multiple interfaces ( eth0, eth1 ,eth2, eth3) . This I am doing by creating the routing tables ...
2
votes
2answers
118 views

DNS points to the right IP, but I can't connect using DNS

UPDATE: This is now strictly a local problem, connecting remotely works (a dumb mistake I made.) I think it's now it's a loopback issue, which is a different issue, and likely answered in another ...
0
votes
0answers
21 views

Fail over in Lokiwall Firewall

I have configured lokiwall firewall on my linux machine having multiple interfaces. Dual Routing works fine. However, I wanted to know how does the fail over happen in case a link goes down. Do the ...
1
vote
0answers
89 views

Separate L2TP/IPsec VPNs with dynamic VLAN assignment

I am working on a Linux (Debian 7) VPN concentrator for different kinds of remote access. One of the offered protocols is L2TP/IPsec because of the client availability. I am using xl2tpd which in turn ...
1
vote
1answer
60 views

Debian port(s) not responding

I am fairly new to servers. I am trying to run a shoutcast server on debian. Shoutcast runs on a default port of 8000. My problem is it will not load when visiting xxx.xxx.xx.xxx:8000. When I log in ...
1
vote
1answer
83 views

iptables destination NAT from one range to another

I am trying to make destination NAT from one range (192.168.2.0/24) to corresponding ip addresses in another range (192.168.1.0/24). I have managed to do this ip by ip iptables -t nat -A PREROUTING ...
-2
votes
2answers
1k views

Telnet client on redhat linux

I am trying to install a telnet client in Red hat linux server which doesn't have internet connectivity. Red hat linux version less /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 ...
1
vote
1answer
148 views

bacula backups very slow with TCP socket in 'unkn-4' state

Several bacula-fd clients are backing up to one bacula SD (using 2G disk files on massive RAID, not tape), usually 2-3 of them concurrently. It works fine, except when 2 bigger clients (about ...
0
votes
0answers
30 views

Why does ip_forward=1 cause inadvertant problems?

I did a google search and searched the Ubuntu forums, but couldn't find the answer I was looking for with my specific situation. What I have is the following: 2 handsets setup for VOIP ...
2
votes
1answer
313 views

Passing through RDMA network devices to docker containers

I'm wanting to passthrough infiniband to a docker container so that I can run some high performance apps over ipoib and use rdma. Currently, I'm doing this with xen virtual machines. Now I'm looking ...
0
votes
1answer
57 views

Forwarding traffic from one virtual interface to another

I have a router with two ethernet interfaces: eth0: 1.1.1.2 (with 1.1.1.1 gateway) eth1: 2.2.2.1 I created two new virtual interfaces: eth0:1 : 1.1.1.3 (with 1.1.1.1 gateway) eth1:1 : 2.2.3.1 ...
1
vote
0answers
57 views

Redirect Default Gateway Traffic in Linux to File

I am trying to troubleshoot one of my linux servers (ubuntu server). Therefore I want to intercept all traffic that is sent to the default gateway and then write it to a file: preferably some kind of ...
0
votes
1answer
181 views

how to run pptp over redsocks proxy

I have one (virtual) Linux box in Ubuntu, that has redsocks set up done. Inside the machine, I could confirm that the the redsocks did work (use wget to check the external IP). Now, I want other ...
0
votes
1answer
39 views

DNAT packet after decryption of ipsec

how to DNAT packet decrypted by ipsec. encrypted packet is: sourceIP: 192.168.4.6 destIP 10.10.0.100: If i simply : iptables -t nat -A PREROUTING d 10.10.0.100 -j DNAT --to-destination 10.0.0.5 ...
1
vote
0answers
85 views

Enabled Intel® I/O Acceleration but no bytes transffered

I enabled IOAT but it seems that no data is transferred using DMA for network: I enabled IOAT in bios. CPU is Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz. I loaded the module in ubuntu 14.04 ...
0
votes
0answers
65 views

CentOS 6.5 Bridged Networking Fails

I have a CentOS 6.5 Server that I wish to host VPS on, as well as installing SolusVM, to do this I need to bridge the network adapters for the Server and the VM's ( so the VM's can connect to the ...
0
votes
2answers
256 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
0
votes
0answers
66 views

How can I log and maybe even block IPs that send lots of incoming UDP traffic?

we run a voice / teamspeak server which receives legitmate traffic on port 9987 from many ips. Sometimes we get DDoSed. So people use single Servers and send 1-3 Gbits of UDP Floods to that port. This ...
-2
votes
1answer
56 views

How can I access a Virtual Machine on different subnet? [closed]

I have two virtual machine VMachineA and VMachineB using virtual box. VMachineA (CentOs 6.5) has two network interfaces: eth0 (IP: 192.168.3.48, GW: 192.168.3.1) and eth1 (IP: 10.10.200.1). ...
0
votes
1answer
246 views

Proxmox VE: Multiple shared public IPs with NAT configuration

I have a Proxmox VE (v3.3 @ Debian 7 Wheezy) and got 3 public IPs routed to that server. It is my aim to have multiple VMs sharing those IPs using a NAT configuration so that I can forward single ...
0
votes
2answers
723 views

Setting up a server with two NICs using two separate subnets (each on a different VLAN)

I'm using Ubuntu 14.04 (standard server install + OpenSSH, biosdevname=0 during instal to keep the network names simple) in an environment where I have two non-overlapping subnets M and N on different ...
0
votes
0answers
115 views

IPFire configuration as IDS behind router

I want to use an IPFire-Server primarily as an IDS behind an already existing router. The network's router (192.168.1.1) has access to the Internet and provides LAN-Slots for the clients. There is ...
1
vote
0answers
96 views

Load Balancing over multiple ISP connections

I have been trying to implement load balance and fail over on a linux machine having multiple interfaces. Currently I am using two ISP lines and I wish to split the network traffic such that both of ...
2
votes
0answers
39 views

IPsec - strange behavior

I have set up site-to-site ipsec connection between linux(debian) and mikrotik router. The tunnel is up linux configuration: config setup interfaces=%defaultroute keep_alive=60 ...
5
votes
3answers
351 views

Multiple ethernet interfaces

I have a two network cards, configured like this: eth0 Link encap:Ethernet HWaddr 00:19:d1:31:08:e8 inet addr:192.168.5.104 Bcast:192.168.5.255 Mask:255.255.255.0 inet6 ...
0
votes
1answer
61 views

how to connect/bridge two interfaces on different processes

I have two processes A and B (simulating real hardware device), each with their own TAP interfaces. If I want to send an ethernet packet to A, I send it on interfaceA, and similarly if I want to send ...
-1
votes
2answers
174 views

link aggregation with wifi and ethernet on Linux

I have a computer running linux with a wifi and an ethernet interface. I'd like to set up link aggregation (at least fail-over, but other modes would be nice too) between these two so that both this ...
0
votes
0answers
181 views

Linux router with multiple gateways and port forwarding

I want to use a Linux VM to act as several routers at once. I have multiple servers hosting different services and dedicated public IP for each of them. Super simplified setup example: Ubuntu ...
1
vote
1answer
282 views

Keepalived load balancing MySQL. Backup server time-out

Dear beloved people at ServerFault. I'm trying (and failing) to setup a load balanced MySQL server array. Please enlighten me, show me the error in my ways. Current setup: two MySQL servers with ...
0
votes
0answers
74 views

Connectivity issues (slow response) to a remote VM via SSH

I am on a linux machine trying to Ssh into a remote Centos 6.4 server via VPN. The server often gets disconnected and response too is slow. I see the messages on the terminal once in a while: ...
1
vote
1answer
186 views

should a virtual interface clash with keepalived?

I was working on a server today, debian squeeze. After testing this on two staging servers, I added a virtual network interface to /etc/network/interfaces like this: # The primary network interface ...
0
votes
1answer
27 views

What kinds of configuration can prevent a network interface from seeing traffic?

I have two ethernet adapters on my Debian system, eth0 on my local network statically assigned to 192.168.2.1, and eth1 with a dynamic IP connected to the internet. I know this setup works, because ...
0
votes
0answers
61 views

How do I automatically advertise a preferred route via BGP using keepalived?

I have a dual firewall setup with 2 active paths to the internet. These are independent and cannot be linked together on the WAN side. It's part of a deployment at a datacentre. Each firewall has ...
-4
votes
1answer
79 views

Ubuntu insufficient disk space [closed]

I am getting an insufficient disk space error, here is my df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 29G 28G 31M 100% / none 4.0K 0 4.0K 0% ...
1
vote
0answers
61 views

Printer on OS X not printing across VPN subnets

I have an interesting situation where I have a two servers that connect two subnets via a VPN. One side is 192.168.0.0/24 and the other is 192.168.1.0/24. Communications appear to be working okay. I ...
1
vote
1answer
170 views

Limit max bandwidth per IP

I have some partners, that uses one of my linux servers as a gateway. The problem is I need to limit bandwidth per client ip address on this gateway. My partners client ip ranges are not known to me. ...
0
votes
0answers
169 views

Dual WAN setup in Redhat/Centos Linux

I want to setup a Linux Server running SIP (freeswitch) applications with 3 NICs as follows: 2 of the NICs are WAN connections and the 3rd is a Private network for routing requests to other hosts on ...
1
vote
1answer
687 views

Debian up in /etc/network/interfaces not working

I'm trying to add a secondary IPv6 address to eth0 on Debian Sid. I added the following lines to /etc/network/interfaces: iface eth0 inet6 static address [IPv6 address #1] netmask 64 gateway ...
1
vote
0answers
127 views

Using my IPs on OVH server via GRE

I can't route my IPs into a OVH server, can you help me to find the problem? Mikrotik GRE IP: 192.168.55.10 OVH Server GRE IP: 192.168.55.20 GRE iface name: ali1_fr1-ovz1 IP to route from Mikrotik to ...