LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG-Social] Firewall +ipchains

[ILUG-Social] Firewall +ipchains

Dirceu Zacar dirzp at hotmail.com
Fri Dec 3 18:32:06 GMT 1999


Hi I need some help to let people on a lab get out there with these 
services: telnet, ftp, traceoute, ping... In the lab we have 192.168.3.X, my 
server X.X.X.2 and the router X.X.X.3

how can I do that with ipchains????

ipchains -N LAB3
ipchains -A LAB3 -p icmp -s 192.168.3.0/255.255.255.0 --icmp-type ping -j 
ACCEPT

ipchains -A LAB3 -p tcp -d x.x.x.2 --dport ftp -j ACCEPT
ipchains -A LAB3 -p tcp -s 192.168.3.0/255.255.255.0 --sport ftp ! -y -j 
ACCEPT
ipchains -A LAB3 -p tcp -d x.x.x.2 --dport 1024: -j ACCEPT
ipchains -A LAB3 -p tcp -s 192.168.3.0/255.255.255.0 --sport 1024: ! -y -j 
ACCEPT

Am I on the correct way or not??

And what about the other service, telnet and traceroute???


Thanks a lot!

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com




More information about the Social mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell