General Discussion
  >> Fibre Broadband


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | 3 | 4 | 5 | [6] | 7 | 8 | 9 | 10 | 11 | 12 | 13 | (show all)   Print Thread
Standard User omnius
(regular) Mon 05-Nov-12 18:47:27
Print Post

Re: Huawei HG612 working as a router


[re: deleted] [link to this post]
 
In reply to a post by BatBoy:
but because the HG612 is configured as a modem, the firewall is inactive and the PC is on the internet "naked"


Ive unlocked mine but the firewall was enabled when i got it, is it safe to turn off as i have both the hh3 and pc firewalls on?

---------------------------

I live for the one, I die for the one.
Yep I really am THAT thick!

Smallworld Cable ..... 5Meg then upped to 20Meg
O2 ADSL2+ .... 13.6Meg (ish)
Sky ADSL2+ .... 3.5Meg
BT Infinity2 VDSL2 (BT est 72.1/20 HG612 max report 103.6/34.9) And BT HH3
Standard User deleted
(deleted) Mon 05-Nov-12 19:13:09
Print Post

Re: Huawei HG612 working as a router


[re: omnius] [link to this post]
 
When I turned mine off, the web interface was available on the internet. So I turned it back on.
Standard User jchamier
(knowledge is power) Mon 05-Nov-12 20:08:14
Print Post

Re: Huawei HG612 working as a router


[re: deleted] [link to this post]
 
In reply to a post by BatBoy:
When I turned mine off, the web interface was available on the internet. So I turned it back on.


But yours has an IP address; if the other poster is using HomeHub then surely the public IP is only on the homehub, so you won't be able to get to the Huawei's web interface.

That said, if the poster is using the homehub there isn't any firewall in the Huawei that is doing anything!!

James BT Infinity 2 19/09/2012 - Estimate 44.6/6.5 - Install 52/12 - Actual 46 / 8 Mbps
13 years of broadband - 1999 ntl:(512k/1M)/BTbusiness(2M)/Metronet(2M)/Bulldog(8M/16M)/BE(19M/16M)/BT FTTC(46M)


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Mon 05-Nov-12 20:18:11
Print Post

Re: Huawei HG612 working as a router


[re: omnius] [link to this post]
 
It's not very safe to disable the firewall. frown The HG612 firewall is best left up at all times (preferably with the "standard" ruleset, or better).

Otherwise rogues can log-in remotely via the embedded web server or via the telnetd interface to do all sorts of nasties. They could, e.g., install tcpdump on your router, and intercept all your traffic, perhaps even steal your entire p0rn stash! frown

The firewall on the HG612 is a standard Linux stateful packet inspection firewall. It comes in two parts, the netfilter kernel modules, and the userspace tool iptables.

While logged in to the Huawei via a telnet shell, it's possible to list all the rules in the current firewall chains using iptables. As a firewall, the barest safeguard is to drop incoming packets to 22/tcp, 23/tcp and 80/tcp.

Text
1
23
45
67
89
1011
1213
1415
# iptables -L -n
...Chain INPUT_SERVICE_ACL (1 references)
target prot opt source    destination         ACCEPT all  --  0.0.0.0/0  0.0.0.0/0  state RELATED,ESTABLISHED 
ACCEPT all  --  0.0.0.0/0  0.0.0.0/0           ACCEPT tcp  --  0.0.0.0/0  0.0.0.0/0  tcp dpt:23 
ACCEPT tcp  --  0.0.0.0/0  0.0.0.0/0  tcp dpt:80 ACCEPT tcp  --  0.0.0.0/0  0.0.0.0/0  tcp dpt:80 
ACCEPT icmp --  0.0.0.0/0  0.0.0.0/0           ACCEPT tcp  --  0.0.0.0/0  0.0.0.0/0  tcp dpt:8081 
ACCEPT tcp  --  0.0.0.0/0  0.0.0.0/0  tcp dpt:23 DROP   tcp  --  0.0.0.0/0  0.0.0.0/0  multiport dports 21,80,22,23,8081   <---- 
DROP   icmp --  0.0.0.0/0  0.0.0.0/0           ...



With the firewall disabled this is how the HG612 appears to an intruder*:

HG612 - Firewall Disabled (several critical network services open to every Tom, Dick and Harriet).

With the firewall enabled (with "standard" ruleset), this is how the HG612 appears to an intruder*:

HG612 - Firewall Enabled (sshd, telnetd, httpd all closed and stealthed by a DROP rule)

End-user security is probably a (valid) reason that Beatie locked down the GUI for the HG612.

cheers, a

* These are only network scans of common ports. Not shown in the grc.com scan, but nevertheless running by default is Beatie's remote management daemon, btagent which listens on 161/udp and 161/tcp. There are a couple other network services, too.

For the professional paranoiac, the netstat tool will list every network daemon running on the Huawei.

Edited by deleted (Mon 05-Nov-12 23:35:47)

Standard User deleted
(deleted) Mon 05-Nov-12 20:29:38
Print Post

Re: Huawei HG612 working as a router


[re: jchamier] [link to this post]
 
In reply to a post by jchamier:
In reply to a post by BatBoy:
When I turned mine off, the web interface was available on the internet. So I turned it back on.
But yours has an IP address; if the other poster is using HomeHub then surely the public IP is only on the homehub, so you won't be able to get to the Huawei's web interface.
That said, if the poster is using the homehub there isn't any firewall in the Huawei that is doing anything!!
You're right...

It depends on how the HG612 is configured. If the Huawei HG612 is left running as an ethernet bridge, just as Beatie intended, then these network services are not visible on the WAN-side, and security is in the hands of the router (the BT Home Hub or whatever).

However, if the HG612 is configured as a modem-router (as per the thread topic) then pppd will be running on the HG612 to provide the TCP/IP layer of the stack. In that case, the Huawei's network services (telnetd, httpd, sshd, etc) will all become visible on the WAN-side and must be firewalled.

cheers, a
Standard User omnius
(regular) Mon 05-Nov-12 21:59:25
Print Post

Re: Huawei HG612 working as a router


[re: deleted] [link to this post]
 
yes it was in bridge mode and i apologise for hijacking the thread but it was close to what i wanted (well in my mind it was)

Anyways ive left the firewall on and just to be on the safe side ive changed the default password as well

Edited by omnius (Mon 05-Nov-12 22:08:54)

Standard User deleted
(deleted) Tue 06-Nov-12 08:30:05
Print Post

Re: Huawei HG612 working as a router


[re: omnius] [link to this post]
 
Be aware changing the password does not change the password for telnet access, there is I believe no (easy) way to do that, making firewall on in router mode mandatory.
Standard User xtermy
(regular) Wed 17-Apr-13 16:57:31
Print Post

Re: Huawei HG612 working as a router


[re: deleted] [link to this post]
 
Can I enable the Huawei HG612 to respond to pings? I'm using it at the moment as a modem/router and can't make my TBB Ping Monitor to work.

Plusnet Fibre Unlimited: BQM ¦ Pingtest ¦ Speedtest ¦ TBB Speedtest
Standard User xtermy
(regular) Wed 17-Apr-13 19:29:26
Print Post

Re: Huawei HG612 working as a router


[re: xtermy] [link to this post]
 
Nevermind, I just had to allow ICMP in the firewall settings smile

Plusnet Fibre Unlimited: BQM ¦ Pingtest ¦ Speedtest ¦ TBB Speedtest
Standard User deleted
(deleted) Fri 19-Apr-13 20:39:40
Print Post

Re: Huawei HG612 working as a router


[re: xtermy] [link to this post]
 
In reply to a post by xtermy:
Nevermind, I just had to allow ICMP in the firewall settings smile

Can you please share how you did this?
Pages in this thread: 1 | 2 | 3 | 4 | 5 | [6] | 7 | 8 | 9 | 10 | 11 | 12 | 13 | (show all)   Print Thread

Jump to