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


Bernd Bernhard wrote:

>  > Hi,
>  > i get the ip-adresses for the network by a not-registrated DHCP-server (get
>  > NONE-REAL-IP i see). Can i make them shown as real ips when they are masqed
>  > behind the router. Now the IPs are masqed by the router and they have the
>  > real-ip from the router. But i want a route-table (4 masq) that for
>  > specific destinations they are shown as real so the destination interface
>  > could exchange data with the internal directly (other: over the router for
>  > me internal not seen as REAL-IP hosts. )
>  > Is there a software and how does it function.
>  > I hope u got it, or i will fullfill the missing data.
>  > MfG Bernd Bernhard.
> it sounds like you want static nat.
> look for the iproute2 package and
> read it's documentation. this is the
> tool needed to do static nat and policy
> routing in general.
> raf
> 
> Hi, again!
> 
> I expand ...
> I want the router when my internal packages are masqed that the destination 
> host knows the internal adress in my network too, so that the other host 
> can directly communicate. So the destination interface knows what i sent, 
> from where i sent.
> Its masq! But its not!
> Txs Bernd Bernhard.

that's not possible because the internal addresses are presumably private
and non-routable so it sounds like you need to write a masq helper module
for whatever this application is that handles it when the external software
tries to connect back to the internal software, it'll connect to the
masquerading host which then automatically port forwards the connection to
the right internal host. the autofw module will probably do what you want but
it's been said that it's not stable and can crash the kernel if overused.

raf

_______________________________________________
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