ipchains port forward, ipmasqadm mfw

ipchains port forward, ipmasqadm mfw

Post by Amir Mali » Sat, 14 Aug 1999 04:00:00



I want to forward all incoming and outgoing traffic on 121.223.224.33
(internet machine/gateway/router) on port 1755(TCP) to internal host
192.168.0.5 onto port 1755(TCP). So basically, I am setting up a streaming
media server on the .5 machine and would like in/out connecions to
121.223.224.33 to be redirected/forwarded to 192.168.0.5. I have ipmasqadm
and ipchains installed.

Here is my current ipchains firewall setup:

Chain input (policy ACCEPT):
target  prot  opt     source          destination        ports
DENY    tcp   ------  0.0.0.0         info*.com       any ->   telnet
Chain forward (policy DENY):
target  prot  opt     source          destination        ports
MASQ    all   ------  192.168.0.0/24  anywhere           n/a
Chain output (policy ACCEPT):

Thanks,
Amir

------------------  Posted via CNET Linux Help  ------------------
                    http://www.veryComputer.com/

 
 
 

ipchains port forward, ipmasqadm mfw

Post by Davide Marzalon » Sun, 15 Aug 1999 04:00:00


I have a similar problem.

I'm trying to forward incoming request made to N real IP addresses (internet
ones) to M intranet ones.
I know this could be made with NAT or port forwarding support, but don't
know how.

My kernel is 2.2.5-15 (RH 6.0 standard) not yet recompiled.
How can I see if my kernel is still able to do NAT or portfw?
Which interfaces should I use? ipmasqadm? ipnatadm (where to download)?
ipportfw?

TIA

Davide Marzaloni


Quote:> I want to forward all incoming and outgoing traffic on 121.223.224.33
> (internet machine/gateway/router) on port 1755(TCP) to internal host
> 192.168.0.5 onto port 1755(TCP). So basically, I am setting up a streaming
> media server on the .5 machine and would like in/out connecions to
> 121.223.224.33 to be redirected/forwarded to 192.168.0.5. I have ipmasqadm
> and ipchains installed.

> Here is my current ipchains firewall setup:

> Chain input (policy ACCEPT):
> target  prot  opt     source          destination        ports
> DENY    tcp   ------  0.0.0.0         info*.com       any ->   telnet
> Chain forward (policy DENY):
> target  prot  opt     source          destination        ports
> MASQ    all   ------  192.168.0.0/24  anywhere           n/a
> Chain output (policy ACCEPT):

> Thanks,
> Amir

> ------------------  Posted via CNET Linux Help  ------------------
>                     http://www.veryComputer.com/


 
 
 

ipchains port forward, ipmasqadm mfw

Post by Peeter Russa » Sun, 15 Aug 1999 04:00:00




:> I want to forward all incoming and outgoing traffic on 121.223.224.33
:> (internet machine/gateway/router) on port 1755(TCP) to internal host
:> 192.168.0.5 onto port 1755(TCP). So basically, I am setting up a streaming
:> media server on the .5 machine and would like in/out connecions to
:> 121.223.224.33 to be redirected/forwarded to 192.168.0.5. I have ipmasqadm
:> and ipchains installed.

ipmasqadm portfw -a -P tcp -L 121.223.224.33 1755 -R 192.168.0.5 1755

--

 
 
 

ipchains port forward, ipmasqadm mfw

Post by Amir Mali » Sun, 15 Aug 1999 04:00:00


I tried:
ipmasqadm portfw -a -P tcp -L 121.223.224.33 1755 -R 192.168.0.5 1755

But it didn't work, do I have to add some rules to my ipchains firewall
rules?

Amir




> :> I want to forward all incoming and outgoing traffic on 121.223.224.33
> :> (internet machine/gateway/router) on port 1755(TCP) to internal host
> :> 192.168.0.5 onto port 1755(TCP). So basically, I am setting up a
streaming
> :> media server on the .5 machine and would like in/out connecions to
> :> 121.223.224.33 to be redirected/forwarded to 192.168.0.5. I have
ipmasqadm
> :> and ipchains installed.

> ipmasqadm portfw -a -P tcp -L 121.223.224.33 1755 -R 192.168.0.5 1755

> --


------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com
 
 
 

1. Kernel 2.2.1:IPCHAINS:IPPORTFW:IP port forwarding: IP Masq: ipmasqadm

Thanks to a kind soul from this forum (gweeks) we've just saved $5000 on
new firewall software.

Remember to compile Kernel 2.2.1 with the experimental options under
"Code maturity level options" and the you will have access to the IP
port forwarding options under "Networking options".

Only then can your IP port forward work.  Maybe you all know this, and
I'm slow.  Hope this helps someone besides me.  (I can't wait for you to
pick this up on Dejanews.)

:-)

2. Pkzip v1.1 for SCO Unix

3. port forwarding problems (ipmasqadm + ipchains)

4. Volume of Daily Postings

5. ipchains, ipmasqadm and port forwarding to apache

6. SuSeFirewall2

7. Getting ipmasqadm to play nice with ipchains rules for port forwarding

8. Mounting point

9. Can't forward ports w/ ipchains ipmasqadm

10. ipmasqadm & ipchains: port forwarding

11. IPCHAINS & IPMASQADM Port Forwarding

12. ipmasqadm port forward collides with other ports

13. ipmasqadm mfw doesn't get back to client machine