Re: [LARTC] NAT+portfw failure

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 27 February 2001 04:12, Paul Wouters wrote:

On Tuesday 27 February 2001 04:12, you wrote:

I'm not sure I understood the problem, but I have a similar situation (an 
ADSL router with public address a.b.c.d that forwards everything coming in to 
a single host THOR with ip 172.17.32.91). The router can't reach other 
internal addresses (only 172.17.32.91).
This host THOR has a second network card (ip 172.18.32.99) and acts also as 
gateway for the LAN.
To make internal hosts reach adress a.b.c.d  I put an ip alias to the second 
eth on THOR that answers on the address a.b.c.d
In that way:
- external host talk to the router which forwards on the internal host THOR
- internal host try to connect to a.b.c.d and receive answer from THOR. 

If the router would be able to handle packets addressed to it and coming from 
internal network this werid trick wouldn't be necessary, but actually THOR 
would answer to internal and external call both in the actual situation and 
in the perfect world. 

Hope this may help you. If this soluiton has something wrong or can be done 
better, please help me.

         have a good day

         gianpaolo




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux