Visit Our UNIX and Linux User Community

Full Discussion: Samba Over WAN
Top Forums UNIX for Advanced & Expert Users Samba Over WAN Post 11753 by cybler on Tuesday 11th of December 2001 06:16:00 PM
Old 12-11-2001
Samba Over WAN

Hi, I recently setup Samba on my home network. It's working fine there and I can use all the shares normally.
What I would like to do now is be able to use those shares on my PC at work, or actually on any computer connected to the Internet.
My OS is SuSE 7.3 and I think I'm running Samba 2.0. I've opened ports 137-139 on my router.
I can ping the server, telnet to it, FTP to it and a number of other things, but I can't connect to a Samba share.
Any ideas would be great. Thanks!
Test Your Knowledge in Computers #797
Difficulty: Easy
The simplest arithmetic operation in binary is addition.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can someone please give me information about WAN and LAN

I just need to know the important concepts. I tried searching on the internet for information about this but got bombarded with too many un-neccessary details I find confusing and helpless. I just need to know WAN and LAN concerning how to monitor them and fix or (troubleshoot) basic problems (3 Replies)
Discussion started by: TRUEST
3 Replies

2. Solaris

accessing solaris 8 over WAN

We can access our solaris 8 from our LAN . However when we try to access the same over our WAN , it is not able to ping the server . /etc/hosts has entries for our DNS server. Another thing all WAN clients are Windows 2000 workstations . Here is the output netstat -nr Routing Table: IPv4... (1 Reply)
Discussion started by: Hitesh Shah
1 Replies

3. IP Networking

Accessing Solaris 8 over WAN

We can access our solaris 8 from our LAN . However when we try to access the same over our WAN , it is not able to ping the server . /etc/hosts has entries for our DNS server. Another thing all WAN clients are Windows 2000 workstations . Here is the output netstat -nr Routing Table: IPv4... (7 Replies)
Discussion started by: Hitesh Shah
7 Replies

4. IP Networking

Access samba over wan

How do I access a samba server over a wan with routers used as the gateways between the lans (1 Reply)
Discussion started by: ogah
1 Replies

5. Solaris

Solaris 10 installation over WAN using jumpstart

I am trying to install Solaris 10 OS using jumpstart over WAN. I have configured the jumpstart server with apache server and created all the necessary configurations and files. When i WAN boot my target machine, it gets booted using wanboot, it downloads the miniroot from the jumpstart server, but... (3 Replies)
Discussion started by: hemalsid
3 Replies

6. Solaris

Creating WAN boot Server help

I have a Jumpstart server. It does not have Apache on there. I have not found a step by step guide on how to install a WAN boot server. I already have all my custom files from my Jumpstart Server and the flash as well. I just want to test it over the WAN and see if I can get it to work. I... (2 Replies)
Discussion started by: deaconf19
2 Replies

7. IP Networking

Multiple wan connection on single PC

Hi All Is it possible to be connected to a corporate lan/wan through the on-baord nic, and also be connected to mobile wan through a tethered smartphone? Ideally I'd like to be able to use my own smartphone using a browser like chrome (private browsing) while still being able to use the... (3 Replies)
Discussion started by: huskie69
3 Replies

8. IP Networking

2 WAN connections on 1 switch/network

I want to know potential problems with the following scenario OR if it is an ok way to have my network setup: I have 2 WAN connections to the internet. I have each WAN connection plugged into its own router. Router DD-WRT is gateway for servers ( Router Tomato is gateway for pc's... (1 Reply)
Discussion started by: herot
1 Replies

9. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
samba_selinux(8)					Samba Selinux Policy documentation					  samba_selinux(8)

samba_selinux - Security Enhanced Linux Policy for Samba DESCRIPTION
Security-Enhanced Linux secures the Samba server via flexible mandatory access control. FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If you want to share files other than home directories, those files must be labeled samba_share_t. So if you created a special directory /var/eng, you would need to label the directory with the chcon tool. chcon -t samba_share_t /var/eng To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration: semanage fcontext -a -t samba_share_t "/var/eng(/.*)?" This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local: /var/eng(/.*)? system_u:object_r:samba_share_t:s0 Run the restorecon command to apply the changes: restorecon -R -v /var/eng/ SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub- lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub- lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for samba you would execute: setsebool -P allow_smbd_anon_write=1 BOOLEANS
SELinux policy is customizable based on least access required. So by default SELinux policy turns off SELinux sharing of home directories and the use of Samba shares from a remote machine as a home directory. If you are setting up this machine as a Samba server and wish to share the home directories, you need to set the samba_enable_home_dirs boolean. setsebool -P samba_enable_home_dirs 1 If you want to use a remote Samba server for the home directories on this machine, you must set the use_samba_home_dirs boolean. setsebool -P use_samba_home_dirs 1 system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was written by Dan Walsh <>. SEE ALSO
selinux(8), samba(7), chcon(1), setsebool(8), semanage(8) 17 Jan 2005 samba_selinux(8)

Featured Tech Videos

All times are GMT -4. The time now is 12:19 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy