/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


For a specific port, use ipmasqadm. Something like:
   /usr/sbin/ipmasqadm portfw -a -P tcp -L 200.238.121.3 80 -R 192.168.1.10 80

Change the '80' to whatever port you need. To my knowledge (limited), you
can't just tell it to forward all ports. Enlighten me someone if I am wrong!
:)

- Gary

Ricardo Greco wrote:
> 
> /* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
> /* ALSO: Don't quote this header. It makes you look lame :-) */
> 
> Hi all,
> 
> I want to implement a form of destination NAT, so that someone on the internet
> can access my internal host (192.168.1.10).
> 
> To do that in a cisco router, I'd create a Static NAT table that looks like :
>   ip nat inside source static 192.168.1.10 200.238.121.3
> 
> In fact my host (192.168.1.10) appears to the world as 200.238.121.3 (DNS
> table) , but its real IP is 192.168.1.10
> 
> Thus, for those who want to access an application resided in my internal host
> (192.168.1.10), the cisco router translates from 200.238.121.3 to
> 192.168.1.10
> 
> If I would use cisco, ok, but I have a Linuxbox (Kernel 2.2) to implement
> this.
> 
> I am very confused what to use : Ipchains, ipmasqadm, etc or perhaps another
> deamon like Rinetd (for Kernels 2.0.x)
> 
> Does anyone can help me
> 
> I'll appreciate some suggestion
> 
> Thanks in advance.
> 
> Ricardo Greco.
> [EMAIL PROTECTED]
> Recife-PE
> Brazil
> 
> _______________________________________________
> Masq maillist  -  [EMAIL PROTECTED]
> Admin requests can be handled at http://www.indyramp.com/masq-list/ --
> THIS INCLUDES UNSUBSCRIBING!
> or email to [EMAIL PROTECTED]
> 
> PLEASE read the HOWTO and search the archives before posting.
> You can start your search at http://www.indyramp.com/masq/
> Please keep general linux/unix/pc/internet questions off the list.

-- 
----------------------------------------------------------------------
Edison Information Technologies            www.EdisonInfo.com
P.O. Box 554                               [EMAIL PROTECTED]
Milan, OH  44846-0554                      419.499.7040

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to