Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: LAN clients get connection denied by Apache

  1. #11

    Re:LAN clients get connection denied by Apache

    [quote author=vvx link=board=4;threadid=8072;start=0#msg73528 date=1068236595]
    [quote author=Master Copy link=board=4;threadid=8072;start=0#msg73463 date=1068102856]
    So you can't get to the server at all from outside? Is that what you are saying? I'm sorry for all the questions, just throwing some stuff out that might shed some light on both of us.

    From what I've collected, you can access from the internal private network. correct?

    Please excuse my rusty iptable knowledge. Doesn't the "! --syn" disallow a syn flag? Have you tried passing SYN and ACK to that port from $EXTERNAL to the server?

    Just some last minute ideas. I'll read it more carefully tomorrow when I'm awake. ;D

    [/quote]

    Yeah, that was confusing me, "LAN clients" I would take to mean the internal network but if that can connect okay even when firewall is running it's gotta be the external stuff he's having probs with?
    [/quote]

    Yes, as of this moment the remaining problem was for the external clients or those who are in the Internet.

    I was able to resolve the problem for my LAN by applying the above mentioned additional firewall rule in my scripts.

    thanks

  2. #12

    Re:LAN clients get connection denied by Apache

    I should stay half awake more often. :P

  3. #13

    Re:LAN clients get connection denied by Apache

    Why is that this rule does not provide my Internet clients to access our site? My friends are using the same without a problem?

    Any comment?

    # ------------------------------------------------------------------
    # HTTP client (80)
    # ------------------------------------------------------------------

    iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp ! --syn \
    --source-port 80 \
    -d $IPADDR --destination-port $UNPRIVPORTS -j ACCEPT

    iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp \
    -s $IPADDR --source-port $UNPRIVPORTS \
    --destination-port 80 -j ACCEPT

  4. #14

    Re:LAN clients get connection denied by Apache

    You need the SYN flag to make a syncronization with the server, or any service for that matter. Your friends might not have it set on the interface it's coming in on. I'll try to think of some other reason it would have worked, but I'm not half asleep yet. :

  5. #15

    Re:LAN clients get connection denied by Apache

    [quote author=Master Copy link=board=4;threadid=8072;start=0#msg73682 date=1068533607]
    You need the SYN flag to make a syncronization with the server, or any service for that matter. Your friends might not have it set on the interface it's coming in on. I'll try to think of some other reason it would have worked, but I'm not half asleep yet. :
    [/quote]

    I shall wait for you then : )

Similar Threads

  1. is apache in fedora core3??!!
    By khafanus in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 02-24-2005, 03:49 PM
  2. Internet Connection Sharing
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-30-2005, 12:46 AM
  3. How to Setup Internet Connection Sharing on
    By The Donald in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 10:35 PM
  4. configure Internet Connection Sharing in XP
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 07:29 AM
  5. apache server with SSL connection
    By erictcy in forum Linux - General Topics
    Replies: 0
    Last Post: 10-21-2004, 02:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •