Routing problem?

2005-08-24 Thread Patrick Lindholm

Ok, here´s the deal

I have my Freebsd 4.10 gateway/nat/firewall on my network.

On my LAN i have couple WIN machines and a Linux Redhat machine  working ok 
to outside and other machine´s with IP 192.168.255.252   eth0


I have one software running on Redhat Machine that uses SLIP and i have 
configured sl0  with 192.168.255.252 P-t-P 192.168.0.6


The 192.168.0.6 is the IP of that Software

Ok  with these configurations i can connect from my Linuxbox locally to the 
software with 192.168.0.6


But the 192.168.0.6 Does´nt appear to be available for other computers on 
my LAN


So i checked out some manuals and used command: ARP -Ds 192.168.0.6 sl0 
pub  and 92.168.0.6 came visible to other computers on my LAN.


So now i thought that all i have to do is to put on my BSDBOX 
natd.confto redirect  all requests from 23 and 81 to 
192.168.0.6  right? and allow of course ports from Firewall  (My software 
with the SLIP has entrance via HTTP and TELNET)


Well nobody can´t still connect to my Linux software from outside?From 
my LAN it´works ok.


I tried also  adding  allow ip from any to 192.168.0.6 via ep0   and that 
worked for a while (now anybody from outside can connect to  my 
software)   It works only for couple hours and the no response?   I´cant 
understand how the allow ip from any to 192.168.0.6 can help.


Well if anyone has understood what i´m trying to do here and wants to send 
couple hints i would be glad.  :-)


Thanks for your reply.
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Zyxel Prestige ADSL

2005-08-24 Thread Patrick Lindholm

Hello i have Zyxel Prestige 623R-T1  ADSL modem

There is no NAT or other DHCP services running on the modem. Access via 
http address 192.168.1.1


When i plug it into my Windows machine everything works.


Well i want to of course use my Freebsd machine wich is my NATD / Firewall 
box  for my LAN.


I do not want to use the ADSL modem for NAT.

With another ADSL modem (it´s rental and now i want my own Zyxel to work) 
everything works ok.  My outer ethernet card get´s its IP from ISP.  But 
with zyxel no.  INET 0.0.0.0 ?When i plug Zyxel to Windows everything 
works.  I do not understand?


Thanks in advance.

Patrick


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba/two Win2K machines

2004-12-08 Thread Patrick Lindholm
Hello
I have tried to find solution to my problem for a while but have only found 
solutions to why is Samba on Freebsd between Win2k too slow. Mine wokrs 
fine between win2k and BSD box.

I have freebsd 4.10  and 10MB network. With pentium 300mhz and 128MB memory 
running samba-3.0.5  i´m not very familiar with networking :-) .  Also 2 x 
win2k sp4 machines (1800) and 80gt DMA133 drives. the problem is only when 
i try to transfer files between the win2k machines. about 100mb of stuff 
and win2k tells me that it lasts 25minutes. And it does. The hub collision 
led is most of the time on. I think this should be faster. I´dont know if 
this problem is caused by samba or freebsd at all but i can´t really find 
any info about just this kind of problem or being just stupid or something. 
Everything else works fine.

did also the TCPDUMP stuff  i´dont know if this helps
21:53:58.545956 192.168.255.254.2751  192.168.0.2.netbios-ssn: P 
3841245174:3841245227(53) ack 4235200213 win 17308 NBT Packet (DF)
21:53:58.546134 192.168.0.2.netbios-ssn  192.168.255.254.2751: P 1:54(53) 
ack 53 win 16195 NBT Packet (DF)

And so on with that ack value growing?
here is also the smb.conf file...  My friend has configured it for me long 
time ago.. i don´t know how to catch my friend anymore.

add machine script = /usr/local/scripts/smb-add-machine %u
log level = 1
socket options = TCP_NODELAY
read raw = yes
write raw = yes
oplocks = no
max xmit = 65535
dead time = 15
getwd cache = yes
netbios name = Bsdgateway
workgroup = JUHONKATU
server string = FreeBSDMylly
os level = 65
preferred master = yes
domain master = yes
local master = yes
security = user
encrypt passwords = yes
domain logons = yes
timeserver = yes
display charset = ISO8859-15
unix charset = ISO8859-15
wins support=true
wins proxy=yes
dos filetime resolution=yes
interfaces = rl0
[netlogon]
path = /samba/netlogon
read only = yes
write list = @yllapito
browseable = no
and the other things...
So i´m only hoping someone can help me with this problem...
Oh forgot to mention that i have tested the both fullduplex and half-duplex 
settings and that from WIN machines. No luck.  Thank you.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]