simple? linux questions

Possessed Freak

Diamond Member
Nov 4, 1999
6,045
1
0
I have successfully installed linux on my ICS machine, and is currently doing a good job at all the things ICS did in win2k.

my question is this:

How in the hell do you forward ports to an internal address, specifically a set of ports includiong a 100 port block. More specifically, how do I forward data from ports 6073, 47624, 2300-2400 from eth0 to eth1? Better yet, how in the hell do I just forward al packets, screw security.
 

Possessed Freak

Diamond Member
Nov 4, 1999
6,045
1
0
oh and this is for a 2.4 kernal so none of that older 2.2 CRAP answers that I have been getting for the past 8 hrs, I don't need that, it does not work

ipmasqadm is not something this thing has, so that won't help either.

and yes if you can tell, I am getting very very frustrated at linux
 

Possessed Freak

Diamond Member
Nov 4, 1999
6,045
1
0
looking at that, it seems *seems* easy, with the: iptables -P FORWARD ACCEPT command, but how do I make a chain to forward those ports, including the grouping of 100 ports?
 

Jay

Golden Member
Oct 9, 1999
1,728
7
81
/me faints.

Can that be PF using Linux??? Mr. Bill Gates Jr. is using Linux???
 

Possessed Freak

Diamond Member
Nov 4, 1999
6,045
1
0
no no, I am not using linux, it is ABusing me!

just sitting on my ICS box doing what it is doing, what it is doing is not what I want it to be doing, and to make it do what I want it to do is hard.
 

Possessed Freak

Diamond Member
Nov 4, 1999
6,045
1
0
this really can't be that hard, all I want is every packet forwarded from eth0 to eth1 and from eth1 to eth0, is that bad? My current test is to see if I can DCC send with IRC from my internal machine. If I can't, it ain't solved.

And no, running some sort of preconfigured thing just for IRC will NOT solve the problem, I want all ports allowed...

 

bphantom

Senior member
Oct 9, 1999
647
17
81
PF, I haven't played with the forwarding feature of iptables, but I'm guessing it's something along the lines of:

iptables -A FORWARD -i eth0 -p TCP --dport 2300:2400 -j ACCEPT

I looked at this IPTables script to give me the above idea. Sorry I couldn't be of more help, but I'm still a newbie to iptables.

Brad..

 

efun

Senior member
Mar 11, 2001
231
0
0
PF two questions, first, did you get this working yet? and second what linux distro/version are you using?

You are aware that the linux2.4 netfilter supports the older syntax for 2.2ipchains right? (Hint it is a configure option for the kernel.)
 

Eponymous

Golden Member
Jun 7, 2001
1,186
0
0
So you want everything coming in eth0 to go out eth1?

Hmm, that sounds like either a router or a bridge.

Are you doing Masquerading? Is this a firewall?

Routing is easy. What kind of choice of IP numbers do you have?

How many machines do you want to have behind this machine?

The fun part is coming up with the subnet mask.

 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |