LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-23-2002, 02:19 PM   #1
R4z0r
Member
 
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
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
 
Old 03-01-2002, 07:10 AM   #2
mircea
Member
 
Registered: Oct 2001
Location: Bucuresti - Romania
Distribution: RedHat 7.2
Posts: 42

Rep: Reputation: 15
ipchains -A input -p tcp -s 192.168.0.1 2400:2500 -b -j ACCEPT
and same for 192.168.0.3
 
Old 03-01-2002, 08:29 AM   #3
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
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
 
Old 03-01-2002, 11:28 AM   #4
mircea
Member
 
Registered: Oct 2001
Location: Bucuresti - Romania
Distribution: RedHat 7.2
Posts: 42

Rep: Reputation: 15
forwarding in the same lan class ? i doubt
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ipchains brokenflea Linux - Networking 1 02-03-2004 06:44 AM
ipchains i.d. Linux - Security 5 08-21-2002 03:12 PM
ipchains help ... please> paulw Linux - Security 3 11-16-2001 11:15 AM
IpChains again ETT Linux - Security 3 07-24-2001 08:49 AM
[ipchains] MrGreg Linux - General 4 07-15-2001 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration