Subject: Re: i dont bring it to fly my ports ?`:-(
To: Caloro Maurizio <mauric@gmx.ch>
From: Thomas Bieg <tomsbsd03@t-email.de>
List: netbsd-users
Date: 07/01/2003 03:23:58
Hello Maurizio,
if I understand your problem correctly, and all you want to do is
to connect to a mail server (on the internet) from a PC in your
internal network, then your ipnat.conf should only contain the 3
"map" lines, like that:
map le1 192.168.20.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
map le1 192.168.20.0/24 -> 0.0.0.0/32 portmap tcp/udp 10000:40000
map le1 192.168.20.0/24 -> 0.0.0.0/32
(With /24 instead of /16 because I've read in one of your older
mails that your netmask is 255.255.255.0.)
After changing that reload ipnat.conf with
/etc/rc.d/ipnat reload
What I think you might be missing: You have to enter the ip address
of your router (192.168.20.222) as the "Gateway" address in the TCP-IP
settings of your Win2000-Box.
If you have already done so and it still doesn't work:
- Can you ping any host on the internet (from the PC)?
("ping www.netbsd.org" for example)
- What are the proxy settings in your email program?
Regards,
Tom
(PS: Ich kann auch gerne auf deutsch antworten, falls das einfacher
waere.)
Caloro Maurizio wrote:
> Dear IPfilter Group :
> --------------------
> What i want to do its like, from my PC1 take the email from the public pop
> server, but to do this i must go over my router that at the momment dont
> want my do this, please have a look why i dont see my mistake that i have
>
> dropdown>< ipnat.conf > many attemps that i proved, without results:-(
> please help
> maurizio