/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


I'm trying to mount a Linux box (RH 7.0) to a windows box (WinME) through a
Linux (RH 6.1) "firewall" box. 

                    www
                     |
                     |
                   router
                     |
                     |
  7.0 Linux 1 ----- hub ----- 6.1 Linux 3
                     |
                     |
                  firewall (6.1 linux 2)
                (Samba Server)
                     |
                     |
      Windows 1 --- hub --- Windows 2

The Samba mount needs to go from 7.0 Linux 1 to Windows 1.  I think I'm having
an ipchains problem, because I can telnet from the firewall box to the WinME box
port 139, but not from the 7.0 linux 1 box to the Windows 1 (ME) box.

Here are my ipchains:

/sbin/ipchains -P forward REJECT
/sbin/ipchains -F
/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
/sbin/ipchains -A forward -s 208.42.116.28/255.255.255.248 -d 
192.168.1.11/255.255.255.248 -j ACCEPT
/sbin/ipchains -A forward -s 208.42.116.28/255.255.255.248 -d 
192.168.1.14/255.255.255.248 -j ACCEPT

/sbin/ipchains -A forward -p tcp \
    -s 208.42.116.28/255.255.255.248 137:139 \
    -d 192.168.1.14/255.255.255.248 137:139 -j ACCEPT

/sbin/ipchains -A forward -p tcp \
    -s 192.168.1.14/255.255.255.248 137:139 \
    -d 208.42.116.28/255.255.255.248 137:139 -j ACCEPT

Any help would be appreciated.

Glen

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to