Community Forum

Resolved
0 votes
Hi everyone,

I have a ClearOS 7.1 Community server installed as Gateway. Before enabling the web proxy and the content filter I had ftp server, OpenVpn connection and a webserver perfectly running. After I enabled the web proxy on the server I, randomly, don't have access to it from outside the network, I cannot even ping it. It works for a while, but then every service stop running, I have to restart the server in order for them to work again, not even a firewall restart works. I don't know what could be causing this behavior.

Thanks for your help.
Wednesday, May 24 2017, 12:52 AM
Share this post:
Responses (5)
  • Accepted Answer

    Thursday, May 25 2017, 09:36 PM - #Permalink
    Resolved
    0 votes
    Hey Nick, I already added the iptables rule, but I'm at the office right now so I can't try accessing it. This night I'll try and tell you what I get.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 25 2017, 04:46 PM - #Permalink
    Resolved
    0 votes
    So it is not a driver problem.

    Can you try adding the following firewall rule at the command line:
    iptables -t nat -I POSTROUTING -s 10.8.0.0/24 -j MASQUERADE
    Change the IP address 10.8.0.0 if you use a different subnet for OpenVPN. If this works you may need to tweak the proxy config to also allow traffic from 10.8.0.0/24 but I don't know the proxy so don't know if it is necessary or what exact change to make.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 24 2017, 08:09 PM - #Permalink
    Resolved
    0 votes
    Hi, sorry I just get to the office, I couldn't send you the console output before.

    02:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe
    Subsystem: Hewlett-Packard Company Device 22e8
    Kernel driver in use: tg3
    Kernel modules: tg3
    02:00.1 Ethernet controller: Broadcom Limited NetXtreme BCM5720 Gigabit Ethernet PCIe
    Subsystem: Hewlett-Packard Company Device 22e8
    Kernel driver in use: tg3
    Kernel modules: tg3

    3.10.0-514.16.1.v7.x86_64

    This is what the console outputs with those commands.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 24 2017, 12:48 PM - #Permalink
    Resolved
    0 votes
    From the LAN everything continues to work normally. Is from the WAN that I lose access. The services aren't stopped, they just won't respond. The only thing that continues working is the WebServer, but I can't access the VPN, nor the Webconfig, or can't even ping to the server.
    I'm not at the office right now, so I can't send you the output, as soon as I get there I'll post it here
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 24 2017, 09:25 AM - #Permalink
    Resolved
    0 votes
    I am not fully clear on what is going wrong. When you say you enable the web proxy are you saying that lose access to the webserver randomly? If so, is that by direct access from the WAN or by LAN access through OpenVPN? When you can't ping the server, again, is that directly from the WAN or to the LAN via OpenVPN?

    What do you mean by every service stops running? Have you looked in Webconfig > System > Settings > Services and seen them stopped there or are they just not responding?

    What is the output of:
    lspci -k | grep Eth -A 3
    uname -r
    The reply is currently minimized Show
Your Reply