0
votes
0answers
24 views

Port Routing/DNS for individual program

Problem: Flickr has closed its http api leaving an https only api. My favourite uploader is no longer maintained, so this change broke it. My current solution to this is to set up a reverse proxy ...
1
vote
0answers
35 views

How do I configure routing on a dual-homed Linux server?

Please open this Google Drawing for reference. Client C1 will connect to LB/APP through RT1, and C2 will connect through RT2. RT1 and RT2 have performed simple NAT, so that the packets arriving at LB ...
0
votes
1answer
72 views

Block All Traffic and Allow from Defined IP only in IPTABLES

I want to create a gateway firewall for my network . I want to block all the internal traffic on gateway and allow it from two computers only . On gateway --> eth0 is network card in gateway PC ...
0
votes
1answer
65 views

Iptables mark incoming packet - vpn routing

I have connected my home to my workplace for out of house backup reasons through OpenVPN. The connection is working nicely. At work I have 5 fixed IP addresses. Now I would like to assign one of ...
0
votes
2answers
41 views

Routing table with openvpn over an unstable wireless network

I'm connected to the Internet via a campus network: IP range is, let's say 10.42.0.0/16 and everything has to go through a proxy server 10.42.0.42. I'm sometimes connected to this network via a ...
0
votes
2answers
56 views

Global DNS / host for home network [duplicate]

I'm in a situation where my Comcast cable modem will not resolve URLs hosted locally. Essentially, if I access my website from the same network, I cannot use www.mysite.com, but instead must use ...
1
vote
2answers
41 views

How can i keep an entry in my routing table, even when the associated interface goes down?

I have a linux box set up as my internet router. I have the eth0 interface connected to the lan, and the eth1 interface connected to a pppoa modem and configured with dhcp to my public ip. Due to ...
1
vote
1answer
22 views

Transparently proxifying certain devices on the network

I'm using my computer as wireless access point and router to my home network using hostapd under Ubuntu 14.04. I want to transparently proxify certain wifi devices in the network (identified by their ...
1
vote
0answers
49 views

Skip routing via lo interface for outgoing packets

Introduction: I have following load balancing configuration: 10.0.1.31 - lb 10.0.1.32 - node1 (tomcat + mysql) 10.0.1.33 - node2 (tomcat + mysql) I'm using keepalived which is redirecting packets to ...
0
votes
0answers
33 views

NetworkManager - IPv6 same metric: prefer wired connection

Situation: I have a Linux system with a wired (enp0s20u2) and a wireless (wlp2s0) networkcard connected to the same network. The networking is managed by NetworkManager 0.9.8.9. The routing tables ...
0
votes
1answer
51 views

Granular routing with iptables and iproute2 over VPN

On a host at my house I have a host for a VPN that I need for a couple of purposes. Living temporarily in Japan, it functions as a NAT for some devices so I can still use my NETFLIX and some other ...
1
vote
0answers
140 views

Is it possible to route all traffic on VirtualBox host adapters to guest?

I am upgrading Ubuntu 8.04 on a dedicated router/firewall/NAT/SMTP/SSH server with a current Linux (Debian Wheezy). I am using VirtualBox (4.2) with Ubuntu 8.04 as host and the new Debian build as ...
1
vote
1answer
52 views

How to use one nic for storage traffic & other for network traffic?

I have a Slackware Linux machine with two network interface cards and I want to use one interface for network traffic and other for storage traffic. As this is Slackware, I don't know if this could ...
0
votes
1answer
190 views

Routing internal traffic in centos to the internet using iptables

Hello friends i am struck in routing traffic from the office to internet i have a network structure like this http://asthana.me/images/ip.png I have assigned static ip to the cent os server(which ...
0
votes
1answer
43 views

Policy route by source MAC address

I have a requirement to perform MAC based policy routing on embedded Linux platform (desktop Linux example will work as well) . I have examined the man of ip route add command and did not found ...
-1
votes
1answer
85 views

Bind incoming packets to 1 interface and outgoing packets to 2nd interface?

I am have a Linux machine with 2 network interface cards, I need to use one for incoming packets, other for outgoing packets.
0
votes
1answer
38 views

Difference of `route` and `ip route`

I'm using arch-linux. route and ip route give basically the same information to me. But route takes much more time than ip route. What is the reason?
0
votes
1answer
28 views

Routing packets from one host to other on Linux

I have a server and a pc. Both installed Ubuntu. server has docker installed, and I want to route my packets from pc to that server. Both ifconfig outputs: (relevant parts only) server: docker0 ...
1
vote
0answers
57 views

How to stream WiFi cameras over a Linux gateway to my laptop using iptables?

My setup is as follows: Linux gateway has one WLAN configured as WiFi client (192.168.0.100) to a Linksys WiFi AP(192.168.0.1). There are three WiFi cameras connected as WiFi clients (192.168.0.101, ...
0
votes
0answers
39 views

Route private IP through specific interface

Setup: Server is running on Ubuntu Server 12.04 LTS. A server with public IP on eth0. An intranet (MAN) on eth1 where server's IP is 172.30.160.150, network is 172.30.160.148/30, and remote point ...
1
vote
1answer
157 views

Odd packet loss through NAT with two WAN interfaces

I have got a Linux server machine which I also use as network gateway / "router". It has three network interfaces active – two network interfaces connected to the internet over different ISPs and the ...
1
vote
2answers
407 views

Multiple IPs on Multiple NICs same subnet

So, I've got two NICs: eth0 eth1 and I have multiple IP addresses assigned to each: auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet static address 10.0.0.194 netmask ...
1
vote
1answer
224 views

Default route in debian with two interfaces

I have a debian machine with two interfaces, configured by dhcp: allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug eth1 iface eth1 inet dhcp On boot, a default route is added to eth1: 0.0.0.0 ...
1
vote
0answers
56 views

Linux routing table entry disappears

I run Fedora 20 (Linux 3.13.3-201.fc20.i686) inside VirtualBox on a Windows 7 SP1 host. The Ethernet adapter on the guest is configured as a Bridged Adapter in VBox, and gets an IP via DHCP. Here's ...
1
vote
0answers
65 views

multiple ipv4 addresses with internet connection on single physical device

my isp gives me up to two ipv4 addresses. i have a raspberry pi with archlinux connected to the modem. first interface is eth0 and the ip address is obtained via dhcp. i created a virtual device with ...
1
vote
1answer
52 views

Linux: Is it possible to know if my kernel has support for “policy routing” enabled?

I am following these instructions in order to configure multiple default routes for Linux (I am testing it on Ubuntu v12.04 and Kali v1.0.6), and the feature "policy routing" is requested enabled in ...
0
votes
0answers
46 views

Route outgoing network traffic via script

I need to monitor network activity on the server. I would like all traffic to pass through a script, like a proxy. My proxy script will inspect the request and then serve the response. How can I do ...
0
votes
0answers
104 views

Get IPv6 to work

I'm trying to get IPv6 to work. My host provied me the following informations: IPv6 network: 2a03:4000:2:483::/64 IPv6 gateway: fe80::1 My /etc/network/interfaces looks like this: # The loopback ...
1
vote
0answers
332 views

Tunneling traffic through OpenVPN

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 ...
1
vote
1answer
48 views

Linux intranet networking

I want to set up a private network not connected to the Internet. I have a computer running Ubuntu Server 13.10 which I would like to function as a web server accessible from the other computers on ...
3
votes
2answers
310 views

Is it possible to have 2 different VPN connections simultaneously on the same machine? maybe on different network interfaces?

I am setting up a new cluster in my new workplace, and I am still administering another cluster in my last work place. Basically I am "copying" the configuration of the first one to setup the new one. ...
0
votes
0answers
17 views

Route traffic of specific direction

Given there's a server that does not have a default internet gateway. An app on this server is trying to access Gmail's IMAP. Is it possible to route this specific traffic through internet gateway? ...
1
vote
0answers
67 views

ARP for a multihomed machine (Linux)

I try to configure two interfaces on my server to behave as independently as possible on the same medium. However I have some problems with ARP (maybe related to ARP flux). I hope somebody can ...
0
votes
1answer
52 views

Remote IP on a local device

What I want to achieve is to be able to have one of the IP addresses from a remote server on a local server (raspberry pi). Right now the network map would look like this: RPi (192.168.0.42) ---> ...
0
votes
1answer
117 views

Default gateway “dissapears” from the routing table

I use NetworkManager (Arch Linux) in my laptop in order to connect to wireless networks. I use the official GNOME GUI. Everything works fine, but after an half an hour or so the network is still ...
0
votes
2answers
198 views

Routing tables and ip forwarding between two machines

Hi my current network is like that [Raspberry]--eth0--------p3p1-[Laptop]-wlp3s0------[Router]-------INTERNET eth0 = 10.10.10.2 p3p1 = 10.10.10.2 wlp3s0 = 192.168.2.11 Router = 192.168.2.1 I would ...
0
votes
0answers
18 views

Masquerade in both directions [duplicate]

I have a two networks that I need to link in two directions. network A 10.11.0.0/24 - and its gateway 10.11.0.1 network B 10.0.0.0/24 network B has a server (10.0.0.38) that is connected to the ...
0
votes
1answer
56 views

Bidirectional two networks link

I have a two networks that I need to link in two directions. network A 10.11.0.0/24 - and its gateway 10.11.0.1 network B 10.0.0.0/24 network B has a VPN server (10.0.0.38) that is doing a ...
0
votes
0answers
37 views

VPN across three VPS's

I have three servers running on virtual machines. The gateway is 192.168.0.1, and the hosts are the numbers 2,3 and 4. The first host is serving a PHP script which outputs the visitor IP ...
0
votes
1answer
529 views

Route traffic from one address to another on one interface and to everything else through another interface

I have a small embedded computer running busybox. It has a wired eth0 interface, which is connected to an on-board wlan-module's wired interface by a cable. Also there's an 3G module on ppp0. I need ...
1
vote
1answer
172 views

Default gateway is lost

A weird thing is happening here. I am using TPLINK WDR3600 as server, which is connected through Ethernet with a modem in bridge mode. I use 2 PCs and a cell phone on my LAN. Something is happening ...
0
votes
0answers
82 views

Ping through GRE tunnel discarded between 2 interfaces of a router - Ping does not reach subnet

I have an interesting issue that I hope someone can help with. I am trying to create a GRE tunnel between 2 routers (running Linux Ubuntu 12.04) and pass traffic between 2 subnets trough this tunnel. ...
0
votes
0answers
102 views

add routes on CentOS 6.3 with two subnets

Consider the following scenario and please help me to add static routes. I have recently purchased two servers. Each server has two nics and both the servers are connected using crossover LAN cable on ...
0
votes
1answer
136 views

On Linux, can I forward wlan0 to eth0, and wlan1 to eth1?

I have the following simple situation: two internet connections via two distinct ethernet NICs, eth0 and eth1, and two APs (I use hostapd, of course) on two distinct wireless cards, wlan0 and wlan1. ...
1
vote
0answers
34 views

Query an office gateway/router to confirm all routes?

Is it possible to send a 'query' of some sort to a gateway device in an office to see what subnets I have access to? For example, I know that I have access to multiple subnets because we have many ...
0
votes
3answers
275 views

Route Internet from eth0 to openvpn to eth1

I need to route all traffic coming and going from/to eth0 through openVPN before I send/receive it to/from eth1, this is a virtual machine Debian, you can call it a virtual router. The idea is to put ...
2
votes
2answers
342 views

Add specific route via start-up script

I need to setup route for one of my computers. I want it permanently so I don't need to enter the command myself every reboots. However the route command I use ain't a normal one, because I use 2 ...
1
vote
1answer
131 views

Linux routing: connect to VPN but still make services (e.g. Apache) accessible via ISP-assigned ip

I have a pfSense firewall sitting directly behind my cable modem. On my lan, among other things, I have a linux (Mint 13) box running apache. I have a port forwarded from pfSense to my linux box and ...
0
votes
0answers
25 views

Two default routes with Dynamic IP

I have second connection to the Internet added with a Dynamic IP(VPN). following this guide: http://www.rjsystems.nl/en/2100-adv-routing.php I'm stuck at a point where I need to add: ip route add ...
0
votes
1answer
802 views

How to forward packets between two interfaces?

My laptop (use's Ubuntu 13.10) is connected to internet using a wired connection at eth0 with ip 192.168.42.13 and it also acts as a wifi hotspot at wlan0 with the ip 192.168.1.1 (i used airbase-ng to ...