0
votes
2answers
30 views

Nginx rewrite location internally to serve static content

I'm trying to serve static content from an endpoint that differs in hierarchy structure than the actual root directory structure. This is the result I'm trying to achieve: ...
0
votes
0answers
39 views

Ubuntu refuses to route packets for public subnet through linknet

I've run into the novel concept of routing through a linknet from my new ISP, and am currently trying to get a /28 routed properly on my Ubuntu 13.10 server. However, this is proving futile. This is ...
0
votes
1answer
20 views

Setting up a VPN with rules who can connect with who

For delivering updates and support on software I've been working on I have been thinking about setting up a VPN server. The idea would be that the clients are constantly connected but only the traffic ...
-1
votes
1answer
60 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
70 views

Port based routing on ubuntu

My situation: A ubuntu server is part of a LAN with 2 gateways. The one offers high speed with high latency. The other low speed with low latency. My server usually uses GW1 for all traffic (because ...
0
votes
0answers
99 views

Static Routes for LXC Container

I have set up an LXC Container to have an IP Address from the same Subnet as the Host (i.e. a Bridge Setup) on Ubuntu 12.04LTS. The Host/LXC does not assign any adresses, this is done inside the ...
-1
votes
1answer
81 views

How to route specific IPv6 address to another port?

I just got a VPS with an IPv4 address as well as a bunch of IPv6 addresses configured and I'm new to routing in Ubuntu/Linux. I would like to route requests with a specific IPv6 and port (i.e. port ...
1
vote
1answer
88 views

dhclient asking for new routing every 1500 seconds, removing my static routing, cron not working

I have a problem with cron job on my ubuntu server 12.04. I have two internet providers - one for fast speed, second - for local resources. So, I'm using command route to up the static routing for ...
-3
votes
2answers
105 views

Server Routing Nearest Location

I have a few VPS - same files and NGINX, PHP-FPM and stuff. How would I make it so that when the user goes to pingrglobe.com that they get redirected to the nearest server? Thanks, Samuel.
0
votes
1answer
363 views

How do I get IP packats forwarded/routed to/from my Infiniband network

I have two networks. One is a standard Ethernet network running IP. The second network is Infiniband which in addition to some custom protocols can talks IPoIB (IP over Infiniband). The router ...
0
votes
2answers
563 views

Two routes for localnet, how to delete the one without GW?

I have a system were I get sporadic routing issues. When looking into the routing table I get the following: localnet static.xx.xx.x 255.255.255.192 UG 0 0 0 eth0 localnet ...
1
vote
0answers
106 views

openvpn setup ping/routing fail

My problem is that after setting up VPN on a virtual machine (Ubuntu Linux) with that has an IP I cant ping anyone at all over the tun interface from the client. VPN Connection is however successful. ...
0
votes
2answers
255 views

Ubuntu-Server router - forwarding/routing does not work

This is more or less a pretty general question about forwarding and routing with ubuntu server or any linux system, i guess. The server manages a school network and has 8 NICs - each on a different ...
0
votes
0answers
305 views

Routing issue with KVM: Gateway on different Subnet than VM

I have Server at hetzner.de, with a /29 subnet for running KVM-VMs. The VMs get network access via a bridge interface. I'm currently using two IPs from the subnet. The VM-host is running Ubuntu 12.04 ...
1
vote
2answers
1k views

Permanently adding source policy routing rules

Somebody answered my earlier question by describing how to create a new routing table with source policy routing: echo 13 eth3 >> /etc/iproute2/rt_tables ip route add default via 10.20.0.1 ...
1
vote
0answers
208 views

Server routing and vtun on Ubuntu Server

I have an Ubuntu 12.04 LTE virtual server, kernel 2.6.32, and a VPN with vtun running. In the VPN, the server is 6.6.6.6, and the two clients are 6.6.6.29 and 6.6.6.35. If I ping 6.6.6.6 from any ...
1
vote
2answers
492 views

DNS lookups failing

Gateway 192.168.122.1 runs dns, and the command dig @192.168.122.1 www.google.com returns valid ip addresses, so dns is working and reachable. The command tracepath www.google.com returns ...
0
votes
1answer
182 views

Ubuntu with 2 NIC - how to forward and block traffic based on ports

I have Ubuntu with 2 NIC: This one is set as default gw on Ubuntu: eth1, ip 192.168.10.11, gateway 192.168.10.1 This is set on a router, not in Ubuntu : eth2, ip 192.168.20.11, gateway ...
1
vote
1answer
120 views

Ubuntu Second Wan Interface Card

I configured 3 network card. one of them is LAN card and others are Wan network card. eth0 Link encap:Ethernet HWaddr 00:50:56:00:30:da inet addr:5.x.x.1 Bcast:5.x.x.3 ...
1
vote
1answer
116 views

I couldn't get 2 NICs working together on Ubuntu 10.04

I've got an Ubuntu 10.04 server with this configuration: eth0: 192.168.10.XXX mask 255.255.255.0 gw 192.168.10.254 eth1: 192.168.0.XXX mask 255.255.255.0 gw 192.168.0.3 eth0 is used for incoming and ...
1
vote
2answers
452 views

Multiple VLANs on a single subnet

I would like to establish the setup shown below. The image is taken from (http://gcharriere.com/blog/?p=620) and explains how to set this up on a brocade device. I would like to use an ubuntu server ...
1
vote
0answers
103 views

No external src ip in log files (my router ip appears instead)

I recently retired my workhorse WRT54G router/AP in favor of a Linksys EA2700. Since then, all inbound traffic (bound to an Ubuntu 10.02 box running LAMP)logged to Syslog, Apache's error and access ...
3
votes
3answers
1k views

What are the security risks of using pfsense in a virtualised environment?

I am thinking of using pfsense on my ubuntu server box. I'd virtualise pfsense with virtualbox, and have it route and firewall all traffic both on and destined to my server as well as the the rest of ...
1
vote
2answers
411 views

Gateway redundancy on a single subnet

I'm trying to discover if there are any methods to have more than 1 default gateway (in a fail-over strategy) on a single subnet. If one gateway goes down then I would like to have servers fail-over ...
1
vote
1answer
202 views

split routing with openvpn

I've set up an OpenVPN server on a VPS (ubuntu 11.04) and configured clients (mix of ubuntu 11.10 and 12.04) to use it. After starting the VPN connection on the client, all internet traffic gets ...
1
vote
3answers
2k views

Multiple network cards, controlling where my traffic goes

This is an Ubuntu 12.04 server install. I have multiple network cards, eth0 and eth1 lets call them. eth0 is connected to the internet, and all of my traffic goes through it, until eth1 gets plugged ...
1
vote
1answer
1k views

Routing Traffic on Ubuntu to give Raspberry PI Internet Access [closed]

I'm hoping someone can point me in the right direction for setting up my Linux (Ubuntu 12.04) box to route traffic from eth0 to wlan0. I'll try and explain the problem I am trying to solve: I ...
-1
votes
2answers
1k views

Route forwarded traffic through eth0 but local traffic through tun0

I have a Ubuntu 12.04/Zentyal 2.3 server configured with WAN NATed on eth0, local interfaces eth1 and wlan0 bridged on br1 on which DHCP runs, and an OpenVPN connection on tun0. I only need the VPN ...
1
vote
1answer
388 views

Openstack instance cannot reach lan

Instances launched on openstack cannot connect to anything on the lan, yet they happily reach the internet (google, yahoo, etc.) Openstack setup: Ubuntu 12.04 running Openstack Essex Multi-node 1 ...
3
votes
2answers
716 views

Basic networking: Centos Server Router + Ubuntu Client setup.. unable to access outside world from client

I am trying to set up my Centos Server with two NICs as a router. eth0 is connected to the outside world and eth1 is connected to an Ubuntu client. Here's eth0 on the server: DEVICE=eth0 ...
3
votes
1answer
648 views

Can I set up two NICs bridged together and still SSH into the bridging machine?

I have a ubuntu box setup with two NICs. I can bridge them together just fine, but I haven't been able to setup a way to SSH into the box once the connections are bridged together. Here's my ...
1
vote
3answers
3k views

How to configure ubuntu server with 2 NICs, and 2 Gateways (2nd as a failover)?

Here is a basic overview of the network configuration for one of our servers: [Datacenter] [Internet Connection #1] >> [Firewall 1 (xx.xx.xx.1)] >> [Server (xx.xx.xx.10)] ...
0
votes
0answers
430 views

Static routes propagation under rip and gre tunnel

I have two questions. The first one regards static routes propagation under rip. I have a router that use RIP for routes and a server connected at this router by two interfaces. I want to propagate ...
0
votes
1answer
141 views

Multiple next-hops for a destination

I want to add a primary next-hop for a destination and then a secondary next-hope for the same destination, in case the first one fails. How can i do that? i couldn't find a straight answer on the ...
0
votes
2answers
99 views

VPN, routing, specified application

Details: eth0 = current internet port pptp1 = VPN connection, when I connect to my provider, the provider gives me an IP address, which is accessible from the internet. I would like to connect ...
1
vote
2answers
983 views

Ubuntu Server, 2 Ethernet Devices, Same Gateway - Want to force internet traffic through 1 device (or at least allow it to work!)

I have a Ubuntu 10.04 Server with 2 ethernet devices, eth0 and eth1. eth0 has a static IP of 192.168.1.210 eth1 has a static IP if 192.168.1.211 The DHCP server (which also serves as the internet ...
0
votes
1answer
215 views

ubuntu-server 2 network devices, 2 isp

Hello I have the following szenario: I have 2 ISPs behind seperate routers, and one web/ssh-server with 2 ethernet cards. I want the webserver to be reachable from both isp. I have forwarderd each ...
1
vote
1answer
203 views

How to go about traffic forwarding

There's a server (node A), acting as the end point of a GRE tunnel. Also there is an Ubuntu server (node B, it sees Internet) acting as the termination point for the GRE tunnel. Some devices (nodes ...
3
votes
3answers
338 views

ipv6 local connection

So I have an ubuntu 10.04 router that is tunneling ipv6 to hurricane electric. It has perfectly fine ipv6 connectivity. My problem is that I want to have my ubuntu 10.04 machine behind it be able to ...
0
votes
1answer
224 views

PPTPd only routing to eth0

How do I enable routing to eth0 without having the ability to communicate amongst pptp clients? I know ip_forward = 1 makes routing of pptp clients possible, but i dont want communication under pptp ...
1
vote
2answers
988 views

OpenVPN Network Unreachable

I'm working to set-up a VPN access to a group of virtual machines at Linode., the topology looks something like this: db.example.com LAN: (eth0:0) 192.168.154.127/255.255.128.0 ...
1
vote
1answer
2k views

Any help on how to use iptables to postroute to eth0:2 alias in ubuntu?

On my server I want to route my internet traffic over my eth0:2 alias. When I use this command: sudo iptables -t nat -A POSTROUTING -s 10.8.0.4 -o eth0:2 -j MASQUERADE It returns this: Warning: ...
0
votes
1answer
423 views

adding a route entry to linux routing table

I have two systems with ip address say 64.103.56.1(A)(Dev name -wlan0) and 64.103.225.18(B),now what i want is , everytime I ping B from my system A, it has to be routed via a router say with address ...
3
votes
5answers
2k views

How to route all traffic to one host trough one of two nic's on linux

Setup as follows: One gateway/firewall One switch Two servers behind firewall with 2 NICs each. Each NIC is connected to the switch. The servers are running Ubuntu server. One of the two NICs ...
2
votes
2answers
1k views

How can I prevent OpenVPN from clobbering local route?

I have a local network on 192.168.1.0 with netmask 255.255.255.0. When I connect to a VPN though OpenVPN (as a client), it pushes a route for 192.168.1.0 that clobbers the existing one, making my ...
1
vote
2answers
99 views

Networking up 3 pcs issue

I'm feeling a bit stupid because this seemingly simple task is completely stumping me. I have 3 PCs: Client, Gateway and Server. Client needs to connect via Gateway to Server. Both PCs are ...
0
votes
1answer
247 views

Network interface selection

Suppose I have more than a network interfaces and I want to selectively use them per application. eth0 is the standard interface with the standard gateway in the main routing table eth1 is another ...
0
votes
2answers
57 views

Mixing both local and nonlocal addresses on three switches

I have four computers that have nonlocal addresses like 150.X.X.X. Now I also get another few computers that should be only accessible through a gateway (it will be computing cluster) and they ...
4
votes
3answers
466 views

LAN and WAN at the same cable?

Can I connect LAN and Internet using the same cable? LAN computers ------\ Ubuntu server ------Switch ADSL Router --------/ I want to make LAN computers 192.168.0.2-50, server will have real ...
7
votes
3answers
2k views

OpenVPN client without redirect-gateway doing triangular routing and IP spoofing not working on Ubuntu

I have an OpenVPN client running on a server of mine obtaining a public IP on a remote network in a different country. The client configuration is as follows: dev tap remote a.b.30.7 float a.b.30.7 ...