title: How to redirect packets received from one network interface to another network interface?
body: <p>I am using ubuntu11.10, and I created a tun/tap interface using the following commands</p>
  
  <pre><code>openvpn --mktun --dev tun0
  ip link set tun0 up
  ip addr add 10.10.10.1/24 dev tun0
  route add 10.10.10.1/24 dev tun0
  </code></pre>
  
  <p>I have another interface there</p>
  
  <pre><code>eth0 10.80.1.87
  </code></pre>
  
  <p>I wanna redirect packets received from tun0 to eth0. How to do that on top of Ubuntu?</p>