The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
14 views

How to make such a configuration User -> OpenVPN -> VirtualBox -> OpenVPN [migrated]

My question is as follows: I have host OS windows 7. What i want is to configure such a connection: Host (with OpenVPN connected) - > VirtualBox - > any OS (I prefer XP) with another OpenVPN ...
2
votes
0answers
23 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
31 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
8 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
28 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
28 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 ...
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 ...
2
votes
1answer
152 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
82 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
8k 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 ...
15
votes
3answers
71k 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 ...
1
vote
1answer
67 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
29 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
122 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
63 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
37 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
52 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
44k 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
26 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
512 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
25 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
28 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
403 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
41 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
114 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
55 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
44 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
76 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
107 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
181 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
114 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
125 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
121 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 ...
11
votes
1answer
22k 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
408 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 ...
1
vote
1answer
713 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 ...
0
votes
0answers
109 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: ...
4
votes
2answers
701 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 ...
-1
votes
1answer
360 views

Routing Problem OpenVPN / KVM

I've set up a rented root server with KVM and OpenVPN. In order to administrate VMs without a public IP the VM guests are connected to a Host/Guest private network: 10.10.10.0. Now i want to access a ...
0
votes
0answers
28 views

Using ufw as a firewall between network segments

I've been using Ubuntu server 12.04 as a router and it worked. Now I'm trying to add some security using ufw. I enabled the ipv4-forwarding feature in the configuration file and added a rule ...
0
votes
0answers
34 views

ubuntu 14.04 routing between 3 networks

I would like to get some assistance setting up routing. I have an ubuntu server 14.04 with 3 nics. configuration as follows: 192.168.1.0/24 dev eth2 proto kernel scope link src 192.168.1.1 ...
0
votes
0answers
39 views

Routing traffic to certain IPs over wlan0

How can I route traffic to certain IPs over wlan0? I have an ethernet (eth0) and a WLAN (wlan0) card in my computer. I want all traffic but the traffic to certain IPs to go through eth0. For a list ...
1
vote
2answers
6k views

openssh server is refusing connections by blocking or resetting

On a quite fresh install of Ubuntu 14.04 (machine1), I have openssh-server with a completely default config. When connecting from machine2 on the LAN, with an empty ~/.ssh, I get the following debug ...
0
votes
1answer
240 views

Share Internet from laptop (connected to LAN) to Android using WIFI router

The idea is: Internet - eth0 - Laptop - wlan0 - router - Android Static IPs everywhere. IP ranges are different. Could not establish bridge. bridge-utils unable to add wlan0 to bridge. Android ...
0
votes
0answers
115 views

How do I make permanent static routing over a range of IPs?

I am a newb, so I apologize in advance. I'm trying to setup some permanent static routing so that my Plex can bypass my VPN. I have a list and range of IPs that I need to add, but I don't know how to ...
3
votes
2answers
5k views

How to set routes for my vpn connection

In my previous question I was asking about setting up vpnc connection. I've installed network-manager-vpnc so now I can configure all this stuff right from network manager gui. I have got this pretty ...
4
votes
0answers
3k views

Integration multiple internet connections ISPUnity vs Ubuntu Bonding

I have Ubuntu 13.04 with 2 ethernet cards and a WiFi card. I also have 3 ISP connections. I have to configure linux to use all 3 connections. My main concern is to increase outgoing bandwidth (FTP ...
0
votes
2answers
85 views

How do I connect two remote servers

I've been working with LANs using Ubuntu for some time now. So I have 2 office locations, each with their own Ubuntu servers. Now we need to link them and we have been provided with a leased line. In ...