Subject: Ipnat problem
To: None <port-i386@netbsd.org>
From: Jean-Edouard BABIN <listes@jeb.com.fr>
List: port-i386
Date: 12/28/2001 19:32:22
Hi,
I have tried this in /etc/ipnat.conf :
map tl0 192.168.0.0/24 -> 62.2.186.251/32
map tl0 192.168.0.0/24 -> 62.2.186.251/32 proxy port ftp ftp/tcp
map tl0 192.168.0.0/24 -> 62.2.186.251/32 portmap tcp/udp 1025:65535
(then I did ipnat -f /etc/ipnat.conf)
And this not work but I don't know if I can do that because 192.168.0.1 is
an alias:
tl0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:80:5f:35:55:67
media: Ethernet autoselect (10baseT)
status: active
inet 62.2.186.251 netmask 0xffffff80 broadcast 255.255.255.255
inet alias 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
And I want to access to the net from a computer with ip 192.168.0.2
I have tried some other configuration but I can't find probleme
Thanks for your help
--
Jean-Edouard BABIN
Mail : Jeb@jeb.com.fr
Web : www.jeb.com.fr
Icq : 27305084
Irc : Jeb @#Mac-fr , @#So .. UnderNet.org