-1
votes
0answers
22 views

3 network interface and 2 subnets (same ip) routing

System description 1 GNU/Linux Box with Arch Linux OS 3 network interfaces 1 for WAN network 2 for every LAN LAN2 and LAN3 description On every LAN we have 3 devices main 192.168.2.2, second ...
0
votes
2answers
41 views

Assign IPs to programs/processes

I need to assign different IP addresses to different processes (mostly PHP & Ruby programs) running on my Linux server. They will be making queries to various servers, including the situation ...
2
votes
2answers
105 views

ip route get recognizes address as anycast

# ip route get 1.2.3.4 anycast 1.2.3.4 dev eth0 src 5.6.7.8 and the question is how does it know the address is an anycast ? (which apparently is true). UPDATED: Present as anycast route: ...
-1
votes
0answers
34 views

Route public subnet to client over openVPN

I want to route a public /29 subnet over vpn to a client with a natted ipv4. After doing some research, I can't figure out to make that work. Maybe I was searching for the wrong terms, but it seems ...
4
votes
4answers
174 views

Monitor an internet link to a remote host

I have a Debian Wheezy server running Xivo (let's call it A), this server has 2 interfaces: eth0 and eth1 . There is no default gateway and only a few servers are statically reached from A. eth0 has ...
0
votes
1answer
85 views

Is it possible to make the server accessible from two internet connections

how to make this: have: Centos 6.5 WAN1 eth0 44.44.44.44 (DEFROUTE=yes) WAN2 ppp0 95.95.95.95 (DEFROUTE=no) HTTP server work and available only in eth0 DNS server work but port 53 blocked in ...
-3
votes
1answer
38 views

choosing network interface based on network purpose [closed]

i have 3 NIC with ip address 10.10.10.2-eth0, 10.10.10.3-eth1, 10.10.10.4-eth2 An NFS server with IP 10.10.10.5 and want this NFS share to be accessed only through 10.10.10.3 that is through eth1 ...
0
votes
0answers
37 views

Add routes for VPN on CentOS

I am a completely new in server routing and VPN. I have a CentOS 6 server with 2 interfaces running (eth0, eth1) and current routes like this # route Kernel IP routing table Destination Gateway ...
1
vote
1answer
18 views

Qdisc pfifo_fast in linux and IP Precedence

Im using a embedded Linux distribution for a router system. My goal is to prioritize some traffic with minimum delay. I have a WAN interface with a default pfifo_fast qdisc attached to it. I have read ...
0
votes
0answers
47 views

Linux routing: How to allow a device inside private network to connect a public IP over an unknown network?

Consider following network topology: ---------- ---- (my network) ---- | Device 1 | (.101) | 192.168.191.0/24 | ---------- | | ...
0
votes
0answers
34 views

How do I change outgoing ip address for port 80 only

On my linux server I have multiple ip addresses I can use ip route change default via $gateway dev eth1 src $ipaddress to change my default outgoing ip. Can I do this for only one port All ...
0
votes
1answer
170 views

How to configure OpenVPN server to use custom default gateway?

I have a vpn server at address 10.1.0.2 and the server have another ip in it's network -- 10.0.0.2 in his subnet (it's a tun2socks router). But default server's gateway is NOT 10.0.0.2 (and it's ok) ...
0
votes
1answer
264 views

OpenVPN tun routing (can ping tun interfaces) with mikrotik and NAT on both ends

Problem The Mikrotik site is unable to ping anything on the server site. The Server site is less important right now. OpenVPN Server config is on LINUX port 1194 proto tcp dev tun ca ca.crt cert ...
0
votes
0answers
52 views

How to add a route for a specific subnet?

I have a Linux computer and an eth0 interface with 2 IPs: ip : 10.10.1.1 mask : 255.128.0.0 gw : 0.0.0.0 ip : 10.22.32.1 mask : 255.255.255.0 gw : 10.22.32.254 I would like to add a specific ...
1
vote
1answer
71 views

Firewall setup Huawei 4G with DMZ

Network topology: ISP1 | | Alternative ISP 4G | | | Huawei 4G with DMZ | | ...
0
votes
1answer
58 views

Network packets flowing both ways but still can't communicate

I have a linux box with two NICS: eth0 192.168.11.14 eth1 192.168.12.14 My routing table is as follows: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref ...
0
votes
3answers
202 views

Routing between two subnets using a Linux box with two NICs

I have a Linux box with two NICs, each connected to a different LAN: Network A: 192.168.1.0 255.255.255.0 Network B: 192.168.2.0 255.255.255.0 The routers are: 192.168.1.1 192.168.2.1 Linux NICs are ...
0
votes
1answer
82 views

Block ip forwarding for specific remote ip address

I use ubuntu as gateway for several hosts. I need advise how to block ip forwarding for specific ip address or specific ip range? I tried to block ip via ufw deny rules, but it looks like ip ...
-1
votes
1answer
45 views

Set up Ubuntu server to intercept traffic directed at another IP and send it to Apache? [closed]

I'm trying to reverse-engineer the protocol used by HP ePrint. For some reason the printer responds with an error when I override the DNS to point to my own local server, so I decided to create a ...
1
vote
1answer
46 views

Segregating web traffic between internet and LAN using Netfilter

I have a corporate "web appliance" which allows handheld devices to connect to it over wifi. I'm trying to figure out how to allow the appliance access to the internet (so it can download vendor ...
1
vote
1answer
374 views

Yum fails with [Errno 4] IOError: <urlopen error (111, 'Connection refused')> but TCP traceroute works

When I try to connect to yum repos using either yum info or yum install I get the error: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> I first thought our Firewall may be to ...
0
votes
0answers
26 views

IP Route to forward SRC to other interface/gw

and thank you in advanced for your time and cooperation. I have a simple scenary. We have a VPS (venet0) with IP x.x.x.251 and currently, the main IP is part of eth1, but I need to force the traffic ...
0
votes
0answers
21 views

Detecting routing problems

I have machines on AWS and I am seeing inconsistency for particular AWS EIP subnets. I noticed packets for these subnets doesn't reach the destination AWS machine and gets lost somewhere on its way ...
1
vote
1answer
380 views

ping works but ssh fails

machine1 IP: 172.30.11.119 machine2 IP: 172.30.11.120 machine3 IP: 172.30.11.121 machine4 IP: 172.30.11.122 Note: These machines are connected to LAN. I have configured the static ...
-1
votes
1answer
258 views

Two NIC (eth0,eth1), two global IP on same subnet. Became unreachable to IP on eth1 after reboot

I configured a CentOS 6.5 virtual server and deployed it to a remote VMware vSphere environment. We needed two IP address, so I added a virtual NIC and assigned a second IP on eth1. I didn't ...
0
votes
1answer
87 views

Force all traffic from servers on the same bridge to pass through router interface

I have a bridge with all hosts from the 192.168.5.0/24 network connected to it.They all connect to this bridge via a secondary interface eth1. I have a router which connects this bridge to others on ...
0
votes
0answers
59 views

Multiple gateways with linux on same subnet using single NIC

I have the following configuration; Firewall 1 (site 1); x.x.x.x/26 subnet on external 10.0.0.0/8 on internal (internal IP 10.0.0.10) Firewall 2 (site 2); x.x.x.y/26 subnet on external 10.0.0.0/8 ...
0
votes
1answer
52 views

Forward all network packets from server A to server B (WAN) Ubuntu

I currently run a game server on a VPS and will shortly be moving VPS provider. To make the migration easier on the players I would like players to be able to use the original IP for a short while by ...
1
vote
1answer
169 views

One IP for whole LAN, provide access to local server outside the LAN [closed]

I have a LAN with multiple PCs and some servers. I would like to provide access to one of the servers from outside the LAN. The problem for me is I have one IP address for the whole LAN. The server is ...
0
votes
0answers
50 views

Linux router cache shows very high RTT (30 sec)

one IP from the route cache is exceptional high (>30sec), the others are below 100ms. # ip -s -o r s c |grep 10.20.61.12 local 10.20.55.98 from 10.20.61.12 dev lo src 10.20.55.98 \ cache ...
0
votes
0answers
71 views

Benchmark software IP router performance using single Linux device

I'm testing routing performance using software Linux router (in-kernel). My usual test setup has 2 additional PCs: one PC is packet sender (packet generator) and other PC is receiver. There is ...
0
votes
0answers
208 views

Routing on CentOS with multiple subnets

I have a server with 2 VLANs on a NIC, configured as follows: eth0 Link encap:Ethernet inet addr:192.168.10.20 Bcast:192.168.10.255 Mask:255.255.255.0 eth0.10 Link encap:Ethernet inet ...
1
vote
2answers
138 views

Redundant routing (active/backup) on linux

I'm currently trying to setup a redundant routing on RHEL 5. The target goal is to have a primary route to a subnet and a backup route to that subnet, to be used only if the gateway of the primary ...
0
votes
0answers
158 views

Multiple VPN connections on the same Computer at the same Time with the same Subnets

What's the best approach for such scenario? : One machine „GATEWAY” SERVER with configured multiple VPN connections. PC1, PC2, PC3, PC4 are the clients that with the same time wants to connect to ...
1
vote
1answer
725 views

Tunneling traffic from eth0 to tun0 (OpenVPN) Ububtu 12.04

Following the steps described here I've managed to configure both the VPN server and client(I can ping both ways). Their respective configuration files are: server: ;local a.b.c.d port 1194 ;proto ...
0
votes
0answers
101 views

redirect http traffic through ppp0(vpn tunnel)

So I have this tunnel connection with a VPN on interface ppp0, I need to redirect the traffic through that vpn, of course if I do route add default dev ppp0 it will redirect all the traffic through ...
0
votes
0answers
1k views

PPTP defaultroute. Want to route all traffic via ppp interface

I'm experiencing a problem described here: http://pptpclient.sourceforge.net/howto-diagnosis.phtml#lots_of_data. If I use defaultroute in peer conf or manually add route add default dev ppp0 ...
0
votes
0answers
258 views

Creating a multi-wan/isp failover router where wan IPs are dynamic on Debian

I'm having an incredibly hard time creating a basic router on Debian which has connections to two ISPs where the ip addresses are dynamic. I don't need bonding, I really just need some way to detect ...
4
votes
4answers
291 views

Why on linux machines, any packets do not pass except icmp, but correctly pass on windows

There is a cluster on proxmox. In a cluster have vm - configured router (pfsense). In the our net have Windows and Linux machines. There is the problem: Windows-machines have access to the internet, ...
0
votes
1answer
957 views

Transparent Ethernet over GRE not forwarding traffic

I am running on Linux 2.6.30.9 and have been trying to setup a transparent ethernet over GRE tunnel. The network topology used is as follows: I want to bridge PC1 and PC2 using Transparent Ethernet ...
1
vote
1answer
77 views

How to send packets coming from a second router on a particular port back to the router, using iptables not a route

I have a Linux server which runs a particular service listening on a single TCP port. The Linux server connects to the internet using a PPP connection and also acts as router for a local network using ...
0
votes
1answer
106 views

How to Setup Linux Server As A Router with NAT

We have a simple router which has NAT of symmetric type, but because this router doesn't provide us with any debugging interface, we cannot figure out if a specific packet reaches the NAT or not. ...
3
votes
0answers
105 views

timing issue after route add/delete (route not used)

I have an application that is running a raw IP socket, destination of this socket is governed by routes installed via the 'ip route add' command. These routes can change during the lifetime of a ...
0
votes
2answers
274 views

OpenVPN client as gateway for other clients

I have OpenVPN network with one server and two clients. When I setup my default route on C1 to go through S (which does have ip forwarding and NATing enabled), everything works as expected. The ...
0
votes
1answer
325 views

OpenVPN split tunel

I've been trying to set up vpn just for one specific ip address. What I want is to have so all traffic that is sent to single ip ( 1.2.3.4 for now ) would go through openvpn client. My current ...
0
votes
0answers
71 views

Issue with routing across two networks with DHCP and NAS involved

I have a Linux network set up with three sub networks 192.168.1.0 (chaos), 192.168.3.0 (chaos-hs), and 192.168.5.0 (ute-netz) with three machines casimir, ute, raspberry, a nas server nas and a router ...
0
votes
0answers
59 views

No such device error when trying to create IPSec tunnels

I'm trying to establish parallel tunnels between the same two routers, each of which route traffic from slightly different subnets. I can always set up the first tunnel without a problem, however when ...
0
votes
1answer
57 views

Routing between two PC

I have two computers connected by wire directly: PC-1 ============= PC-2 PC-1 configuration: IP Address: 192.168.1.1 netmask: 255.255.255.0 PC-2 configuration: IP Address: 192.168.1.2 ...
0
votes
0answers
226 views

Using OpenVPN only for specific applications on Linux

I have a working PPTP VPN with very specific routing requirements that I need to replace with OpenVPN due to issues with our ISP, and I am having issues adapting my routing rules to OpenVPN. I only ...
-1
votes
1answer
76 views

Trying to RDP to Windows machine using iptables

I am a newbie to iptables. Sorry for the basic question. I am trying to connect to a Windows Machine using Microsoft's "Remote Desktop Protocol" This service uses TCP Port 3389. My Linux server is my ...