[clug] Firewall settings on NetGear modem/router?

Felix Karpfen felixk at webone.com.au
Sun Jun 28 02:16:32 GMT 2009


On Sat, 27 Jun 2009 19:07:54 +1000, Hal Ashburner wrote:

> Felix Karpfen wrote:
>> On Sat, 27 Jun 2009 11:58:41 +1000, Neill Cox wrote:
>>
>>   
>>> Hi Felix,
>>>
>>> Unless you are trying to run actual servers on your local network (eg a web
>>> server for http and https, and a mail server for smtp, pop3 and imap) having
>>> your firewall allow outgoing traffic should be enough.
>>>     
>>
>> Thank you.
>>
>> So I am in *deep* trouble.
>>
>> The router is now alive and well - as shown by the fact that a test-page
>> from NetGear opens automatically (confirming that everything is
>> working)when I enter the configuration page. And the router log says that I
>> am connected.
>>
>> And that is it!
>>
>> I can ping and do DNS lookups from within the configuration page.
>>
>> But when I close that page, I get *nothing*
>>
>> "Pings" sent form the command-line go out and do not come back!
>>
>>   
> At times like these I really, really, really like being able to ssh into 
> my router and then interrogate it just like any other linux machine 
> because that's what it is.

I believe that the NetGear router gives that possibility.  Below is what
I got.  I hope that it tells you what you wanted.

	ROUTING tABLE

Destination		Mask			Gateway		Metric	Active
10.20.20.196		255.255.255.255		0.0.0.0		0	Yes
192.168.0.0		255.255.255.0		0.0.0.0		0	Yes
127.0.0.0		255.255.0.0		0.0.0.0		0	Yes
239.0.0.0		255.0.0.0		0.0.0.0		0	Yes
0.0.0.0			0.0.0.0			10.20.20.196	0	Yes


Router Status
  
Account Name	
Firmware Version 	V5.01.09 
  
ADSL Port 
MAC Address 	00:22:3F:51:D1:0F 
IP Address 	203.213.66.164
Network Type 	PPPoE
IP Subnet Mask 	255.255.255.255
Gateway IP Address	10.20.20.196
Domain Name Server 	203.12.160.35
203.12.160.36
  
LAN Port
MAC Address 	00:22:3F:51:D1:0E
IP Address 	192.168.0.1
DHCP 		On
IP Subnet Mask 	255.255.255.0
  
Modem 
ADSL Firmware Version	A2pB023b.d20e
Modem Status	Connected
DownStream Connection Speed	1202 kbps
UpStream Connection Speed	900 kbps
VPI	8
VCI	35
  
  
Test ping - from command-line:
==============================

[felixk@ ~]$ ping 203.12.160.35
PING 203.12.160.35 (203.12.160.35) 56(84) bytes of data.

--- 203.12.160.35 ping statistics ---
26 packets transmitted, 0 received, 100% packet loss, time 25008ms

------

Also - for good measure - the output of "dhclient eth0:


[root at carrot ~]# dhclient eth0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776 ??
sit0: unknown hardware address type 776 ??              
Listening on LPF/eth0/00:0e:a6:7a:d9:45
Sending on   LPF/eth0/00:0e:a6:7a:d9:45
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
IOCADDRT: File exists
bound to 192.168.0.2 -- renewal in 129600 seconds.
-----

I hope that this provides "grist for the mills" and thank all who are
taking an interest in my woes.

Felix Karpfen



-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)



More information about the linux mailing list