LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IpChains (https://www.linuxquestions.org/questions/linux-networking-3/ipchains-14943/)

R4z0r 02-23-2002 01:19 PM

IpChains
 
I'm trying to get AOE2 to work with my Linux gateway (IPCOP).

I need to enable 2300-2400 for inbound and outbound (TCP and UDP) from Smoothie (192.168.0.1) to my machine (192.168.0.3).

How can I do thins using Ipchains?

Thanks,

-=R4z0r

mircea 03-01-2002 06:10 AM

ipchains -A input -p tcp -s 192.168.0.1 2400:2500 -b -j ACCEPT
and same for 192.168.0.3

Mik 03-01-2002 07:29 AM

What mircea mentioned would open the ports. But I don't think that's what you ment. As far as I can see you where asking how to forward the ports with ipchains. I assume you are using a 2.2 kernel then and if not most of it would still apply for using ipchains anyways so try reading the following information:

http://www.ox.compsoc.net/~steve/portfw-2.2.html

mircea 03-01-2002 10:28 AM

forwarding in the same lan class ? i doubt


All times are GMT -5. The time now is 11:09 PM.