Dear all,
Stunnel work with all kind of other connections on both side but can't get working the NETBIOS negotiation with the net use command. send like: net use q: \10.0.0.1\name password /user:username does not work when use net use q: \10.0.0.1\name /user:username I get the question about password.At the end also will fail
Because an ISP blocked all traffic over port 139 and my friend want to attach my external LAN drive (my book live) I need to redirect ports including the netbios protocol.
I want:
from a local loopback network adapter with IP address 10.0.0.1 port 139 to an external adddres port 1000
This is the configuration on the site where the my book live is connected:
client = yes [MyBook] accept = 10.56.10.100:1000 (is my local address) connect = 10.56.10.10:139 (address of the my book live device)
On the other side is the coinfiguration:
client = yes [MyBook] accept = 10.0.0.1:139 (loopback addapter address) connect = remote address:1000 (external address)
What can I do more to let it work?
Greetings,
Ronald
On Mon, 17 Oct 2011 17:32:40 +0800 Ronald RiemVis ronald.riemvis@gmail.com wrote:
from a local loopback network adapter with IP address 10.0.0.1 port 139 to an external adddres port 1000
This is the configuration on the site where the my book live is connected:
client = yes [MyBook] accept = 10.56.10.100:1000 (is my local address) connect = 10.56.10.10:139 (address of the my book live device)
On the other side is the coinfiguration:
client = yes [MyBook] accept = 10.0.0.1:139 (loopback addapter address) connect = remote address:1000 (external address)
What can I do more to let it work?
First, don't use privileged ports (<1024) as many ISPs block them as well, then use these ports: 137 (netbios-ns: NETBIOS Name Sce) => UDP 138 (netbios-dgm: NETBIOS Datagram Sce) => UDP 139 (netbios-ssn: NETBIOS session Sce) => TCP 445 (microsoft-ds: M$ Naked CIFS) => TCP
Although, services needing multiple ports communications and multiple protocols are usually easier to tunnel via a VPN (OpenVPN does it very well and is easy to configure [use the bridged mode, NOT the routed one]).