Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with windows printing and networking behind firewall...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Iron_DragonLord
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 273

PostPosted: Sat Dec 04, 2004 1:10 am    Post subject: Help with windows printing and networking behind firewall... Reply with quote

Okay, my network is a bit odd.

Here's how it goes, my family all uses windows XP, and me and my server are on Gentoo. my server is acting as a gateway to the main network, so I'm in a sub-sub like network.

Here is a poorely drawn diagram I made:

http://idl.kicks-ass.net:81/images/my_network.gif

I got IPTABLES set up on my server (so I can use the internet of course), and the server is set as DMZ host from the WRT54G router, since LinkSys only gives me 10 port forwards, this way I get 65535.

Anyway, I'm wondering four things:

1) I need to print stuff, but the printer is connted to PC 1, which uses Windows XP. I've not a clue how to set this up, especially through the server.

2) I'd like to read the shares of my families PC, and possibly write, too, but that's not as important. I'd prefer the sharing to be one way, I don't want them to touch me.

3) I'd like to mount some areas from the server to this PC, so I can edit my website either without needing to use FTP or anything. I don't know how to do that either. I'm willing to read guides though.

4) I want to set up the router to not respond at all and drop any packets to closed ports. I used the Router-HOWTO guide (http://www.gentoo.org/doc/en/home-router-howto.xml) and tried changing the DROP part for 0:1023 to 0:65535, but that even dropped incomming packets I was supposed to receive, so that didn't work very well.

Thanks.
Back to top
View user's profile Send private message
mcdermr
n00b
n00b


Joined: 14 May 2004
Posts: 11
Location: Chicago, IL

PostPosted: Sat Dec 04, 2004 5:48 am    Post subject: Reply with quote

1. I've not tried to print to a Windows machine before. I do know that Cups is capable of sending the stuff to a Windows shared printer. I think you need Samba installed and configured. I don't have any Windows computers at work that have a local printer; they are all networked printers, so I can't readily test it.

2. Use Samba. I can read the shared folders on the windows boxes and I have set up a share on my laptop(running Gentoo) that i can access from any Windows box on the network. I use KDE which makes it VERY easy to view samba shares. There is a "LAN Browser" in the side bar of the file browser. Once set up with Samba, it is easier to use than the Windows Netowrk Neighborhood crap. Just make sure that your Gentoo box is on the same network as the windows machines (i.e. They all are 192.168.1.xx)

3. The internal webserver that I run at work (also runs Gentoo) has ssh on it and KDE has a simple way to use the filesystem as if it was mouted on my laptop. Simply type:
Code:
sftp://user@host:/path/to/desired/directory
into the Location box in a file browser. It will ask for a username and password and you now have a GUI to a previously commandline only interface!!! You can drag and drop files to send or recieve. You can actually just open up KATE (a text editor) and type in the above address and include the filename as well in the "Open File" dialog box and BAM! you can edit it. It has made my life SO MUCH EASIER in that respect. I've created a link to the htdocs directory onto my desktop and it is transparent, except for the login. Just be sure that the user you login as has the proper permissions and you will be fine.

(KDE has 75-100+ different protocols that you can type into a Location bar and work. fish:// is another that you can use if you have ssh and perl installed on the server. That's what I use to borwse my wife's eMac. You don't have to set up any shares on the host as you are logging in via ssh and KDE is doing all the work to make it transparent.)

4. I use Smoothwall for my firewall, so I'm not much help there.


Hope this helps.
Back to top
View user's profile Send private message
Iron_DragonLord
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 273

PostPosted: Sat Dec 04, 2004 6:15 am    Post subject: Reply with quote

Wow, the sftp:// thing works awesomely. Thanks! It will help a lot.

So that checks that off the list.

Quote:
(i.e. They all are 192.168.1.xx)
That's the problem... The main LAN is 192.168.1.XXX, but my sub-LAN through my server is 192.168.0.XXX. I could change it, but that sounds like a bad idea.

Plus, anything I do has to go through my server, so, even if I get Samba working on this PC, I'm not sure how I'd get it through my server...

I'm going to try some thing out though, it appears there's thsi LiSA thing under my KDE control panel where I can specify the range of IPs. Maybe if I input 192.168.1.XXX I can get this to work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum