Results 1 to 4 of 4

Thread: Forwarding

  1. #1
    Join Date
    Oct 2012
    Beans
    4

    Forwarding

    I got a desktop-server with 2 network interfaces. eth0 and eth1.

    eth0: connected to internet, IP 10.112.76.22 DNS 10.100.102.73 and .74
    eth1: connected local, IP 192.168.1.21 DNS 10.112.76.22 (eth0)

    I want to forward internet connection from eth0 to eth1. Which commands do I need to do this? And is my DNS the right 1?

  2. #2
    Join Date
    Sep 2012
    Beans
    31

    Re: Forwarding

    Based on your information [
    QUOTE=Ane Lenstra;12275202]I got a desktop-server with 2 network interfaces. eth0 and eth1.

    eth0: connected to internet, IP 10.112.76.22 DNS 10.100.102.73 and .74
    eth1: connected local, IP 192.168.1.21 DNS 10.112.76.22 (eth0)

    I want to forward internet connection from eth0 to eth1. Which commands do I need to do this? And is my DNS the right 1?[/QUOTE]

    Try the following from the link as stated below link
    Code:
    http://rbgeek.wordpress.com/2012/04/29/how-to-install-the-dhcp-server-on-ubuntu-12-04lts/
    Last edited by cway00; October 3rd, 2012 at 01:09 PM.

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,754
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Forwarding

    I think you're asking how to make machines with addresses in the 192.168 space be able to see the Internet, yes?

    You do this with something called "network address translation" or "IP masquerading." Read this:

    https://help.ubuntu.com/community/In....28iptables.29

    By the way, the bolded comment in that article that turning off IP forwarding since Hardy is a "bug" is not correct. It is a security precaution. Most all modern distributions now disable IP forwarding by default.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Oct 2012
    Beans
    4

    Re: Forwarding

    Quote Originally Posted by cway00 View Post
    Based on your information

    Try the following from the link as stated below link
    Code:
    http://rbgeek.wordpress.com/2012/04/29/how-to-install-the-dhcp-server-on-ubuntu-12-04lts/
    Thanks.

    I've got a FOG server installed which uses DHCP to give IP-addresses. Followed this tutorial but it still won't work.

    Isn't there something I need to configurate with IPTABLES?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •