IP forwarding

menonrr_at_adelphia.net
Date: 09/14/04

  • Next message: Nestor Waldyd: "XWindow isn't starting automatically"
    To: <redhat-list@redhat.com>
    Date: Mon, 13 Sep 2004 18:25:14 -0400
    
    

    Hello,

    The mailing list friends helped me to enable IP forwarding on my Redhat 9 gateway with the rule:

    "iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 172.16.3.10"

    This rule forwards the traffic from the internal network (172.16.4.0/24) to the outside.

    Problem:

    But I feel that the internal IPs are being forwarded with the IP address of the external NIC of the gateway.

    It would be helpful if I could have a way to keep the internal IP address (172.16.4.0)as it is without being substituted with the gateways IP address(172.16.3.10). This is because I want the external users to see the internal machines(172.16.4.0 network) as it is.

    Please advise.

    Thank You

    Menon

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Nestor Waldyd: "XWindow isn't starting automatically"

    Relevant Pages

    • Re: IP forwarding
      ... > The mailing list friends helped me to enable IP forwarding on my Redhat 9 gateway with the rule: ... > But I feel that the internal IPs are being forwarded with the IP address of the external NIC of the gateway. ... type "ip addr" If the output does not include a line ...
      (RedHat)
    • Re: IP forwarding
      ... > The mailing list friends helped me to enable IP forwarding on my Redhat 9 ... > the external NIC of the gateway. ... I take it the external machines can route to this internal network - ie they ...
      (RedHat)
    • Re: [SLE] tunneling through an intermediate host
      ... SSH to the gateway as usual, setting up a forwarded port to ... >> enable X forwarding on this first connection since it doesn't ... >> sound like you're actually running anything X from the gateway. ...
      (SuSE)
    • Re: discovering a service behind a nated network
      ... >I would like to discover if a service that is behind a NATed network ... >gateway, how could i from an external network check if the server is ... >the gateway, the port forwarding works for other services, but this ...
      (Security-Basics)
    • Re: default route question
      ... > I have set up a RedHat 9.0 box as a gateway/router. ... > ETH1 is conencetd to my local network, has static IP and is a DHCP server. ... > DHCP server tells the local LAN that this box is a default gateway. ...
      (RedHat)