Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: how to route traffic through my pc?

  1. #11
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,521
    Distro
    Ubuntu Development Release

    Re: how to route traffic through my pc?

    I'm not sure if I'll need masquerading
    Yes, you will need the network address translation (NAT).
    Your gateway will perform NAT to/from 192.168.2.XXX - 192.168.0.100 and then further upstream there will be another NAT to internet
    Last edited by Doug S; November 12th, 2012 at 09:01 PM. Reason: added more

  2. #12
    Join Date
    Jun 2007
    Location
    Melbourne, AU
    Beans
    211
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: how to route traffic through my pc?

    It sounds as though you're on the right track.

    I'm not convinced you will need masquerading considering your eth0 interface is on private address space. One would assume your upstream gateway will NAT all internal address space? Maybe?

    See how you go without it.
    Last edited by fwre01; November 15th, 2012 at 07:02 AM.
    Ubuntu 8.04 Hardy Heron User

  3. #13
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,521
    Distro
    Ubuntu Development Release

    Re: how to route traffic through my pc?

    I'm not convinced you will need masquerading considering your eth0 interface is on private address space. One would assume your upstream gateway will NAT all internal address space? Maybe?
    Yes, but how it know how to route the traffic? I think you still need to NAT from the one private network to the other private network. Then, yes, the upstream gateway will NAT again to/from the WAN. Perhaps there is a way to do it without the 192.168.2.XXX to/from 192.168.0.100 NAT, via adding in specific routing on the 192.168.0 sub-net, I don't know as I wouldn't do it that way.

  4. #14
    Join Date
    Mar 2011
    Location
    New Zealand
    Beans
    444
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: how to route traffic through my pc?

    Thank you very much for the information, I should be able to research the rest (although I may have to ask ). Before starting this thread I hadn't a clue how to go about doing this. Right now I'm quite busy, I'll get back to this later, maybe in a few weeks. Thanks again.

Page 2 of 2 FirstFirst 12

Tags for this Thread

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
  •