DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th May 2008
Johnny2Bad Johnny2Bad is offline
Port Guard
 
Join Date: May 2008
Posts: 21
Unhappy samba wont operate under natd/ipfw

Hi,
I can't seem to get samba going again after installing natd & ipfw. The machine also refuses ftp, but strangely enough ssh still works.

I disabled the firewall and it still wont go. So it has to be a natd issue.

Has anybody run into this problem and if so what is the remedy?

Thanking you in advance,
Jonathan.
Reply With Quote
  #2   (View Single Post)  
Old 24th May 2008
cerulean's Avatar
cerulean cerulean is offline
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 18
Default

Can you provide some more details? Is Samba running on a gateway machine (ie two network interfaces, one internal and one external)? What interfaces is Samba listening on? (sockstat -4l | grep smb) .. can you run nmap from another box to see if those ports are open?
Reply With Quote
  #3   (View Single Post)  
Old 24th May 2008
Johnny2Bad Johnny2Bad is offline
Port Guard
 
Join Date: May 2008
Posts: 21
Default

Hi,
Yes samba is running on a gateway machine, one onboard and one PCI card. The command you gave me (sockstat -4 | grep smb) produced no output and nmap wont run.

I have turned off the firewall and tried it (ipfw disable firewall) without any joy. The only other thing that has changed is the actual installation of natd.

Thanks,
Jonathan.
Reply With Quote
  #4   (View Single Post)  
Old 24th May 2008
Johnny2Bad Johnny2Bad is offline
Port Guard
 
Join Date: May 2008
Posts: 21
Wink I've got ftp working now

Hi,
I finally had some progress, I forgot to enable inetd during setup. By enabling this I have gained access too ftp. Now all that is missing is samba.

Cheers,
Jonathan.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
natd redirect_port problems map7 FreeBSD General 7 9th June 2010 06:22 AM
Freebsd 7.0 natd problem with jail bsduser FreeBSD Installation and Upgrading 2 26th July 2008 12:40 AM
Pf need natd? TiN-MAN FreeBSD Installation and Upgrading 2 5th July 2008 08:25 PM
ipfw question Johnny2Bad FreeBSD General 2 21st May 2008 12:16 AM
flush natd rules nenduvel FreeBSD Security 1 3rd May 2008 08:59 PM


All times are GMT. The time now is 11:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick