All of lore.kernel.org
 help / color / mirror / Atom feed
* ipt -P INPUT ACCEPT problem
@ 2006-02-07  3:10 BTP
  2006-02-07  6:05 ` Rob Sterenborg
  0 siblings, 1 reply; 4+ messages in thread
From: BTP @ 2006-02-07  3:10 UTC (permalink / raw)
  To: netfilter

Hello,

This is my first time posting here and I have a problem with some basics.

I have a personal laptop running Debian sitting behind a linksys
future-shop-bought router that nicely provides me with DHCP services
at boot. My only concern at the moment is having iptables as a basic
firewall that can block/accept all incoming and outgoing packets from
my untrustworthy router.

Starting out to experiment, I wanted to block all incoming packets:

iptables -P INPUT DROP

Then, I wanted to undo my changes:

iptables -P INPUT ACCEPT

Why is it that now I can't access the internet? I can access my router
at 192.168.1.1 and my other system at 192.168.1.100 but everythign
else is just shut down. Checking my router setup turns out that it
assigned only one DHCP client, and my system is gone from its list.

Is there something about the internal workings of iptables I should
know, or is this meant for the Debian, or general Linux help mailing
list?? I attempted restarting my networking scripts but it failed on
DHCP init.

Bart


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: ipt -P INPUT ACCEPT problem
  2006-02-07  3:10 ipt -P INPUT ACCEPT problem BTP
@ 2006-02-07  6:05 ` Rob Sterenborg
  2006-02-08  3:33   ` ludi
  2006-02-10  0:32   ` BTP
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Sterenborg @ 2006-02-07  6:05 UTC (permalink / raw)
  To: netfilter

> I have a personal laptop running Debian sitting behind a linksys
> future-shop-bought router that nicely provides me with DHCP services
> at boot. My only concern at the moment is having iptables as a basic
> firewall that can block/accept all incoming and outgoing packets from
> my untrustworthy router. 
> 
> Starting out to experiment, I wanted to block all incoming packets:
> 
> iptables -P INPUT DROP
> 
> Then, I wanted to undo my changes:
> 
> iptables -P INPUT ACCEPT
> 
> Why is it that now I can't access the internet? I can access my router

We don't know. Show us the output of "iptables -nvL".

> at 192.168.1.1 and my other system at 192.168.1.100 but everythign
> else is just shut down. Checking my router setup turns out that it
> assigned only one DHCP client, and my system is gone from its list.

What does "ifconfig" say ? Maybe you have to renew your DHCP lease.
Perhaps the router doesn't accept your IP if it's not in it's list.

> Is there something about the internal workings of iptables I should
> know, or is this meant for the Debian, or general Linux help mailing
> list?? I attempted restarting my networking scripts but it failed on
> DHCP init. 

Unless you received an error when executing the commands above, there
should be no problem. Maybe it's something with the router ; there's not
too much troubleshooting information.


Gr,
Rob



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ipt -P INPUT ACCEPT problem
  2006-02-07  6:05 ` Rob Sterenborg
@ 2006-02-08  3:33   ` ludi
  2006-02-10  0:32   ` BTP
  1 sibling, 0 replies; 4+ messages in thread
From: ludi @ 2006-02-08  3:33 UTC (permalink / raw)
  To: netfilter

You should be sure whether the problem is a network-connection error.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ipt -P INPUT ACCEPT problem
  2006-02-07  6:05 ` Rob Sterenborg
  2006-02-08  3:33   ` ludi
@ 2006-02-10  0:32   ` BTP
  1 sibling, 0 replies; 4+ messages in thread
From: BTP @ 2006-02-10  0:32 UTC (permalink / raw)
  To: netfilter

I dont know what the problem was, things seem to work now without
issues. Maybe last time I might have broken something as it's likely I
set/unset since it was my first time starting to mess with iptables
with a script.

Thanks for the replies though.

Bart

> > Is there something about the internal workings of iptables I should
> > know, or is this meant for the Debian, or general Linux help mailing
> > list?? I attempted restarting my networking scripts but it failed on
> > DHCP init.
>
> Unless you received an error when executing the commands above, there
> should be no problem. Maybe it's something with the router ; there's not
> too much troubleshooting information.
>
>
> Gr,
> Rob
>
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-10  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-07  3:10 ipt -P INPUT ACCEPT problem BTP
2006-02-07  6:05 ` Rob Sterenborg
2006-02-08  3:33   ` ludi
2006-02-10  0:32   ` BTP

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.