#1  
Old 3rd September 2012, 01:55
alphaman36 alphaman36 is offline
Member
 
Join Date: Aug 2012
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
Default Still HTTPS

After getting my firewall configured correcly, my Wordpress web site (no ssl is enabled) the site will only respond to traffic on ssl
Reply With Quote
Sponsored Links
  #2  
Old 3rd September 2012, 09:13
TiTex TiTex is offline
Senior Member
 
Join Date: Aug 2011
Location: Cluj-Napoca,Romania
Posts: 125
Thanks: 0
Thanked 17 Times in 17 Posts
Send a message via Skype™ to TiTex
Default

you should provide more informations
like what linux distribution are you using , your network setup , if you're using virtual hosts on your webserver
Reply With Quote
  #3  
Old 3rd September 2012, 23:55
alphaman36 alphaman36 is offline
Member
 
Join Date: Aug 2012
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
Default Https

Quote:
Originally Posted by TiTex View Post
you should provide more informations
like what linux distribution are you using , your network setup , if you're using virtual hosts on your webserver

Sorry about that. I am Ubuntu 12.04. Everything is virtual. The network setup is 192.168.1.0/26. I open the firewall and NAT rules to permit traffic. I open the rule for https and I see the entire conversation (passing the dnat rule, then the firewall inbound rule) I change the rule to http I see it pass the dnat rule but never returns anything back on the packet filter rule
Reply With Quote
  #4  
Old 4th September 2012, 21:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

What are the outputs of
Code:
iptables -L
and
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th September 2012, 01:13
alphaman36 alphaman36 is offline
Member
 
Join Date: Aug 2012
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
What are the outputs of
Code:
iptables -L
and
Code:
netstat -tap
?
I added the nestat -tap from the firewall. Output is attached. I am guessing that's where the command was to be executed due to the iptables command you wanted executed. I got an error when I ran the iptables -L came back as an invalid command. I am using Astaro as the firewall. The one funny thing I did notice is when the inbound rule is enabled, when the ISP Config web server makes an http request (apt get I am guessing) that http request gets blocked even though the very first rule I have in my firewall is permit all outbounf http requests. As a side note, I see it getting processed by the DNAT rule, but not by the inbound rule, unless it's https then it will pass
Attached Files
File Type: txt netstat -tap.txt (4.9 KB, 40 views)

Last edited by alphaman36; 5th September 2012 at 01:18.
Reply With Quote
  #6  
Old 5th September 2012, 01:48
alphaman36 alphaman36 is offline
Member
 
Join Date: Aug 2012
Posts: 36
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

I also attached the two commands output from the web server itself. The attachment is labeled atlas - netstat and atlas iptables.

Again thank you for the help, but the problem turned out to be a really weird one. I run a transparent proxy for my internal network and for some reason it was also applying it to the WAN interface. Once I worked around that problem, I was able to successfully get to the web site from the outside. Thank you again for the help with this problem
Attached Files
File Type: txt atlas - iptables.txt (724 Bytes, 42 views)
File Type: txt atlas - netstat.txt (1.8 KB, 44 views)

Last edited by alphaman36; 5th September 2012 at 03:20.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
haproxy with stunnel problem abubin Server Operation 6 10th April 2012 15:08
400 Bad Request when https is used Overcrook Installation/Configuration 7 5th October 2011 02:02
3 Question SSL cert, https redirect, WebFtp, serkejal Installation/Configuration 8 19th April 2011 19:10
squid and https passthrough Xitron Installation/Configuration 0 5th November 2009 18:40


All times are GMT +2. The time now is 05:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.