IP MASQ

IP MASQ

Post by Jon Roo » Fri, 11 Jan 2002 01:24:38



How do I find out if my kernel supports IP Masquerading.  I'm using
Caldera OpenLinux eDesktop 2.4 (2.2.14 kernel) and I need to know if IP
MASQ support has been enabled in the kernel that was installed from the
CD.

Thanks in advance.
Jon

 
 
 

IP MASQ

Post by Cedric Blanche » Fri, 11 Jan 2002 01:26:54



Quote:> How do I find out if my kernel supports IP Masquerading.  I'm using
> Caldera OpenLinux eDesktop 2.4 (2.2.14 kernel) and I need to know if IP
> MASQ support has been enabled in the kernel that was installed from the
> CD.

iptables -t nat -L

--
 J'y connait rien en usenet, je sais pas comment on fait pour
 supprimer tout les newsgroups
 -+- FM in GNU : Pour tout casser, ya un howto ? -+-

 
 
 

IP MASQ

Post by Jon Roo » Fri, 11 Jan 2002 02:53:47




> > How do I find out if my kernel supports IP Masquerading.  I'm using
> > Caldera OpenLinux eDesktop 2.4 (2.2.14 kernel) and I need to know if IP
> > MASQ support has been enabled in the kernel that was installed from the
> > CD.

> iptables -t nat -L

> --
>  J'y connait rien en usenet, je sais pas comment on fait pour
>  supprimer tout les newsgroups
>  -+- FM in GNU : Pour tout casser, ya un howto ? -+-

Thanks, but my distro uses ipchains.

On a more general note, how can I determine which options were
enabled/disabled on a kernel?  Is there some sort of a (text) file that
indicates this?

Thanks,
Jon

 
 
 

IP MASQ

Post by Cedric Blanche » Fri, 11 Jan 2002 03:17:29



Quote:>> iptables -t nat -L
> Thanks, but my distro uses ipchains.

So sorry, my fault :/

Quote:> On a more general note, how can I determine which options were
> enabled/disabled on a kernel?  Is there some sort of a (text) file that
> indicates this?

Usualy, you can find in /boot config file used to build stock kernel.
You can just try :

        ipchains -A forward -s 10.0.0.0/24 -j MASQ

If it works, then your kernel is OK.

--
 ah koi ca sert de donner son nom si ce n'est pour avoir des emmerdes ?
 vous avez pas vu encore ke des barges il y en a partout et que devoiler
 toute ces informations c'est dangereux ?
 -+- Mickey in GNU : Le retour du fils de l'homme invisible -+-

 
 
 

IP MASQ

Post by Dean Thompso » Fri, 11 Jan 2002 21:24:08


Hi!,

Quote:> How do I find out if my kernel supports IP Masquerading.  I'm using
> Caldera OpenLinux eDesktop 2.4 (2.2.14 kernel) and I need to know if IP
> MASQ support has been enabled in the kernel that was installed from the
> CD.

You could possibly try to see whether a /proc/sys/ipv4/ip_forward entry is
present.  If it is, try to echo a 1 to it and see whether the value sticks.
If it does stick, then the chances are that you have got ip forwarding on your
system.

When you get a chance, you also might want to upgrade your kernel to 2.2.20.

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. IP Masq'd Workstation to connect to IP Masq'd Workstation

I have setup my Linux Box with IPMasq. Everything runs fine from my win box
behind the proxy. Now I just encountered a problem. I have tried to connect
to an ftp server that is behind NAT server which are both on winboxs

------------              -------------                   ------------      
        ------------------
|                 |             | IP Masq    |   Internet    |   NAT       |
| Win workstation |
| Win         |---------|    Linux      |------------|    Sygate
|---------|    FTP                |
|                 |             |   Proxy      |   Internet    |    Win box
|              | server                |
------------              -------------                   -------------    
        ------------------

I can't seem to connect to the FTP even when the FTP Client is set to
passive mode. Does anyone know whether there is anything I can do on my side
of the connection such as reconfiguring my Linux Box to fwd properly?

2. OS Popularity

3. IP Masq - Specify IP to Masq as?

4. Queuing program

5. Configuring net (IP-tunnel, IP-Alias, Proxy-ARP, NAT, IP-Masq?)

6. ??? NT Magazine "Right or Wrong"

7. IP Chains, IP Masq, and Dial on Demand Problems

8. Adaptek SCSI recognition problem

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

10. IP MASQ and IP Aliasing

11. ip masq/ip alias question

12. ip masq/ip chains and @home email

13. IP Masq. and IP Routing