IP forwarding also known as Internet routing enables one workstation to sit on two LANs and to act as a gateway forwarding IP packets from one LAN to another.

learn more… | top users | synonyms

0
votes
1answer
95 views

How to forward internet connection at eth2 to LAN at eth1?

I have two network cards/connections: eth2 is connected to the internet eth1 is connected to my LAN I want to allow the computers in the LAN on eth1 to access my internet connection on eth2. ...
0
votes
0answers
75 views

How to redirect TCP traffic from one virtual machine to another in Linux?

What is the simplest way to redirect all TCP traffic from one virtual machine to another in Ubuntu Linux and reverse? And what type of connection I suppose to use in VirtualBox?
0
votes
0answers
44 views

ip-forwarding issue

I'm trying with ip-forwarding on Ubuntu 14.04. I've read read this tutorial, but after configuring everything like in the tutorial, when I connect another device by an Ethernet cable, this second ...
0
votes
0answers
78 views

HTTP request using IPtables doesn't work for captive portal!

I am trying to make a simulation of a captive portal on 3 virtual machines (VM Ware) for my school project this week. Setup 1 = Ubuntu client 2 = Ubuntu server (router) 3 = Ubuntu server (captive ...
0
votes
0answers
49 views

Writing exceptions in ufw to the default forwarding policy

I've tried setting DEFAULT_FORWARD_POLICY in /etc/default/ufw to both REJECT and ACCEPT and then writing rules to create exceptions to the default forward policy. No matter what I do, it appears to ...
0
votes
1answer
238 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 ...
1
vote
1answer
849 views

Virtualbox Server/Client topology

I have Ubuntu 14.04 desktop machine that VirtualBox installed on it. I make two virtual machines, one Ubuntu server, the other is Lubuntu client. The default setting allow me to get Internet from ...
2
votes
1answer
735 views

Shorewall IP Forwarding Problems in 12.04 LTS

Internet connectivity through my 12.04 LTS shorewall box is spotty at best. Ping works both locally and to the internet with no dropped packets (from both the box itself and internal LAN). HTTP ...
3
votes
1answer
4k views

Internet connection sharing without Network Manager

I followed these instructions for setting up a shared internet connection with iptables. Specifically, I: Added a network interface for my second NIC in /etc/network/interfaces like so: auto eth1 ...
7
votes
1answer
30k views

How can I set my linux box as a router to forward ip packets?

I am doing a network experiment about ip packet forwarding, but I don't know why it does work. I have a linux machine with two network interfaces, eth0 and eth1 both with static IP address (eth0: ...
0
votes
0answers
801 views

Linux bridge (brctl) doesn't forward IP-packets when router is one of the bridge endpoints

I have set up a brctl bridge on Ubuntu with the following deployment: Cisco router - > Linux bridge - > client computer The bridge forwards the following packets types: ARP,STP, but doesn't forward ...
2
votes
2answers
4k views

How to forward an Internet connection to another network?

Can somebody please make a short & sweet tutorial telling how to forward an Internet connection to different network interfaces in Ubuntu...? This is the idea: I'm using a 3G usb modem to get ...
5
votes
2answers
12k views

How to configure UFW to allow IP Forwarding?

I have UFW, OpenVPN and Virtualbox installed on my home server. I have a host-only network for my virtual machine guests (vboxnet0) set up with the IP range 10.0.1.0, and another IP range of 10.0.0.0 ...