Koozali.org: home of the SME Server

PortForwarding and IP Aliasing problems

Bob Jenner

PortForwarding and IP Aliasing problems
« on: August 17, 2001, 12:10:49 AM »
Hi,
I have setup multiple interfaces on my E-Smith server system (eth0:1, etc). I can see each interface, with a status of UP with ifconfig. From the local server, I can ping all interfaces, no problem. From the LOCAL lan I can ping all interfaces, without problem. I have Internet access from the server and from the local LAN. From outside, I can not ping any addresses other then the physical, external interface address.

I have defined rules and verified them with ipmasqadm portfw -l

Have I possibly missed a step? ipchains maybe? I really need to get this up and running today if at all possible. Please advise, and thanks!

Bart/K

Re: PortForwarding and IP Aliasing problems
« Reply #1 on: August 17, 2001, 12:46:10 AM »
Sounds as if what you're trying to do might be impossible (for now)....

As I understand, you want different IP's on the external interface?

But the external interface also has a gateway,
for example, when i do a "ifconfig" , i get:

ppp0      Link encap:Point-to-Point Protocol
          inet addr:my.external.address.number  P-t-P:195.190.241.75  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:54196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31254 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10

The P-t-P part defines my gateway for this interface.
If i understand routing et al correct, your provider has to take care that different (external) ip's are being routed to you.
Maybe some output of your routing table could help.
Or what IP do you want me to ping for you?

Bob Jenner

Re: PortForwarding and IP Aliasing problems
« Reply #2 on: August 17, 2001, 01:19:14 AM »
Thanks for the reply.
The ip addresses are available and on the wire. If I replace E-Smith with my previous router, all of the IP's are available.

IP's are:

63.194.15.201 is my upline gateway
63.194.15.202 (bound to public interface)
192.168.1.100 (bound to private interface)
63.194.15.203 - 206 setup as interfaces eth0:1 - eth0:4

Masq's are setup like this:

ipmasqadm portfw -a -P tcp -L 63.194.15.203 25 -R 192.168.1.253 25 -p 0

192.168.1.253 is a local mail server on the internal LAN.

What other information may I give you?