The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > BSD
Google UNIX.COM


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux MPX Multi-touch Table May Become Free DIY Microsoft Surface ... - Gizmodo.com iBot UNIX and Linux RSS News 0 07-16-2007 11:10 AM
create new table/field Gr4wk Shell Programming and Scripting 2 05-03-2006 06:07 PM
table howeezy High Level Programming 1 09-23-2005 11:27 AM
MySql: create table error perleo Shell Programming and Scripting 3 04-16-2003 02:23 PM
How do I create desktop icons for the shell programs I create??? TRUEST UNIX Desktop for Dummies Questions & Answers 7 05-15-2002 08:40 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2008
Registered User
 

Join Date: Jun 2008
Posts: 1
Unhappy How to create IP table at Free BSD

Now, I had installed free bsd at my office. Unfortunitely, Email server have been using Local PoP3 and SMTP to our ISP with outlook. but my unix firewall sever ( free bsd ) didn't allow these port ( 110 & 25 ).
How can i create the IP table to pass at server. If u have any experience about obvious case, Pls kindly guide to me.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-26-2008
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,128
Are you sure that the firewall is the issue ? Can you telnet to certain IP on these ports ? What is the error message ? What is the firewall installed on this FreeBSD ? Which versions are both the BSD and the firewall software ?
Reply With Quote
  #3 (permalink)  
Old 07-25-2008
Registered User
 

Join Date: Jun 2008
Posts: 6
To determine which ports are open on your machine, take a look at nmap which will probe all the open ports on your machine. Good luck.
Reply With Quote
  #4 (permalink)  
Old 07-31-2008
Registered User
 

Join Date: Jul 2008
Posts: 7
nmap will do the job but telnet shuld be sufficient to test whether ports are open. try netstat -an | grep 110 and grep 25 to see if anything has bound to these ports at all.

On freebsd there is no iptables.
Firewalls on freebsd are either ipf or pf.

as far as I recall ipf -ihn will show you active ruleset on incoming direction (i) with hits per rule (h) and number next to each rule (n). ipf -ohn will show you similar but in output direction. You may find that strange at the first glance but in ipf last match wins. That is decision to dropp/pass a packet is done based on last match, not first match in a rulest - opposite to linux/cisco behaviour. It's just a different approach you'll have to get used to, it's not wrong at all.

Tell us what you see when doing netstat and telnet to mentioned ports, then we'll guide you through the rest. It won't be difficult.
ipf's syntax is so simple and straighforward that I falled in love since I saw it. PF is very similar (in syntax).

regards.
Reply With Quote
  #5 (permalink)  
Old 3 Weeks Ago
Registered User
 

Join Date: Aug 2008
Location: Amsterdam, The Netherlands
Posts: 31
There is another firewall used on FreeBSD: ipfw
ipfw show
to show your ruleset. Unlike pf and ipf, for ipfw first rule match will be executed.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:42 AM.


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