[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipchains, one step farther



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well it was a typo, but in the email.

my current setup is as follows:

server:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian
installation
auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255

client:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian
installation
auto eth0
iface eth0 inet static
        address 192.168.0.100
        network 192.168.0.0
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

and the server scheme is like this:

cable modem
|
router  (provides 192.168.123.x)
|
server eth0 (ip from DHCP: 192.168.123.196)
server eth1 (provides 192.168.0.x)
|
client (ip static 192.168.0.100)

i cannot get the client to connect to anything farther than the server.
any/more help would be appreciated

Jule

ps. my ipchain rules are (gathered from the previous emails)

- -P forward DENY
- -A forward -i eth0 -j MASQ

On Tuesday 17 June 2003 21:56, Andrei D. Caraman wrote:
> On Tue, Jun 17, 2003 at 06:49:37PM -0400, Jule Slootbeek wrote:
> > Well,
> > thanks to all your help i managed to get my client to ping the server's
> > external ip address. But when i open konqueror i cannot open any
> > webpages.
> >
> > What i did was i setup the client /etc/network/interfaces to go static.
> > with
> >
> > address 192.168.0.101
> > gateway 192.168.0.1
> > netmask 255.255.255.0
> > network 192.168.0.0
> > broadcast 192.168.0.254
>
>             ^^^^^^^^^^^^^  this is not a correct broadcast
>                            address.  you want 192.168.0.255.
>
> it may be a typo, agreed, but it might be the cause of your
> trouble.
>
>
>
> adc

- --
Jule Slootbeek
jslootbeek@clarku.edu
617 901 6958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+79DmQkskRvXpytsRAtpxAKCR8VXKkbghFpOec0QC7X8l0BkT2gCgn6yZ
u1XlsVrgjR4vuVoTFzo0WSA=
=BcyG
-----END PGP SIGNATURE-----



Reply to: