Forward in ipchains, IP-forwaring & IP routing

Forward in ipchains, IP-forwaring & IP routing

Post by Sunny L » Fri, 30 Nov 2001 13:03:07



Hi!

I'm always confusing the relationship between ip-forwarding, ip
routing and the forward inside ipchains.

Please help me to unravel it.

Thanks.
Sunny

 
 
 

Forward in ipchains, IP-forwaring & IP routing

Post by Dean Thompso » Fri, 30 Nov 2001 21:02:08


Hi!,

Quote:> Hi!

> I'm always confusing the relationship between ip-forwarding, ip
> routing and the forward inside ipchains.

IP-Forwarding: This is the process of taking a packet which arrives on one
                interface and passing it to another interface on the same
                machine.  This is normally governed by the FORWARD rule under
                ipchains, or PREROUTING under iptables.

IP-Routing: This is the process of routing a packet to the destination from
             the source address.  Refer to routing, or grab a good textbook
             on TCP/IP networks for a more detailed explanation of how the
             "magic" happens.

Forward-Rule: This is what controls what packets get forwarded from one
               interface to another.

I think the ipchains-HOWTO at http://www.linuxdoc.org might help you out.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Forward in ipchains, IP-forwaring & IP routing

Post by Dean Thompso » Fri, 30 Nov 2001 21:02:12


Hi!,

Quote:> I'm always confusing the relationship between ip-forwarding, ip
> routing and the forward inside ipchains.

IP-Forwarding: This is the process of taking a packet which arrives on one
                interface and passing it to another interface on the same
                machine.  This is normally governed by the FORWARD rule under
                ipchains, or PREROUTING under iptables.

IP-Routing: This is the process of routing a packet to the destination from
             the source address.  Refer to routing, or grab a good textbook
             on TCP/IP networks for a more detailed explanation of how the
             "magic" happens.

Forward-Rule: This is what controls what packets get forwarded from one
               interface to another.

I think the ipchains-HOWTO at http://www.linuxdoc.org might help you out.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Forward in ipchains, IP-forwaring & IP routing

Post by Sunny L » Sat, 01 Dec 2001 18:27:28


Hi Dean Thompson,

Thanks for your help.

Sunny


> Hi!,

> > I'm always confusing the relationship between ip-forwarding, ip
> > routing and the forward inside ipchains.

> IP-Forwarding: This is the process of taking a packet which arrives on one
>                 interface and passing it to another interface on the same
>                 machine.  This is normally governed by the FORWARD rule under
>                 ipchains, or PREROUTING under iptables.

> IP-Routing: This is the process of routing a packet to the destination from
>              the source address.  Refer to routing, or grab a good textbook
>              on TCP/IP networks for a more detailed explanation of how the
>              "magic" happens.

> Forward-Rule: This is what controls what packets get forwarded from one
>                interface to another.

> I think the ipchains-HOWTO at http://www.linuxdoc.org might help you out.

> See ya

> Dean Thompson

> --
> +____________________________+____________________________________________+

> | Bach. Computing (Hons)     | ICQ     - 45191180                         |
> | PhD Student                | Office  - <Off-Campus>                     |
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
> | Melbourne, Australia       |                                            |
> +----------------------------+--------------------------------------------+

 
 
 

1. Kernel 2.2.1:IPCHAINS:IPPORTFW:IP port forwarding: IP Masq: ipmasqadm

Thanks to a kind soul from this forum (gweeks) we've just saved $5000 on
new firewall software.

Remember to compile Kernel 2.2.1 with the experimental options under
"Code maturity level options" and the you will have access to the IP
port forwarding options under "Networking options".

Only then can your IP port forward work.  Maybe you all know this, and
I'm slow.  Hope this helps someone besides me.  (I can't wait for you to
pick this up on Dejanews.)

:-)

2. Problems setting a USB RCA Cablemodem

3. IP Forwarding? IP Routing?

4. 4DOS-like descriptions in Linux?

5. ip-forwarding && dns-forwarding

6. arp -a and ifconfig info don't agree?

7. Using "ipchains -P forward DENY" instead of disabling ip-forwarding?

8. Newbie Question One pkgadd

9. Mandrake 7.1 and ip forwarding & ipchains

10. IP forwarding is only good for port forwarding of only one IP ?

11. IP forwarding & Masq from net to Private IP

12. IP masquarade & IP forwarding

13. Routing & IP Forwarding under RedHat 7.2