ranger at optonline.net
Sun Feb 4 11:51:29 EST 2001
Well, for Asheron's Call, this is how I did it:
ipchains -A input -p tcp -j ACCEPT -s 0.0.0.0/0 -d 192.168.0.5/24 9000:9010
ipchains -A input -p udp -j ACCEPT -s 0.0.0.0/0 -d 192.168.0.5/24 9000:9010
Now where the line for tcp is, substitute in 510:510 and for udp, 810:810.
Also, where 192.168.0.5/24 is, substitute in your IP and subnet mask.
Hope this helps,
----- Original Message -----
From: "Anthony Russello" <arussello at quickclic.net>
To: <techtalk at linuxchix.org>
Sent: Sunday, February 04, 2001 11:40 AM
Subject: [techtalk] ipchains
> Hi there.
> I'm having a little trouble understanding the ipchains ruleset. I've read
> over a few how-tos, but haven't quite mastered it.
> If I had a program that needed TCP port 510 and UDP port 810, how would I
> go about setting that up to run through ipchains?
> If someone knows a comprehensive how-to, I'll accept that instead of an
> explanation. I just need to figure out these rulesets.
> I'm actually migrating from an NT4 server as a proxy/file server, and
> though I knew the rulesets for my firewall/proxy on that machine, I have
> no idea about these ipchains rulesets.
> There's plenty of semicolons to go around
> techtalk mailing list
> techtalk at linuxchix.org
More information about the Techtalk