Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permanent connection

Status
Not open for further replies.
Jun 11, 2003
88
US
i am running redhat 9.0 as a samba server. when i turn the firewall off i can see and access the server from my windows XP computer. once i turn the firewall back on i can still see the files, until i reboot my XP machine. so i have two questions that are related

1) how can i make the connection permanent, ie so that even if i turn off or reboot the XP machine, the connection remakes itself, even with the firewall on (i tried to map it, but it lost the mapping upon the restart)
2)is there a way to poke a hole in the firewall, so that the computers i want to access the server can, but ones i dont want cannot?

and a third unrelated one.
how easy is it to make the samba/redhat machine a ftp server?

thanks
peace
david
 
Hi,

you can use firewall rule to allow/block base on ip or network. For samba you need port 137-139.

For xp, i think you can setup auto logon to network. When you map it you can specify if you want to reconnect after reboot.

feroz
 
When you installed RH 9.0 what sort of firewall protection did you ask for? It usually gives the options "High", "Medium", or "No Firewall". You can check the firewall runs by logging on as root and typing iptables -L. However, if you are not used to iptables this won't mean a great deal to you. What is probably happening is that the firewall is not allowing some ports that you need for Netbios traffic (i.e. 139). If you want to post your iptables output I will be happy to have a look.

If you specified "High" at installation time for the firewall and don't mind reducing this to "Medium" then you can run /usr/bin/lokkit to change this level.

Lee.


Lee Mason
Optimal Projects Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top