The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
374 views

Ubuntu server routing table

i've a ubuntu server (13.04) with 3 NICs. This is my routing table: Destination Gateway Genmask Flags Metric Ref Use Iface default vodafone.statio 0.0.0.0 UG ...
1
vote
1answer
2k views

Forward TCP Connections with Iptables

I receive connections to my server from several ip addresses I want to route these connections just like rinetd does but based on the ip the connection is coming from to connect to a specified host. ...
1
vote
2answers
2k views

How to control the up order of network interfaces?

I have /etc/network/interfaces as follow. Every time the system boots up, the route is wrong so the gateway is not reachable. I'd have to ifdown br0 && ifup br0 to fix the route table and make ...
0
votes
3answers
92 views

Routing example.com/page to example.com:[port]

I have a server with multiple services running, for example: subdomain.example.com:1234 subdomain.example.com:1235 subdomain.example.com/1236 Accessing these directly will take me to the web gui ...
9
votes
2answers
19k 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?
2
votes
1answer
1k views

OpenVPN - Routing issue

Server: Ubuntu 11 (Openvz VPS) Client: Windows 7 Issue: clients connect successfully to VPN, but loss of internet access once inside the VPN. Facts: Everything mostly defaults Is a ...
1
vote
0answers
75 views

A strange routing problem

I built a router based on ubuntu server 13, which connect to the internet by VPN (yes, by pptp-linux). And I installed squid3 on the same server. I can visit all websites (facebook and twitter ...
1
vote
1answer
195 views

How to IP forward only between 2 interfaces out of 3 installed?

I'm using ubuntu 12.04. There are 3 NIC on my PC but I wish to do ip forward only on 2 of them that act as a router. The 3rd NIC need to be separated from the other 2 and not be able to see the ...
1
vote
0answers
54 views

why would the system not respect a routing rule? [closed]

We have the following rule in our /etc/network/interfaces file: up route add -net 224.0.0.0/8 dev eth1 If we run route -vne we see it listed: Kernel IP routing table Destination Gateway ...
2
votes
1answer
84 views

Networking and Traffic routing question

Hello I had a few of questions related to networking, let me list them in a logical order: 1) Can multiple interfaces be bridged together so that it results in increased bandwidth? 2) Can wired and ...
0
votes
1answer
455 views

IPv6: ping6 from foreign host works, but cannot ping6 on same host

I have a strange issue with ipv6 on Ubuntu 12.04. There are two hosts, directly connected to the internet. Both have assigned a /64 network. They are properly configured with a /128 endpoint each ...
0
votes
1answer
2k views

Ubuntu as a Router/Gateway - Unable to access WAN

I am currently trying to set up a home router using a machine running Ubuntu 12.04. The machine has two ethernet ports. eth0 is LAN and eth1 is WAN. I have set eth0 to a static ip and have eth1 ...
0
votes
1answer
792 views

How do I configure ufw to only allow outgoing/established connections for a IPv6 network?

How do I configure ufw to only allow outgoing/established connections for a IPv6 network? I am using an old computer with 12.04 installed to create an IPv6 router for my local network. I would like ...
1
vote
3answers
84 views

Why are there 2 routes in this table instead of one?

route -n gives: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.20.254 0.0.0.0 UG 0 0 0 eth0 ...
1
vote
0answers
169 views

Ubuntu Server is not routing a vtun VPN

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 ...
8
votes
2answers
750 views

How to tell what interface a TCP connection will go out on?

I have a server with multiple ethernet interfaces. What's the easiest way to tell what interface an outgoing TCP connection will go out over? The results of "netstat -rn" is greek to me, so if your ...
3
votes
2answers
435 views

How to find the size of internal routing table efficiently?

I need to know how we can find the size of the kernel routing table. I have knowledge that the routing table is stored in /proc/net/route I am presently using wc to count the number of characters in ...
2
votes
1answer
967 views

Bridge connection: Ubuntu keeps modifying routing table

I have set up a bridge connection from my mobile phone connected via USB to my laptop running Ubuntu 12.04 to another computer connected via ethernet cable. The bridge thus connects usb0 and eth0. I ...
0
votes
2answers
1k views

forward port 80 for multiple IP addresses on the same Ubuntu server

I am using an Ubuntu 12.10 server as a router/NAT for an internal network to the internet. I have also configured the server to forward port 80 to a server sitting on my internal network. This all ...
1
vote
2answers
3k views

how to route 3 NICs and 3 subnets

I am trying to setup routing between 3 subnets using an Ubuntu 12.10 server with 3 NICs. I would like to be able to have all these subnets route between one another as well as be able to access the ...
0
votes
2answers
259 views

An offline-maps application

I'd like to have a software that allows me to download and view (OpenStreetMap-) maps of the whole world or a certain area I chose to download. Ideally, it should behave just like the map-website but ...
2
votes
0answers
300 views

iptables, forwarding between interfaces

I'm trying to setup a router using iptables. But, after a lot of examples I've tried, I can't get anything to work. My idea is to setup a box in between my Cisco and the main switch for firewall, ...
1
vote
0answers
92 views

eth0 (DHCP) works only in its native network segment after update to 12.04

I've got some strange effects in my network behavior after updating to 12.04 - before all worked fine: My network is segmented with my desktops residing in 192.168.1.0/28. My DSL-router lives in a ...
0
votes
1answer
232 views

How to define specific urls like 'localhost'?

The same way 'localhost' in the url points to /var/www/ I would like to put http://courses/somehting/somthing/moresomthings/.... and it would always point to /var/www/courses.php This is to work on ...
1
vote
1answer
2k views

cannot delete IPv6 default gateway

The commands below should be pretty self-explanatory. Please note that the route for which i get failure is obtained by RA and has very less expiry ( e Flag in UDAe). @vm:~$ ip -6 route ...
1
vote
1answer
116 views

Routing 2 ISPs to 2 different networks

Ok, so here is my scenario. eth0 and eth3 point to 2 different ISPs, eth1 is an internal network say on 192.1.1.0 and eth2 is on another network say 10.1.1.0. I want each network to be on their own ...
4
votes
1answer
2k views

Ubuntu Server 12.04 as a router. Problem with DNS?? Or Routing table?

I have a virtualbox lab made up of 4 Windows 2008 R2 servers (DC/DNS,SQL,SHAREPOINT, EXCHANGE) that are configured with static ip addresses with NIC's attached to Internal network. Everything works. ...
2
votes
1answer
600 views

My server does not forward packets between interfaces. What am I missing? [closed]

I'd like to get my Ubuntu 11.04 server to route packet between its two network interfaces. The two ethernet interfaces (eth0, eth1) work apparently well as such. Both have static IP addresses ...
6
votes
1answer
1k views

How is the loopback device implemented?

The loopback networking interface is a virtual network device implemented entirely in software. But how is this implementation actually accomplished and how do you manipulate it? As far as ...
9
votes
3answers
43k views

How to set static routes in 12.04 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 ...
0
votes
2answers
454 views

New install 12.04 64bit dual NIC's, both DHCP, no route until one card disabled [closed]

Fresh install on Asus P7T deluxe. Which has twin NIC's onboard. Both cards have cables attached to a switch with IP's from DHCP and a valid route to the internet. Internet connectivity fails until ...
0
votes
2answers
1k views

Computer becomes unreachable on lan after some time

I work on my laptop and ssh into my desktop. I use a lot of key based authentication for many servers for work but recently I couldn't login because ssh would pick up and try all the keys and it stops ...
1
vote
1answer
124 views

How can I make sure my server is connecting through my router?

I have a Ubuntu server with PHP, Apache2 and all of that setup and working on my LAN. Meaning from any computer connected to the same router I can connect to 10.0.0.3 (My server). I have setup my ...
0
votes
1answer
2k views

Operation times out trying to SSH outside LAN i.e. from internet to LAN no connection is established

I run Ubuntu 12.04 and have no success connecting with SSH from "Internet". The router is a TL-MR3420 which is set up to forward requests to one of the NIC's on ubuntu machine (which has in total 3 ...
0
votes
1answer
486 views

Unable to ping et1 - routing issue

I have an UBUNTU server VM installation with two NICs. eth0 is on the LAN network, configured by DHCP and is working fine. I manually configured eth1 with a static IP on the DMZ network but can't ping ...
2
votes
0answers
763 views

How can I tell Ubuntu to keep the correct routing table?

Ubuntu sets a wrong routing table if the router is switched off and on again: Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 ...
0
votes
1answer
141 views

Ports misbehaving - Closed but they are opened

I have an interesting problem for you. I have a few ports that I opened up. On my router and I allowed then on my firewall too with sudo ufw allow 30999. But still the application which would use ...
0
votes
1answer
5k views

DHCP server not routing to connect to internet for clients

i am configuring a DHCP server using ubuntu 11.10 with 2 lan cards.eth0 is connected to wan on ip address:192.168.2.2/24 and eth1 connected to lan is configured with ip:192.168.10.1/24 ...
0
votes
2answers
1k 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 ...
1
vote
1answer
418 views

How to set iphone tethering interface as default gateway

I am able to do the iphone usb tethering under ubuntu(11.10) which will be recognized as eth1 interface (I also have an eth0 internet connection). What I want to do is, when the eth1 is up, I want ...
0
votes
1answer
561 views

How do I replace a cable modem router with my own server as DHCP?

My ISP gave me a really crappy router-modem-combination that lacks basic features. For instance you can't assign a constant ip to the mac adress of a client PC. I run a server for my home ...
3
votes
1answer
10k views

Two Network cards and ip forwarding

I want to make "Ubuntu 11.10" act as a router. I have two LAN interfaces. Let's say interface A' IP is 172.16.1.10 ; interface B's IP is 192.168.1.10. How can I configure Ubuntu so that ...
1
vote
1answer
2k views

ssh fails because port 22 doesn't work with AT&T Uverse

I am attempting to ssh into my home laptop (lappy) from my work laptop (lappy2) so I can run things, transfer files, feel good about having the skillz necessary to set up a server, etc. I have told ...
1
vote
1answer
4k views

Using Ubuntu as a router?

I've seen many tools to use Ubuntu as a router in which an internet connection could be shared from Ethernet over Wifi or vice versa. I'm looking to achieve this except with 2 Ethernet connections: ...
2
votes
1answer
3k 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 ...
2
votes
2answers
429 views

route table explanation

I'm a newbie. Recently I used the command ip route ls to print my route table. Here is the content: 111.211.3.192/26 dev wlan0 proto kernel scope link src 111.211.3.205 metric 2 I'm curious about ...
4
votes
1answer
9k views

Understanding my route table

this isn't programming at all, but I've seen related topics so I thought why not. I am using ubuntu and currently trying to learn basic networking. I read a lot of theory, so I understand the terms ...
1
vote
1answer
2k views

Ubuntu can't configure proper gateway at boot

My Ubuntu machine is connected to internet via wifi, and also connected to LAN by ethernet cable. Every time I log on, I have to run these 2 commands in order to set the proper gateway (wlan0 in my ...
2
votes
1answer
3k views

When I try to add repositories, why are ubuntu's keyservers timing-out?

Something is rendering receiving keys from keyserver.ubuntu.com impossible and I'm not even sure where to begin in trying to resolve this. As an example, we'll use the Spotify linux app found here: ...
1
vote
0answers
129 views

How to set nic priority? [duplicate]

Possible Duplicate: To allocate data usage efficiently with two internet connections I have a wifi dongle as well as a very slow POE wired connection going to my Ubuntu box. I want the Wifi ...