muffycompo/radiusdesk-installer

Cannot Access Captive Portal

pamodm opened this issue · 2 comments

Hi Muffy,

I ran the installer on a proxmox container running Ubuntu 14.04. The installation was hazzle free. I could even log in to RadiusDesk. But the problem comes when I try to access the captive portal from another vm.

For Coova chilli WAN I used eth0 bridged to proxmox host vmbr0 and LAN to wlan0 bridged to host vmbr1. LAN IP provided was 192.168.2.1 . I could ping 192.168.2.1 from another VM but when I tried to connect to captive portal it doesn't connect and time out.

ifconfig shows eth0, wlan0 and tun0 up and running. I even tried disabling the firewall but no luck. What may be causing this issue.

Thanx

My netstat results.
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 192.168.2.1:4990 0.0.0.0:* LISTEN 1999/chilli tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 2271/nodejs tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1987/mysqld tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2064/nginx tcp 0 0 192.168.2.1:3990 0.0.0.0:* LISTEN 1999/chilli tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1885/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2185/master tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN 2203/pptpd tcp6 0 0 :::22 :::* LISTEN 1885/sshd tcp6 0 0 ::1:25 :::* LISTEN 2185/master udp 0 0 0.0.0.0:3799 0.0.0.0:* 1999/chilli
ifconfig
`eth0 Link encap:Ethernet HWaddr 6e:8d:04:c2:53:c0
inet addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6c8d:4ff:fec2:53c0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4105 errors:0 dropped:0 overruns:0 frame:0
TX packets:1056 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:824639 (824.6 KB) TX bytes:100476 (100.4 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:360 errors:0 dropped:0 overruns:0 frame:0
TX packets:360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:117450 (117.4 KB) TX bytes:117450 (117.4 KB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.2.1 P-t-P:192.168.2.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:1003 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:62221 (62.2 KB) TX bytes:13637 (13.6 KB)

wlan0 Link encap:Ethernet HWaddr 8e:83:25:8d:15:a5
inet6 addr: fe80::8c83:25ff:fe8d:15a5/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:4307 errors:0 dropped:0 overruns:0 frame:0
TX packets:468 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:666138 (666.1 KB) TX bytes:39415 (39.4 KB)
`

Managed to fix it by a simple reboot of the host machine. But now having a different issue. Captive portal is not displayed when connected from mobile devices.