Author Topic: [SOLVED] Can't access internal server on different IP range with port 8080  (Read 2317 times)

vgdynamic

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
First off, I have to say I'm not exactly an expert in all things networking/firewall, so I apologize because this is probably a simple solution that's staring me in the face but I'm refusing to see it.

The setup:

Zentyal - v2.2.7 - Installed on a PC and Configured as a Gateway
 - eth1 (WAN - DHCP)
 - eth2 (LAN - Static - 20.20.10.X - VOIP)
 - eth3 (LAN - Static - 20.20.1.X - Workstations)
 - eth4 (LAN - Static - 20.20.20.X - Zoneminder)

Code: [Select]
dpkg -l | grep "zentyal-"
ii  zentyal-antivirus                    2.2.1                                 Zentyal - Antivirus
ii  zentyal-ca                           2.2.2                                 Zentyal - Certification Authority
ii  zentyal-common                       2.2.3                                 Zentyal - Common Library
ii  zentyal-core                         2.2.7                                 Zentyal - Core
ii  zentyal-dhcp                         2.2.1                                 Zentyal - DHCP Service
ii  zentyal-dns                          2.2.1                                 Zentyal - DNS Service
ii  zentyal-ebackup                      2.2.4                                 Zentyal - Backup
ii  zentyal-firewall                     2.2                                   Zentyal - Firewall
ii  zentyal-gateway                      2.2                                   Zentyal - Gateway Suite
ii  zentyal-ids                          2.2.2                                 Zentyal - Intrusion Detection System
ii  zentyal-l7-protocols                 2.2                                   Zentyal - Layer-7 Filter
ii  zentyal-monitor                      2.2.3                                 Zentyal - Monitor
ii  zentyal-network                      2.2.6                                 Zentyal - Network Configuration
ii  zentyal-objects                      2.2                                   Zentyal - Network Objects
ii  zentyal-openvpn                      2.2.1                                 Zentyal - VPN Service
ii  zentyal-remoteservices               2.2.5                                 Zentyal - Cloud Client
ii  zentyal-security                     2.2                                   Zentyal - UTM Suite
ii  zentyal-services                     2.2                                   Zentyal - Network Services
ii  zentyal-software                     2.2.4                                 Zentyal - Software Management
ii  zentyal-squid                        2.2.5                                 Zentyal - HTTP Proxy (Cache and Filter)
ii  zentyal-trafficshaping               2.2                                   Zentyal - Traffic Shaping
ii  zentyal-users                        2.2.5                                 Zentyal - Users and Groups

The problem:
I'm trying to access the Administration portal on our VOIP server over port 8080, but the firewall is dropping the request. The user portal uses port 80 and I can access it just fine. So, from 20.20.1.X to 20.20.10.50:80 works while same computer to 20.20.10.50:8080 does not.

What I have tried:
I have added 8080 to the HTTP service. I have set up a packet filter rule to allow any/any/any for internal networks (out of desperation I even added an any/any/any to ALL subsections of the packet filter). I have set up a port forwarding rule:

Interface: Tried all 4
Original Destination: Tried "Zentyal" and 20.20.10.50
Original Destination Port: 8080
Source: Any
Destination IP: 20.20.10.50
Port: Same
Replace Source Address: Tried On and Off

After everything I try I always get this in my firewall log:

DateInput interfaceOutput interfaceSourceDestinationProtocolSource portDestination portDecision
2012-04-04 11:34:25eth3 eth220.20.1.420.20.10.50TCP369908080DROP
               


                        
and Chrome shows me this:

This webpage is not available
The connection to 20.20.10.50 was interrupted.

I don't have much hair left, so please tell me what I'm doing wrong before I pull out the rest of it!

Thanks in advance for the help.
« Last Edit: April 04, 2012, 08:57:26 pm by vgdynamic »

Marcus

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 395
  • Karma: +12/-0
    • View Profile
    • Professional IT Service
Re: Can't access internal server on different IP range with port 8080
« Reply #1 on: April 04, 2012, 07:58:43 pm »
Hello vgdynamic,

A working configuration regarding your port frowarding would be:
Original Destination: "Zentyal"
Original Destination Port: 8080
Source: Any
Destination IP: 20.20.10.50
Port: Same

Save and point your browser to http://your zentyal ip:8080

If packets are still dropping, double check your firewall configuation.

You may also try configuring it using a different port (just for testing purpose).

Best,

Marcus

vgdynamic

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Can't access internal server on different IP range with port 8080
« Reply #2 on: April 04, 2012, 08:57:11 pm »
Bah, thank you Marcus. I knew I was doing something stupid. I was creating the port forward, but then trying to use the server's IP instead of using Zentyal's and allowing it to actually use the forward. Thanks again!