Click to See Complete Forum and Search --> : masq and samba


groundzero
01-03-2001, 12:04 PM
This is going to be a little complicated so pleez hang in there.
Ok here is the setup.
My ip is 10.0.0.2
My wan side of the firewall 222.222.222.222
My lan side of the firewall is 10.0.0.1
My app server ip 211.211.211.211

I have MASQ working fine can do everything. surf play quake ftp the whole nine. But here is the trick.
I telnet to my app server and need to print back to my local machine through samba that is running on my app server. If i set up my printer in samba to be 222.222.222.222:1111
can i add a rule in ipchains that will forward everything from 222.222.222.222:1111 to 10.0.0.2 ?
Or how would you all suggest setting this up.
Thanks for all of your past, present, and future help.

I also posted this under networking.



------------------
Groundzer0......
Please stop me before I format again. (Im a Serial Formater)

groundzero
01-03-2001, 03:27 PM
Anyone........anyone

------------------
Groundzer0......
Please stop me before I format again. (Im a Serial Formater)

nanode
01-03-2001, 04:05 PM
I want to clarify:

You are out on the internet someplace, telnet to your gateway/masq box. While on that box, you want to print using a printer connected to a windows box via samba.

I haven't done smbclient printing myself, but if you can print to that printer while sitting in front of the linux, telnet should be no different.

groundzero
01-03-2001, 04:39 PM
Here let me see is I can clarify
Box A is me at 10.0.0.2
Box B is my firewall at 222.222.222.222
Box C is my app/samba server at 211.211.211.211
I telnet from box A through Box B (Ip Masq Firewall) to box C print from box C back to my printer on Box A.
Box A = Win98
Box B = Linux
Box C = ScoUnix

Thanks for all your help


[This message has been edited by groundzero (edited 03 January 2001).]

groundzero
01-04-2001, 04:23 PM
anyone..........
anyone................
(bump)

------------------
Groundzer0......
Please stop me before I format again. (Im a Serial Formater)