|
Subject: |
update on CIP win tunnel |
|
From: |
Nick <daye149,AT,pacbell,DOT,net> |
|
Date: |
Tue, 27 Mar 2001 09:23:52 +0200 |
Does it matter if:
me 63.xxx.xxx.2:9999
peer 64.xxx.xxx.1:9999
or should I make them a different port??
I set up a winNT Win Server on one side
and samba's version of wins server on the other.
I am now able to ping using netbios names. The NT wins seems to even give a
verbal response stating it was successful after each resolution.
I was then able to get the following:
when trying: smbclient -L adr_nt (remote NT 4.0 server)
Host A:
prot expire source destination ports
TCP 00:08.26 adr_nt 192.168.253.2 netbios-ssn (62724)
-> 63812
Host B:
TCP 01:59.95 192.168.0.100 ADR_NT 1087 (63820) ->
netbios-ssn
I think I may need to add adr_nt to multiple networks ie not only 192.168.1.0
but 192.168.0.0 as well-------------------
It looks as though the packet request comes from 192.168.0.100 goes through
the tunnel, hits adr_nt and then bounces on 192.168.253.2.........which
should then send it back through the tunnel. But what happens to the packet?
I get the Connection to <host> failed message----------------------
Can linux be a win bridge? or what are the common solutions for this setup?
In ase you haven't caught on, I want to setup a VPN so that all computers
appear in the network neigborhood and can share drives, which is really what
I am after.
I want to be able to do: net view /domain or net view \\computer, which is
the equivalent to smbclient -L host
And them mount a drive as though i am connected to the LAN
Has anyone done something like this before? Doesn't seem possible as I sit
here and ponder on the idea. Tried most of the basic steps.................I
may need some CISCO help!
Here is my setup:
Host A:
cipcb0 Link encap:IPIP Tunnel HWaddr
inet addr:192.168.254.1 P-t-P:192.168.253.2 Mask:255.255.255.255
Destination Gateway Genmask Flags Metric Ref Use Iface
255.255.255.255 * 255.255.255.255 UH 0 0 0 eth1
192.168.253.2 * 255.255.255.255 UH 0 0 0 cipcb0
localnet * 255.255.255.248 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
192.168.0.0 192.168.253.2 255.255.255.0 UG 1 0 0 cipcb0
default adsl-63-xxx-xx- 0.0.0.0 UG 0 0 0 eth0
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target prot opt source destination ports
MASQ all ------ 192.168.1.0/24 anywhere n/a
ACCEPT all ------ 192.168.1.0/24 192.168.0.0/24 n/a
ACCEPT all ------ 192.168.0.0/24 192.168.1.0/24 n/a
ACCEPT all ------ 192.168.0.0/16 192.168.0.0/16 n/a
Chain output (policy ACCEPT):
Host B:
cipcb0 Link encap:IPIP Tunnel HWaddr
inet addr:192.168.253.2 P-t-P:192.168.254.1 Mask:255.255.255.255
Destination Gateway Genmask Flags Metric Ref Use Iface
255.255.255.255 * 255.255.255.255 UH 0 0 0 eth1
192.168.254.1 * 255.255.255.255 UH 0 0 0 cipcb0
localnet * 255.255.255.0 U 0 0 0 eth0
centurycity 192.168.254.1 255.255.255.0 UG 1 0 0 cipcb0
insidenet * 255.255.255.0 U 0 0 0 eth1
default 64.xxx.xxx.1 0.0.0.0 UG 0 0 0 eth0
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target prot opt source destination ports
MASQ all ------ 192.168.0.0/24 anywhere n/a
ACCEPT all ------ 192.168.1.0/24 192.168.0.0/24 n/a
ACCEPT all ------ 192.168.0.0/24 192.168.0.1/24 n/a
Chain output (policy ACCEPT):
Thanks for any help!