[StAndrews and Fife LUG] Linux and windows

brian.duncan@fife.co.uk standrews at mailman.lug.org.uk
Sun Jun 8 00:42:04 2003


I did a 'shorewall status'=20

udp      17 22 src=3D192.168.1.252 dst=3D192.168.1.255 sport=3D137 dport=3D=
137 [UNREPLIED] src=3D192.168.1.255 dst=3D192.168.1.252 sport=3D137 dport=
=3D137 use=3D1

and it shows the dst as 192.168.1.255
which is strange as that is not the correct destination.

Brian


On Saturday 07 Jun 2003 23:38, brian.duncan@fife.co.uk wrote:
> Hi David, thanks.
> see below
>
> On Saturday 07 Jun 2003 23:00, David Tillotson wrote:
> > In message <200306071450.59534."brian.duncan@fife.co.uk"@?>,
> > "brian.duncan@fife.co.uk" <?@?.?.invalid> writes
> >
> > >My WinXP system kind of died (i.e. trhe networking side of it just
> > >seemed to not want to communicate) so now I've set up a Win98 PC fro=
m
> >
> > If you're using an Intel NIC, you'll have to re-install the drivers
> > after a Windows Update(tm) - This bit me at work when one of the PCs
> > stopped seeing the network for ~20 minutes at a time!
>
> its a Relatek interface card.
>
> > >bits and pieces I had around.  now I can't get access to internet an=
d
> > >I'm sure its to do with the firwall (shorewall).  I've tried switchi=
ng
> > >all off but to no avail by playing with different rules . I did a fl=
ush
> > >and then tried to set up a rule to allow all.
> >
> > A flush and reload of rules /should/ rule out the firewall chains bei=
ng
> > responsible (unless the masqing is seriously fscked!)
>
> the last time I had a problem the note I have in my notebook is:
> "iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE"
>
> I thought that this was the solution but I tried that and it did not ma=
ke a
> difference I don't recall how I managed to get this
>
> > >the Win98 PC can use samba to view the folders on the linux box so I
> > >know the network is functioning.
> > >
> > >I'm looking for some advice to set up the firewall to allow the Win =
PC
> > >192.168.1.252 to get access to the internet. I also did try Internet
> > >Connection Sharing wizard in MDK Control panel but it doesn't make a=
ny
> > >difference. anybody any suggestions (ip_forward is set to1 )
> >
> > As a quick test of whether it's a Windows problem, try booting a Knop=
pix
> > CD. If that can get out (with the appropriate config), the error is
> > definitely in Windows, and not the firewall. If not, then check all t=
he
> > settings on the firewall ("iptables -L" should list all your currentl=
y
> > active chains. I would suggest running iptraf or ethereal, but analys=
ing
> > the output requires slightly more magic than SCSI termination IME :)
>
> Knoppix ??   - guess I'd better get onto Google :o)
>
> > If you're using DHCP, check that the daemon is feeding the correct
> > default gateway to the clients. If you're using static IPs, check tha=
t
> > you have the gateway set to the right IP (same issue as for DHCP.)
> > This used to be a favourite of mine when returning from holiday - som=
e
> > prat would have set up a new (or re-installed) PC using documentation
> > that was >3 years out of date, resulting in using the accountants lap=
top
> > as the default gateway (the old IP selections were totally bizarre.
> > Until I fixed them we had 192.168.2.[4,9,15,45,105,176,192,201,202,20=
3]
> > with 15 as the gateway!)
>
> I think the gateway address is correct
>
>
> /*************************************************************\
>
> | StAndrews and Fife Linux User Group                         |
> |  * LUG Master - master@standrews.lug.org                    |
> |  * MailingList Manager - standrews-admin@mailman.lug.org.uk |
> |  * IRC Operator - irc@standrews.lug.org                     |
>
> \*************************************************************/