Re: DMZ, loopback web access and dnsmasq problems
Posted: Sat Dec 24, 2011 6:28 am
I just tried telnet on port 23 and it refused the connection. This was the expected result
A forum to discuss the Gargoyle web interface for Openwrt
https://www.gargoyle-router.com/phpbb/
Code: Select all
uname -a
Linux berlin 2.6.32.27 #15 Thu Dec 22 17:43:50 NZDT 2011 mips GNU/Linux
From GUI window:
Gargoyle Version:1.5.X (Built 20111222-0422 git@98f1300)
Device Configuration:Gateway
Memory Usage:13.3MB / 28.8MB (46.4%)
Connections:18/4096
I'm trying only to know if it's possible to connect. To check if port 80 is available/workin. No other reason. I'm trying to do it from router itself.ispyisail wrote:I'm still a little confused
Why are you trying to telnet on port 80 to your web server on your notebook?
Which device are you trying to connect from?
Code: Select all
~# telnet www.gargoyle-router.com 80
HEAD / HTTP/1.0
HTTP/1.1 301 Moved Permanently
Server: '; DROP TABLE servertypes; --
Date: Sat, 24 Dec 2011 11:30:16 GMT
Content-Type: text/html
Connection: close
X-Powered-By: PHP/5.3.2
Location: http://www.gargoyle-router.com/
Set-Cookie: phpbb3_iktzz_u=1; expires=Sun, 23-Dec-2012 11:30:16 GMT; path=/; domain=.gargoyle-router.com; HttpOnly
Set-Cookie: phpbb3_iktzz_k=; expires=Sun, 23-Dec-2012 11:30:16 GMT; path=/; domain=.gargoyle-router.com; HttpOnly
Set-Cookie: phpbb3_iktzz_sid=3bdb5ba94b3281a5850d73069e38f645; expires=Sun, 23-Dec-2012 11:30:16 GMT; path=/; domain=.gargoyle-router.com; HttpOnly
Connection closed by foreign host
Code: Select all
Dec 24 22:03:37 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:03:37 berlin daemon.err miniupnpd[1731]: Failed to get IP for interface eth0.2
Dec 24 22:07:11 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:11 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:11 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:11 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:11 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:11 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:15 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:15 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:17 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:17 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:53 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:07:53 berlin daemon.err miniupnpd[1731]: Failed to get IP for interface eth0.2
Dec 24 22:16:25 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:16:25 berlin daemon.err miniupnpd[1731]: Failed to get IP for interface eth0.2
Dec 24 22:17:49 berlin user.err kernel: ath: Failed to stop TX DMA, queues=0x004!
Dec 24 22:21:01 berlin cron.err crond[3335]: USER root pid 9432 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Dec 24 22:46:25 berlin daemon.err miniupnpd[1731]: ioctl(s, SIOCGIFADDR, ...): Cannot assign requested address
Dec 24 22:46:25 berlin daemon.err miniupnpd[1731]: Failed to get IP for interface eth0.2
Dec 24 22:48:01 berlin user.err kernel: ath: Failed to stop TX DMA, queues=0x004!
Hello mix, thank You for replymix wrote:DMZ, loopback, and non standard web ports. It doesn't surprise me one bit this isn't working the way you think it should. The reality is, you need to view the iptables rules you have created by enabling these options if you want to figure this out. In fact, you ultimately may need to just create your own iptables rules to accomplish what you are trying to do, and negate from using the web interface entirely.
Thanks for the feed backSome new informations about the problem:
I have a lot of problems on the network last day (my family came for christmas and new computers connected by wifi). By default when i setup WPA-PSK it use TKIP, and there was problem because it disconnected some computers many times every few seconds, so most of the time some computer were try to connect instead of working. So today i changed it to WPA2-PSK (it use AES this time, both case i didn;t have possibility to change what i want by GUI), and no problem with deauth of wireless computer, but dnsmasq error came back. What is more funny, DMZ started to work (so i can access website on my laptop from anywhere in the world). But loopback connection (my external IP inside web browser address) on my laptop still do not work.
It must be remembered that this is an open source project made by volunteers. I would suggest that if you have the skills the polite thing to do would to be have a deeper look at this yourself and hopefully find a fix that could be pushed out.I do not know why You things such simple operations may need to be done by hand. Those are fundamental, almost basic functions of any kind of wifi router.
Code: Select all
daemon.warn dnsmasq-dhcp[4287]: DHCP packet received on eth0.2 which has no address
So i checked the /etc/config/dhcp. I found there:config 'interface' 'wan'
option 'ifname' 'eth0.2' - interface where dnsmasq trying to do something???
option 'proto' 'pppoe'
option 'username' 'xxx'
option 'password' 'xxx'
option 'keepalive' '3 5'
Code: Select all
config 'dhcp' 'wan'
option 'interface' 'wan'
option 'ignore' '1'
Code: Select all
config 'dnsmasq'
list 'notinterface' 'eth0.2'
...