The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DNS settings bad-ash SUN Solaris 8 1 Week Ago 04:52 AM
Help with IBM 550 and HMC settings System Shock UNIX for Dummies Questions & Answers 0 06-26-2007 05:05 AM
KSH Terminal Settings dstinsman UNIX for Dummies Questions & Answers 6 02-17-2006 01:05 PM
LAN settings nickk Linux 1 02-11-2006 04:36 AM
SuSe firewall settings MadonnaC Security 0 07-30-2005 07:21 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2008
Registered User
 

Join Date: Jul 2008
Posts: 3
Stumble this Post!
settings in rc.firewall

Hi everyone.

I'm trying to setup eMule and torrents on the local network behind the BSD server. And everything seems to work except one detail - it works as long as
Code:
${fwcmd} add deny log tcp from any to any in via ${oif} setup
is commented out. Meaning that not only required ports are open, but any other ports.
My question is how do I setup everything to pass only specific ports for torrent and eMule and block everything else?
I've tried writing similar rule, but allowing needed ports, but it doesn't work. For instance -
Code:
${fwcmd} add pass tcp from any to any in via ${oif} 4662 setup
.

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-17-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 672
Stumble this Post!
I suppose this will work
pass in log quick on ${oif} inet proto tcp from any to any port 4662
Reply With Quote
  #3 (permalink)  
Old 07-23-2008
Registered User
 

Join Date: Jul 2008
Posts: 3
Stumble this Post!
It doesn't work. And I don't know why. Is there any order for rules to appear? Or some other rules that can possibly block this one?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0