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


hi raf,

On Thu, 21 Dec 2000 11:23:54 +1100, raf <[EMAIL PROTECTED]> wrote:

>Jan Stifter wrote:
>
>> my ISP gave us range a.b.c.224-239
>> and one ip for the router / firewall box: a.b.c.31
>> 
>> configuration of the router / firewall box is:
>> 
>>    eth0, a.b.c.31         (connected to ISP)
>>    eth1, a.b.c.224-239    (servers of company 1 & 2)
>>    eth2, 192.168.0.0-255  (company 1)
>>    eth3, 192.168.1.0-255  (company 2)
>> 

i have some success with this commands:
  /usr/sbin/ip route add nat a.b.c.228 via 192.168.1.10
  /usr/sbin/ip rule add prio 320 from 192.168.1.10 nat a.b.c.228

from extern to a.b.c.228, i get a connection.

problem:
from the servers net, if i telnet 192.168.1.10, i get no connection,
because the reply of 192.168.1.10 gets nat to a.b.c.228.

so my new problem is:
from company 1 and the servers, a connection to 192.168.1.10 should
work.

can anybody help me with this problem?

many thanks
jan

---
Jan Stifter
http://www.medres.ch/~jstifter/

_______________________________________________
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