Someone replied using ipautofw. I haven't used that before and I heard it's
not very stable. So beware.

I still suggest you consider ipportfw as most of the services you advertise
outside are well known and for sure you know the port#.

Francis Kam
Uniforce System Ltd.
[EMAIL PROTECTED]

-----Original Message-----
From: Anatoli Olkhovets <[EMAIL PROTECTED]>
To: M Kam <[EMAIL PROTECTED]>
Date: Monday, January 25, 1999 7:16 AM
Subject: Re: [masq] how to forward from a particular address?


>As you thought, address.inside.ip.masq is internal address. Our system is
>set up as follows:
>
>Linux server with real IP and internet connection, and internal network
>with internal static IP's:
>server: 192.168.0.1
>'puteres: 192.168.0.2 - 192.168.0.5
>
>I know about port forwarding, but the problem is that I don't know what
>ports a prticlular program I'm trying to run is using. And I don't want to
>forward all ports to my machine only, since I want to allow the other
>machines to use the internet as well. So the idea was to forward all
>packets from a particular machine, not all packets to particular ports, to
>a machine inside with 192.168.0.x address. I don't even know if this is
>possible. Any ideas on how to do this?
>
>Thanks,
>Anatoli.
>
>At 09:06 PM 1/24/99 +0800, you wrote:
>>address.inside.ip.masq is not reachable because there's no route to it (by
>>def. of masq). If there's a route (given address.inside.ip.masq is a real
IP
>>addrs, which is unlikely), and if your masq. machine would do ip
forwarding,
>>and if you didn't add any forwarding rules to disallow that, your original
>>ipfwadm stmt should work.
>>
>>If address.inside.ip.masq is not a real IP address, and to do partially
what
>>you want, you could read up a bit about port forwarding (Port Forwarding
>>(http://www.ox.compsoc.org.uk/~steve/portforwarding.html)). However,
>>ipportfw requires ports to be preenabled. Of course, you can enable all
well
>>known ports.
>>
>>-- Francis
>>Uniforce System Ltd.
>>http://www.uniforce.net
>>
>>-----Original Message-----
>>From: Anatoli Olkhovets <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>Date: Sunday, January 24, 1999 6:16 PM
>>Subject: [masq] how to forward from a particular address?
>>
>>
>>>Hi,
>>>
>>>how do you forward all packets from a particular IP address to a
particular
>>>machine inside? This way you can have a two-way communication using any
>>>program, even if you don't know ports that are used. I was trying
something
>>>like:
>>>
>>>ipfwadm -a accept -I -S IP.address.of.ouside_machine -D
>>address.inside.ip.masq
>>>
>>>This didn't work. Any suggestions?
>>>
>>>Thanks,
>>>Anatoli.
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>For daily digest info, email [EMAIL PROTECTED]
>>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to