The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
12 views

Routing within Linux while connected via VPNC

I have a trouble, when i connect to A vpn server at that time my VPNC client machine is not locally available within the Local Network and VPNC client machine is only accessible within the Same WLAN ...
0
votes
1answer
8 views

Routing internet protocol with either bird or quagga packages

I would like to advertise routes with RIP (either version 1 or 2). In the repositories I see three packages. bird: supports IPv4 and IPv6 versions of BGP, OSPF, and RIP. quagga: supports IPv4 and ...
3
votes
2answers
967 views

Network Manager breaks manual routes

I have Ubuntu 13.10, Saucy Salamander x64 running as a guest in VirtualBox (with Windows 7 as a host). I wrote this /etc/network/interfaces because I need to add a large number of permanent, manual ...
16
votes
4answers
77k views

How to set static routes in Ubuntu Server?

I have used Ubuntu since Ubuntu 8.10; today I'm working with Ubuntu 12.04 Server. I am having difficulty keeping static routes on booting. I would usually put the route commands /sbin/route add ...
2
votes
1answer
918 views

Can't access any remote network routes using OpenVPN client

My home network has an OpenVPN server installed and working. I can connect into that network from Windows machines using the OpenVPN client software and everything works fine. I have an Ubuntu laptop ...
7
votes
2answers
16k views

Default gateway changing

I am using 3 ethernet interfaces on Ubuntu but when I restart, the default gateway is changing to a different interface. Each time I boot I have to change default gateway back to the eth1 by deleting ...
1
vote
0answers
36 views

Forwarding specific traffic to another LAN

There's a LAN of about 40 computers all running Ubuntu 15.04. There are two servers, both Ubuntu 15.04. One of the servers will act as a SVN repo server and other as a firewall-and-transparent-proxy ...
1
vote
1answer
20 views

Squid loses route on restart

Every time we restart squid I loose a few routes and have to restore from snapshot. is there a way to make sure our routs stay saved ?
4
votes
2answers
6k views

Using Ubuntu 14.04 as router with iptables, clients can't go online. Probably DNS issue, iptables setting needed

CORRECTION 3: SOLVED! I needed to add the the official DNS server of my departement's VLAN as DNS to the clients. I've read through a large number of posts about iptables issues when using Linux as ...
0
votes
3answers
124 views

openvpn connecting but no internet access ubuntu 14.04

im trying for several days to fix this , im relatively new to ubuntu . im trying to connect to openvpn . i tried network-manager plugin and in terminal with ovpn.conf file everything connects it says ...
1
vote
0answers
23 views

How to stop network manager changing my gateway?

Environment: Ubuntu 14.04 Problem: I want to connect to my VPN at work from home. Whenever I connect to my wireless, my route is set up to the work route. The home gateway is supposed to be ...
1
vote
0answers
35 views

14.04 LTS / Routing with 2 WAN Lines … on Dom-0 Xen host drives me nuts

Short note: Well I think I might have a solution but need to prove it first. Regarding the NAT on the Hardwarerouters to each WAN-line seem just to do NAT for its own subnet, so I will simply need ...
4
votes
2answers
869 views

Two hosts can't ping one another

I have two hosts in my network. Both are connected to my router. From another host, I can ping and ssh into both of them. Both have an excellent connection to all other hosts. However, they cannot ...
0
votes
0answers
16 views

How to disable “return routability procedure” in mip6d?

I am using mip6d on ubuntu 12.04 with kernel 3.8.2. When I change the IP address (CoA) of Mobile Node, the Mobile Node before sending a update message to CN, sends Care of Test init and wait for CN's ...
1
vote
1answer
38 views

Routing and OpenVPN

O have small problem with routing and OpenVPN. After start of VPN connection all traffic goes through my OpenVPN server. But my server is behind ADSL router with 16/2 MBit Download/Upload speed. So i ...
2
votes
0answers
42 views

Routing traffic over p2p1 and tun0 correctly

I have been trawling these questions and trying many different solutions to get this working, but I seem to have a problem with getting my routing set up correctly. I have a box installed in a network ...
1
vote
0answers
71 views

openconnect either no internet or no network access

I tried to use openconnect as alternative cisco-pvn client. When connecting to the vpn, my internet connection gets lost but my intranet connection works. This is a common problem and the suggestion ...
0
votes
0answers
20 views

permanent disabling ip_forward for ubuntu server happens be a problem

I have just installed the latest ubuntu server. This is the state of my server right after booting: root@vzu01-ubuntu:~# uname -a Linux vzu01-ubuntu 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan ...
0
votes
0answers
41 views

Configuring Ubuntu as router

I'm trying to create virtual network using VirtualBox. Ubuntu is my router in this configuration. Ive got 3 machines. One Ubuntu and two FreeBSD. I'm trying to connect both BSD machines through ...
0
votes
1answer
64 views

How can I route between different network using multiple ethernet card?

I have two ethernet card in the PC, eth0 is connected to the local network(192.168.0.0/24), and the other is connected to the internet. I can reach all the devices which are connected to this ...
2
votes
1answer
394 views

How to define gateway for 192.168.1.1 as 10.0.0.x with `route add`?

Let's say eth0 has an ip 10.0.0.10 and its gateway is 10.0.0.1. I want to add a route for 192.168.1.1 to use this interface. What is the difference between these 3 commands? route add -host ...
0
votes
1answer
566 views

Adding route on client using OpenVPN

So this is my setup. Laptop Running Ubuntu openvpn version 2.3.2 ( latest if using apt-get install ) I connect to a OpenVpn server that connects to an off-site network. I get the opnevpn client ...
11
votes
2answers
9k views

persist port routing from 80 to 8080

I use amazon EC2 instance which works via ubuntu. By default according security restrictions I can't bin my application to port 80, so I just bind it port 8080 and then set routing redirect from port ...
1
vote
1answer
79 views

Unable to set proper routing between two networks

Three boxes running three different ubuntu flavours (14.04, 14.10, 15.04). I'm trying to get all of these to talk between themselves, while being on different subnets, and I can't figure how, yet. ...
1
vote
0answers
35 views

Basic Network Routing Question

I guess this is a very basic (dumb) question about routing. If I specify a route do I need to worry about a return path or does that also need to be specified? For example I have a WiFi hotspot on ...
0
votes
0answers
275 views

Use Interface Metric to Change Interface

I am using Ubuntu 12.04 64-bit on a laptop, and I want to switch default network interface between wlan0 and eth0. By using ifmetric (shown on this page), setting eth0's metric to 1000 and wlan0 to 0 ...
1
vote
0answers
94 views

Connecting to VPN server closes SSH tunnel

Once I start to connect the VPN, I immediately lose the connection to my dedi-server. My aim is to still be able to ssh to my dedi-server, even if I connect to the external VPN server with my ...
0
votes
1answer
56 views

Configuring two internet connections with Dynamic WAN IP

I had similar problems with this question, the difference is my WAN IP assigned dynamically from the ISPs. So how do I try the accepted answer with dynamic WAN IP ? ps: Because I do not have enough ...
1
vote
0answers
65 views

Routing error for a single IP address

One single IP address is routed wrong by one of my Ubuntu server 14.04's. This happens for the second time in about a month. The route it should have taken is to another server in the local network, ...
12
votes
2answers
49k views

How to make IP forwarding permanent?

I know that I can enable IP forward by echoing 1 to /proc/sys/net/ipv4/ip_forward, but how can I make this permanent? By the way I want another method rather than start up scripts, is there any?
1
vote
0answers
35 views

Ubuntu as a bandwidth throttling box on windows network

I need to test the performance of some applications over different capacity connections (broadband, EFM, LAN extension etc). How would i configure an Ubuntu server to sit between the main network ...
0
votes
2answers
648 views

Route subnet requests from wlan0 to eth0 on Ubuntu 14.04

My raspberry pi is connected via Ethernet to my Ubuntu 14.04 machine (192.168.1.0/24 on eth0). This machine is connected to the Internet through a Fritz Box WLAN Router (192.168.0.0/24 on wlan0). The ...
0
votes
0answers
34 views

Alternative gateway on ubuntu

I have one LAN card. I've divided it to sub interfaces. Is there solution to have different working gateways on this interfaces? I want when PC cannot reach to destination using first gateway it ...
0
votes
0answers
33 views

Switch on Two Network Interfaces

I am trying to write script to switch between two interfaces on a Uuntu machine, wlan0 and eth0. My primary reference is: Forwarding traffic between 2 interfaces -A FORWARD -i eth0 -o wlan0 -j ...
0
votes
1answer
673 views

Can ping to other router subnet but cannot ping host to host

Using VMware, I set 2 hosts connected through a router. All 3 virtual computers run Ubuntu 14.10. Host A (eth2: 192.168.1.11/24) Router (eth2: 192.168.1.12/24) (eth3: 192.168.3.2/24) Host B (eth2: ...
0
votes
1answer
56 views

suddenly lost host routing on ubuntu server

i have ubuntu 14.04 server, which installed as a web server. the server also has 35 routing entry. sometimes the server suddenly lost connection to one or two another server, which routing entry has ...
1
vote
1answer
158 views

Not able to access outside services though Openvpn in brigded bridged mode and routing everything thorugh the vpn

I have setup a small server with a bridged openvpn setup. My goal is use my network services and Internet connection from every location with Internet access. Right now I am just able to use services ...
0
votes
0answers
65 views

Setting Up a Routing Table for a Router

I have two network interfaces on my server. They are: eth0 - 192.168.1.2/24 gateway 192.168.1.254 eth1 - 192.168.2.254/24 no gateway as this interface is the gateway for this subnet I want ...
0
votes
0answers
59 views

iperf data not received on multiple ppp interface port

I am new to Ubuntu and want your valuable inputs. I have two USB modem dongles connected to Ubuntu 12.04 . After dialing through wvdial , I see two ppp0 and ppp1 interface created on ubuntu and both ...
2
votes
0answers
99 views

Ubuntu router with 2 NICs, traffic stops and I don't understand why

I'm currently running a Beaglebone black with bone-ubuntu-14.04-console-armhf-2014-08-13-2gb.img (or a more recent version), which acts as a firewall / router. It has two network interface, one USB ...
0
votes
2answers
2k views

How to make an internet server as firewall using ubuntu 11.10

i have one static broadband connection which is coming to my Ubuntu server with 2 lan cards, there are 10 more PC's to which i need to provide internet connection through Ubuntu server as well as i ...
0
votes
1answer
126 views

How to redirect URL:PORT traffic to multiple external IP:Port?

Currently, I'm using iptables to redirect incoming requests for "website.com:27015" to "xx.xx.xx.xx:27015". Problem is, since iptables redirects via the port 27015, I can only redirect to one single ...
0
votes
0answers
219 views

OpenVPN connection makes Apache2 server unreachable from outside local network

I have a machine running an Apache2 server on Ubuntu Trusty Server, connected to the internet via a home router which is set to forward http/https ports to that machine. I'd like to have that machine ...
5
votes
3answers
5k views

Use two networks at the same time?

I want to use Ubuntu 10.10 Server in a classroom, a computer lab whose bandwidth is provided by a local cable ISP. That's no problem, though the school network has an IP printer that I want to use. I ...
0
votes
1answer
135 views

Browse internet through another host without having external public ip on any host

I need to browse several websites (that also have flash content) through my home internet, while im in my work place. So from the website servers they see only access from my home IP. There is no ...
0
votes
0answers
162 views

I can no longer add a static route for a single host with /32 subnet mask in /etc/network/interfaces

Everything was working fine until today's reboot for updates. Basically I have a server with 2 network interfaces. One is the primary interface eth0 with internet connection. The other interface eth1 ...
0
votes
1answer
143 views

linux gateway / firewall IPtables config

The KVM host is acting as a gateway / firewall for all of the virtual machine's it runs. It has a /26 public IP space configured on LAN interface em1: 1.1.1.1/26 It has a /30 rfc1918 IP configured on ...
12
votes
1answer
25k views

How can I make VirtualBox guests share the host's VPN connection?

Question When I start my VPN on my ubuntu desktop computer which acts as a router, the attached subnet loses internet connectivity, but is still accessible (LAN). Ideally, I would like to know how to ...
2
votes
1answer
453 views

help understanding iptables router script and error

Hello I have this routing script that I'm using which runs when all the network interfaces are up: #!/bin/sh PATH=/usr/sbin:/sbin:/bin:/usr/bin # # delete all existing rules. # iptables -F ...
0
votes
0answers
121 views

routing through ubuntu server

Im having issues with routing from Windows/Linux/Mac machine through server and from desired interface out. So this is my configuration: My example will be Ubuntu -> Ubuntu -> out First machine: ...