Koozali.org: home of the SME Server

mapping multiple static ip's

Jean-Guy

mapping multiple static ip's
« on: September 08, 2001, 08:43:40 PM »
I have adsl modem on esmith. here is my config

eth0  = internal 192.168.1.0/24
eth1 = extranal 207.176.45.22 with gateway of 207.176.45.21

This above config works great. My ISP gave me more IP addesses because I want to run a couple of servers. They gave me this range
network   = 205.150.166.80/29
netmask  = 255.255.255.248
broadcast = 205.150.166.87

I want to be able to map the 205.150 addresses to 192.168 machines on the inside. The port the servers are using is 8000.
I tried ipmasqadm portfw and it only works for the 207.176 address not the 205.150's Is there something more I need to do to get this to work? I also added the accept rule on the input chain for 205.150.166.80/29 any -> 192.168.1.0/24
any -j ACCEPT -l

I can see the ACCEPT for the packet in the messages log file! but it's not making it to the internal server. How do I do this?

Thanks
Jean-Guy